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