rougail-output-doc/tests/docs/no_namespace/40_8calculation_multi_variable.adoc
2024-08-05 14:38:59 +02:00

51 lines
1.8 KiB
Text

== 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
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**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 "var2".
* the value of the variable "var3".
|
**var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A second variable. +
**Default**: no
|
**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]
----
var:
- no
- yes
var2: no
var3: yes
----