2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
condition: no # a condition
var:
description: a variable
mandatory:
jinja: |
{% if _.condition == "yes" %}
condition is yes
{% endif %}
description: only if rougail.condition has the value "yes"
```
# Variables
2024-11-07 22:51:28 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **condition** < br /> [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.< br /> **Default**: no |
2024-11-08 22:11:34 +01:00
| **var** < br /> [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` *`mandatory`* | A variable.< br /> **Mandatory**: only if rougail.condition has the value "yes". |
2024-07-10 21:27:48 +02:00