2024-07-10 21:27:48 +02:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
|
|
|
version: '1.1'
|
|
|
|
bool: false # a boolean variable
|
|
|
|
multi1:
|
|
|
|
description: a first multi variable
|
|
|
|
type: boolean
|
|
|
|
multi: true
|
|
|
|
default:
|
|
|
|
jinja: |
|
|
|
|
{% if _.bool %}
|
|
|
|
True
|
|
|
|
False
|
|
|
|
{% else %}
|
|
|
|
False
|
|
|
|
{% endif %}
|
|
|
|
description: a calculation
|
|
|
|
multi2:
|
|
|
|
description: a second multi variable
|
|
|
|
type: boolean
|
|
|
|
multi: true
|
|
|
|
default:
|
|
|
|
jinja: |
|
|
|
|
{% if not _.bool %}
|
|
|
|
True
|
|
|
|
False
|
|
|
|
{% else %}
|
|
|
|
False
|
|
|
|
{% endif %}
|
|
|
|
description: a calculation
|
|
|
|
----
|
2024-11-06 17:39:13 +01:00
|
|
|
== Variables pour "rougail"
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
[cols="131a,131a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-06 17:39:13 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.bool** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A boolean variable. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: False
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.multi1** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` `unique` `multiple` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A first multi variable. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: a calculation.
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.multi2** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` `unique` `multiple` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A second multi variable. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: a calculation.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|