7.8 KiB
7.8 KiB
Table of Contents
dictionaries/rougail/00-base.yml
---
version: '1.1'
bool: false # a boolean variable
multi1:
description: a first multi variable
type: boolean
multi: true
default:
type: jinja
jinja: |
{% if _.bool %}
True
False
{% else %}
False
{% endif %}
description: a calculation
multi2:
description: a second multi variable
type: boolean
multi: true
default:
type: jinja
jinja: |
{% if not _.bool %}
True
False
{% else %}
False
{% endif %}
description: a calculation
Variables
Variable | Description |
---|---|
boolboolean standard mandatory |
A boolean variable. Default: False |
multi1boolean standard mandatory unique multiple |
A first multi variable. Default: a calculation. |
multi2boolean standard mandatory unique multiple |
A second multi variable. Default: a calculation. |
Example with all variables modifiable
---
bool: false
multi1:
- false
multi2:
- true
- false