81 lines
10 KiB
Markdown
81 lines
10 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
var1:
|
||
|
description: the first variable
|
||
|
choices:
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
var2:
|
||
|
description: the second variable
|
||
|
choices:
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
var3:
|
||
|
description: the third variable
|
||
|
choices:
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
mandatory: false
|
||
|
var4:
|
||
|
description: the forth variable
|
||
|
choices:
|
||
|
-
|
||
|
- b
|
||
|
- c
|
||
|
mandatory: false
|
||
|
var5:
|
||
|
description: the fifth variable
|
||
|
choices:
|
||
|
- a
|
||
|
- b
|
||
|
- c
|
||
|
default: a
|
||
|
var6:
|
||
|
description: the sixth variable
|
||
|
choices:
|
||
|
- 1
|
||
|
- 2
|
||
|
- 3
|
||
|
default: 1
|
||
|
```
|
||
|
# Variables
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **var1**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Choices**: <br/>- a<br/>- b<br/>- c |
|
||
|
| **var2**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Choices**: <br/>- a<br/>- b<br/>- c |
|
||
|
| **var3**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | The third variable.<br/>**Choices**: <br/>- a<br/>- b<br/>- c<br/>- null |
|
||
|
| **var4**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | The forth variable.<br/>**Choices**: <br/>- null<br/>- b<br/>- c |
|
||
|
| **var5**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The fifth variable.<br/>**Choices**: <br/>- a ← (default)<br/>- b<br/>- c |
|
||
|
| **var6**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The sixth variable.<br/>**Choices**: <br/>- 1 ← (default)<br/>- 2<br/>- 3 |
|
||
|
|
||
|
|
||
|
# Example with mandatory variables not filled in
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
var1: a_choice
|
||
|
var2: a_choice
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
var1: a_choice
|
||
|
var2: a_choice
|
||
|
var3: a_choice
|
||
|
var4: a_choice
|
||
|
var5: a
|
||
|
var6: 1
|
||
|
```
|