50 lines
725 B
Markdown
50 lines
725 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# 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
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
bool: false
|
||
|
multi1:
|
||
|
- false
|
||
|
multi2:
|
||
|
- true
|
||
|
- false
|
||
|
```
|