rougail-output-doc/tests/docs/no_namespace/68_0family_leadership_mode.md

49 lines
6.2 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.0'
leader:
description: A leadership
type: leadership
leader:
description: A leader
multi: true
mandatory: false
follower1:
description: a follower1
mandatory: false
follower2:
description: a follower2
mode: basic
```
# 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` `unique` `multiple` | A leader. |
| **leader.follower1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A follower1. |
| **leader.follower2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A follower2. |
# Example with all variables modifiable
```yaml
---
leader:
- leader: example
follower1: example
follower2: example
```