59 lines
2.3 KiB
Text
59 lines
2.3 KiB
Text
== 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
|
|
----
|
|
== Variables pour "rougail"
|
|
|
|
[cols="106a,106a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.condition1** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` |
|
|
A first conditional variable. +
|
|
**Défaut**: False
|
|
|
|
|
**rougail.condition2** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` |
|
|
A second conditional variable. +
|
|
**Défaut**: False
|
|
|====
|
|
|
|
=== a family
|
|
|
|
`standard` _`caché`_
|
|
|
|
**Caché**: if condition1 is false.
|
|
|
|
[cols="106a,106a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.family.variable** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` _`caché`_ |
|
|
A variable. +
|
|
**Caché**: if condition2 is false.
|
|
|====
|
|
|
|
|