2022-05-22 20:00:37 +00:00
---
title: Properties
---
2022-11-02 12:01:20 +00:00
The property list shortcode creates a custom HTML description list that can be used to display properties or variables and general dependent information. The shortcode requires a data file in `data/properties/` , e.g. `data/properties/demo.yaml` .
## Usage
2022-05-22 20:00:37 +00:00
<!-- prettier - ignore - start -->
```tpl
2022-11-02 12:01:20 +00:00
{{< /* propertylist name=demo (sort=name) (order=[asc|desc]) */>}}
2022-05-22 20:00:37 +00:00
```
<!-- prettier - ignore - end -->
The supported attributes can be taken from the following example:
<!-- prettier - ignore - start -->
<!-- spellchecker - disable -->
{{< include file = "/data/properties/demo.yaml" language = "Yaml" options = "linenos=table" > }}
<!-- spellchecker - enable -->
<!-- prettier - ignore - end -->
2023-10-27 19:38:23 +00:00
### Attributes
<!-- prettier - ignore - start -->
<!-- spellchecker - disable -->
{{< propertylist name = shortcode-buttons sort = name order = asc > }}
<!-- spellchecker - enable -->
<!-- prettier - ignore - end -->
2022-05-22 20:00:37 +00:00
## Example
2022-11-02 12:01:20 +00:00
<!-- prettier - ignore - start -->
<!-- spellchecker - disable -->
{{< propertylist name = demo sort = name order = asc > }}
<!-- spellchecker - enable -->
<!-- prettier - ignore - end -->