2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
2024-11-06 17:39:13 +01:00
2024-07-10 21:27:48 +02:00
var: # A suffix variable
- val1
- val2
2024-11-06 17:39:13 +01:00
2024-07-10 21:27:48 +02:00
var2: # a second variable
2024-11-06 17:39:13 +01:00
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
description: A dynamic family
dynamic:
variable: _.var
hidden:
jinja: |
2024-11-06 17:39:13 +01:00
{% if _.var2 == "no" %}
2024-07-10 21:27:48 +02:00
var2 is no
{% endif %}
description: if var2 is no
2024-11-06 17:39:13 +01:00
2024-07-10 21:27:48 +02:00
vardyn: val # a dynamic variable
```
2024-11-07 22:51:28 +01:00
# Variables for "rougail"
2024-07-10 21:27:48 +02:00
2024-11-07 22:51:28 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.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 |
| **rougail.var2** < br /> [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A second variable. |
2024-07-10 21:27:48 +02:00
## A dynamic family
2024-11-08 22:11:34 +01:00
`standard` *`hidden`*
2024-07-10 21:27:48 +02:00
2024-11-07 22:51:28 +01:00
**Hidden**: if var2 is no.
2024-07-10 21:27:48 +02:00
This family builds families dynamically.
2024-11-07 22:51:28 +01:00
**Identifiers**: the value of the variable "rougail.var".
2024-07-10 21:27:48 +02:00
2024-11-07 22:51:28 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.dynval1.vardyn** or **rougail.dynval2.vardyn** < 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