35 lines
506 B
Markdown
35 lines
506 B
Markdown
---
|
|
gitea: none
|
|
include_toc: true
|
|
---
|
|
# dictionaries/rougail/00-base.yml
|
|
|
|
```yaml
|
|
---
|
|
version: '1.1'
|
|
var: # a suffix variable
|
|
- val1
|
|
- val2
|
|
dyn{{ identifier }}:
|
|
description: A dynamic family
|
|
dynamic:
|
|
jinja: |
|
|
{% for val in _.var %}
|
|
{{ loop.index }}
|
|
{% endfor %}
|
|
description: index of suffix value
|
|
var: val # a dynamic variable
|
|
```
|
|
# Example with all variables modifiable
|
|
|
|
```yaml
|
|
---
|
|
rougail:
|
|
var:
|
|
- val1
|
|
- val2
|
|
dyn1:
|
|
var: val
|
|
dyn2:
|
|
var: val
|
|
```
|