2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
var: # a suffix variable
- val1
- val2
2024-11-06 17:39:13 +01:00
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
description: A dynamic family
dynamic:
jinja: |
{% for val in _.var %}
{{ loop.index }}
{% endfor %}
description: index of suffix value
var: val # a dynamic variable
```
# Variables
2024-11-15 08:13:45 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **var** < br /> [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A suffix variable.< br /> **Default**: < br /> - val1< br /> - val2 |
2024-07-10 21:27:48 +02:00
## A dynamic family
`standard`
This family builds families dynamically.
2024-11-06 17:39:13 +01:00
**Identifiers**: index of suffix value.
2024-07-10 21:27:48 +02:00
2024-11-15 08:13:45 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **dyn*1*.var** < br /> **dyn*2*.var**< br /> [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.< br /> **Default**: val |
2024-07-10 21:27:48 +02:00