46 lines
7.6 KiB
Markdown
46 lines
7.6 KiB
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
|
|
```
|
|
# Variables
|
|
|
|
| Variable | Description |
|
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| **bool**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A boolean variable.<br/>**Default**: False |
|
|
| **multi1**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A first multi variable.<br/>**Default**: a calculation. |
|
|
| **multi2**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A second multi variable.<br/>**Default**: a calculation. |
|
|
|
|
|