40 lines
734 B
Markdown
40 lines
734 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
condition1: false # a first conditional variable
|
||
|
condition2: false # a second conditional variable
|
||
|
family:
|
||
|
description: a family
|
||
|
hidden:
|
||
|
jinja: |
|
||
|
{% if not rougail.condition1 %}
|
||
|
condition1 is false
|
||
|
{% endif %}
|
||
|
description: if condition1 is false
|
||
|
variable:
|
||
|
description: a variable
|
||
|
hidden:
|
||
|
jinja: |
|
||
|
{% if rougail.condition2 %}
|
||
|
condition2 is true
|
||
|
{% endif %}
|
||
|
description: if condition2 is false
|
||
|
mandatory: false
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
condition1: false
|
||
|
condition2: false
|
||
|
family:
|
||
|
variable: example
|
||
|
```
|