38 lines
582 B
Markdown
38 lines
582 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: 1.1
|
||
|
leader:
|
||
|
description: leader
|
||
|
type: leadership
|
||
|
leader: # a leader
|
||
|
- a
|
||
|
- b
|
||
|
follower:
|
||
|
description: a follower
|
||
|
disabled:
|
||
|
jinja: |
|
||
|
{% if _.leader == "a" %}
|
||
|
the value of "leader" is "a"
|
||
|
{% endif %}
|
||
|
description: if the value of "leader" is "a"
|
||
|
default:
|
||
|
variable: _.leader
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
leader:
|
||
|
- leader: a
|
||
|
follower: a
|
||
|
- leader: b
|
||
|
follower: b
|
||
|
```
|