rougail-output-doc/tests/docs/base/40_0leadership_follower_default_submulti.md

50 lines
7 KiB
Markdown
Raw Normal View History

2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
leader:
description: a leadership
type: leadership
leader: # a leader
- leader
follower1: # a follower1
- value
follower2: # a follower2
- value1
- value2
```
# Variables for "rougail"
## a leadership
`standard`
This family contains lists of variable blocks.
| Variable                                                                                                              | Description                                                                                                           |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.leader.leader**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A leader.<br/>**Default**: <br/>- leader |
| **rougail.leader.follower1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `multiple` | A follower1.<br/>**Default**: <br/>- value |
| **rougail.leader.follower2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `multiple` | A follower2.<br/>**Default**: <br/>- value1<br/>- value2 |
# Example with all variables modifiable
```yaml
---
rougail:
leader:
- leader: leader
follower1:
- value
follower2:
- value1
- value2
```