2024-07-10 21:27:48 +02:00
|
|
|
== 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-06 17:39:13 +01:00
|
|
|
[cols="112a,112a",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
|
|
|
|
|
|
|
|
**condition** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A condition. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: no
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**var** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` _`obligatoire`_ |
|
2024-07-10 21:27:48 +02:00
|
|
|
A variable. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Obligatoire**: only if rougail.condition has the value "yes".
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|