rougail-output-doc/tests/docs/examples/60_5family_dynamic_calc_suffix_param.md

40 lines
570 B
Markdown
Raw Normal View History

2024-11-15 08:13:45 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
var: # A identifier variable
- val1
- val2
dyn{{ identifier }}:
description: A dynamic family
dynamic:
variable: _.var
var:
description: A dynamic variable
default:
jinja: |
{{ identifier }}
params:
identifier:
type: identifier
description: from suffix
```
# Example with all variables modifiable
```yaml
---
rougail:
var:
- val1
- val2
dynval1:
var: val1
dynval2:
var: val2
```