36 lines
567 B
Markdown
36 lines
567 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
condition: yes # a condition
|
||
|
leader:
|
||
|
description: a leadership
|
||
|
type: leadership
|
||
|
leader:
|
||
|
description: a leader
|
||
|
multi: true
|
||
|
follower:
|
||
|
description: a follower
|
||
|
disabled:
|
||
|
jinja: |
|
||
|
{% if __.condition == "yes" %}
|
||
|
disabled
|
||
|
{% endif %}
|
||
|
description: if condition is yes
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
condition: yes
|
||
|
leader:
|
||
|
- leader: example
|
||
|
follower: example
|
||
|
```
|