48 lines
6.4 KiB
Markdown
48 lines
6.4 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
leader:
|
||
|
description: a leadership
|
||
|
type: leadership
|
||
|
leader: # a leader
|
||
|
follower1: value # a follower
|
||
|
follower2:
|
||
|
description: a second follower
|
||
|
default:
|
||
|
type: jinja
|
||
|
jinja: |
|
||
|
{{ _.follower1 }}
|
||
|
description: returns follower1 value
|
||
|
```
|
||
|
# Variables
|
||
|
|
||
|
## a leadership
|
||
|
|
||
|
`basic`
|
||
|
|
||
|
|
||
|
This family contains lists of variable blocks.
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **leader.leader**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | A leader. |
|
||
|
| **leader.follower1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A follower.<br/>**Default**: value |
|
||
|
| **leader.follower2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second follower.<br/>**Default**: returns follower1 value. |
|
||
|
|
||
|
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
leader:
|
||
|
- leader: example
|
||
|
follower1: value
|
||
|
follower2: value
|
||
|
```
|