40 lines
567 B
Markdown
40 lines
567 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
leader:
|
||
|
description: leadership
|
||
|
type: leadership
|
||
|
leader: # a leader
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
follower1:
|
||
|
description: a follower
|
||
|
type: number
|
||
|
default:
|
||
|
jinja: '{{ index }}'
|
||
|
params:
|
||
|
index:
|
||
|
type: index
|
||
|
description: returns index
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
leader:
|
||
|
- leader: a
|
||
|
follower1: 0
|
||
|
- leader: b
|
||
|
follower1: 1
|
||
|
- leader: c
|
||
|
follower1: 2
|
||
|
```
|