59 lines
1.2 KiB
Text
59 lines
1.2 KiB
Text
== 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
|
|
----
|
|
== Variables
|
|
|
|
[cols="1a,1a"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
|
|
**bool** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
|
A boolean variable. +
|
|
**Default**: false
|
|
|
|
|
|
|
**multi1** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` `unique` `multiple` |
|
|
A first multi variable. +
|
|
**Default**: a calculation.
|
|
|
|
|
|
|
**multi2** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` `unique` `multiple` |
|
|
A second multi variable. +
|
|
**Default**: a calculation.
|
|
|====
|
|
|