52 lines
5.6 KiB
Markdown
52 lines
5.6 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
variable1:
|
||
|
description: a first variable
|
||
|
type: choice
|
||
|
multi: true
|
||
|
choices:
|
||
|
- val1
|
||
|
- val2
|
||
|
variable2:
|
||
|
description: a second variable
|
||
|
type: choice
|
||
|
multi: true
|
||
|
mandatory: false
|
||
|
choices:
|
||
|
- val1
|
||
|
- val2
|
||
|
```
|
||
|
# Variables for "rougail"
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **rougail.variable1**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | A first variable.<br/>**Choices**: <br/>- val1<br/>- val2 |
|
||
|
| **rougail.variable2**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `unique` `multiple` | A second variable.<br/>**Choices**: <br/>- val1<br/>- val2 |
|
||
|
|
||
|
|
||
|
# Example with mandatory variables not filled in
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
variable1:
|
||
|
- a_choice
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
variable1:
|
||
|
- a_choice
|
||
|
variable2:
|
||
|
- a_choice
|
||
|
```
|