34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
== 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
|
|
|
|
[cols="1a,1a"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**condition** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
|
|
A condition. +
|
|
**Default**: no
|
|
|
|
|
**var** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `_mandatory_` |
|
|
A variable. +
|
|
**Mandatory**: only if rougail.condition has the value "yes".
|
|
|====
|
|
|
|
|