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