79 lines
9.1 KiB
Markdown
79 lines
9.1 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
var: # a suffix variable
|
||
|
- val1
|
||
|
- val2
|
||
|
dyn{{ suffix }}:
|
||
|
description: a dynamic family
|
||
|
type: dynamic
|
||
|
dynamic:
|
||
|
type: variable
|
||
|
variable: _.var
|
||
|
leadership:
|
||
|
description: a leadership
|
||
|
type: leadership
|
||
|
leader:
|
||
|
description: a leader
|
||
|
multi: true
|
||
|
follower1:
|
||
|
description: a follower1
|
||
|
mandatory: false
|
||
|
follower2:
|
||
|
description: a follower2
|
||
|
mandatory: false
|
||
|
```
|
||
|
# Variables
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **var**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A suffix variable.<br/>**Default**: <br/>- val1<br/>- val2 |
|
||
|
|
||
|
## a dynamic family
|
||
|
|
||
|
`basic`
|
||
|
|
||
|
|
||
|
This family builds families dynamically.
|
||
|
|
||
|
**Suffixes**: the value of the variable "var".
|
||
|
|
||
|
### a leadership
|
||
|
|
||
|
`basic`
|
||
|
|
||
|
|
||
|
This family contains lists of variable blocks.
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **dynval1.leadership.leader** ou **dynval2.leadership.leader**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | A leader. |
|
||
|
| **dynval1.leadership.follower1** ou **dynval2.leadership.follower1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A follower1. |
|
||
|
| **dynval1.leadership.follower2** ou **dynval2.leadership.follower2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A follower2. |
|
||
|
|
||
|
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
var:
|
||
|
- val1
|
||
|
- val2
|
||
|
dynval1:
|
||
|
leadership:
|
||
|
- leader: example
|
||
|
follower1: example
|
||
|
follower2: example
|
||
|
dynval2:
|
||
|
leadership:
|
||
|
- leader: example
|
||
|
follower1: example
|
||
|
follower2: example
|
||
|
```
|