2024-07-10 21:27:48 +02:00
|
|
|
== 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
|
2024-11-06 17:39:13 +01:00
|
|
|
mandatory: false
|
2024-07-10 21:27:48 +02:00
|
|
|
----
|
2024-11-07 22:51:28 +01:00
|
|
|
== Variables for "rougail"
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="107a,107a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.condition1** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A first conditional variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**: False
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.condition2** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A second conditional variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**: False
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
=== a family
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
`standard` _`hidden`_
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
**Hidden**: if condition1 is false.
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="107a,107a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.family.variable** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` _`hidden`_ |
|
2024-07-10 21:27:48 +02:00
|
|
|
A variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Hidden**: if condition2 is false.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|