rougail-output-doc/tests/docs/base/00_9choice_variable_multi.adoc
2024-08-05 14:38:59 +02:00

63 lines
1.7 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
variable1:
description: a first variable
type: choice
multi: true
choices:
- val1
- val2
variable2:
description: a second variable
type: choice
multi: true
mandatory: false
choices:
- val1
- val2
----
== Variables for "rougail"
[cols="116a,116a",options="header"]
|====
| Variable | Description
|
**rougail.variable1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `basic` `mandatory` `unique` `multiple` |
A first variable. +
**Choices**:
* val1
* val2
|
**rougail.variable2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `unique` `multiple` |
A second variable. +
**Choices**:
* val1
* val2
|====
== Example with mandatory variables not filled in
[,yaml]
----
rougail:
variable1:
- a_choice
----
== Example with all variables modifiable
[,yaml]
----
rougail:
variable1:
- a_choice
variable2:
- a_choice
----