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

53 lines
1.5 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
variable1: # a first variable
- a
- b
- c
variable2:
description: a second variable
choices:
type: variable
variable: _.variable1
----
== Variables
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**variable1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A first variable. +
**Default**:
* a
* b
* c
|
**variable2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `basic` `mandatory` |
A second variable. +
**Choices**: the value of the variable "variable1".
|====
== Example with mandatory variables not filled in
[,yaml]
----
variable2: a_choice
----
== Example with all variables modifiable
[,yaml]
----
variable1:
- a
- b
- c
variable2: a_choice
----