68 lines
10 KiB
Markdown
68 lines
10 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
variable: value # a variable
|
||
|
```
|
||
|
# dictionaries/extra/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
variable1:
|
||
|
description: a first variable
|
||
|
default:
|
||
|
type: variable
|
||
|
variable: rougail.variable
|
||
|
variable2:
|
||
|
description: a second variable
|
||
|
default:
|
||
|
type: jinja
|
||
|
jinja: |
|
||
|
{{ rougail.variable }}
|
||
|
description: copy the value of rougail.variable
|
||
|
variable3:
|
||
|
description: a third variable
|
||
|
default:
|
||
|
type: jinja
|
||
|
jinja: |
|
||
|
{{ variable }}
|
||
|
params:
|
||
|
variable:
|
||
|
type: variable
|
||
|
variable: rougail.variable
|
||
|
description: copy the value of rougail.variable
|
||
|
```
|
||
|
# Variables for "rougail"
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Default**: value |
|
||
|
|
||
|
|
||
|
# Variables for "extra"
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **extra.variable1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: the value of the variable "rougail.variable". |
|
||
|
| **extra.variable2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Default**: copy the value of rougail.variable. |
|
||
|
| **extra.variable3**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: copy the value of rougail.variable. |
|
||
|
|
||
|
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
variable: value
|
||
|
extra:
|
||
|
variable1: value
|
||
|
variable2: value
|
||
|
variable3: value
|
||
|
```
|