rougail-output-doc/tests/docs/base/40_8calculation_multi_variable.adoc

53 lines
1.9 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var:
description: a first variable
default:
- type: variable
variable: _.var2
- type: variable
variable: _.var3
var2: no # a second variable
var3: yes # a third variable
----
== Variables for "rougail"
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A first variable. +
**Default**:
* the value of the variable "rougail.var2".
* the value of the variable "rougail.var3".
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A second variable. +
**Default**: no
|
**rougail.var3** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A third variable. +
**Default**: yes
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
var:
- no
- yes
var2: no
var3: yes
----