57 lines
2.2 KiB
Text
57 lines
2.2 KiB
Text
== dictionaries/rougail/00-base.yml
|
|
|
|
[,yaml]
|
|
----
|
|
---
|
|
version: '1.1'
|
|
condition: no # a condition
|
|
var1:
|
|
description: a first variable
|
|
hidden:
|
|
jinja: |
|
|
{% if _.condition != "yes" %}
|
|
condition is yes
|
|
{% endif %}
|
|
description: if condition is yes
|
|
default:
|
|
jinja: |
|
|
{{ _.condition }}
|
|
description: the value of condition
|
|
var2:
|
|
description: a second variable
|
|
hidden:
|
|
jinja: |
|
|
{% if rougail.condition != "yes" %}
|
|
condition is yes
|
|
{% endif %}
|
|
description: if condition is yes
|
|
default:
|
|
jinja: |
|
|
{{ rougail.condition }}
|
|
description: the value of condition
|
|
----
|
|
== Variables for "rougail"
|
|
|
|
[cols="1a,1a"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.condition** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
|
|
A condition. +
|
|
**Default**: no
|
|
|
|
|
**rougail.var1** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
|
A first variable. +
|
|
**Default**: the value of condition. +
|
|
**Hidden**: if condition is yes.
|
|
|
|
|
**rougail.var2** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
|
A second variable. +
|
|
**Default**: the value of condition. +
|
|
**Hidden**: if condition is yes.
|
|
|====
|
|
|
|
|