50 lines
10 KiB
Markdown
50 lines
10 KiB
Markdown
---
|
|
gitea: none
|
|
include_toc: true
|
|
---
|
|
# dictionaries/rougail/00-base.yml
|
|
|
|
```yaml
|
|
---
|
|
version: '1.1'
|
|
|
|
var: # A suffix variable
|
|
- val1
|
|
- val2
|
|
|
|
var2: # a second variable
|
|
|
|
dyn{{ identifier }}:
|
|
description: A dynamic family
|
|
dynamic:
|
|
variable: _.var
|
|
hidden:
|
|
jinja: |
|
|
{% if _.var2 == "no" %}
|
|
var2 is no
|
|
{% endif %}
|
|
description: if var2 is no
|
|
|
|
vardyn: val # a dynamic variable
|
|
```
|
|
# Variables for "Rougail"
|
|
|
|
| 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. |
|
|
|
|
## A dynamic family
|
|
|
|
`standard` *`hidden`*
|
|
|
|
**Hidden**: if var2 is no.
|
|
|
|
This family builds families dynamically.
|
|
|
|
**Identifiers**: the value of the variable "rougail.var".
|
|
|
|
| Variable | Description |
|
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| **rougail.dyn*val1*.vardyn**<br/>**rougail.dyn*val2*.vardyn**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.<br/>**Default**: val |
|
|
|