rougail-output-doc/tests/docs/base/00_9choice_variables.adoc

44 lines
1.9 KiB
Text
Raw Permalink Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
source_variable_1: val1 # the first source variable
source_variable_2: val2 # the second source variable
my_variable:
description: a variable
type: choice
choices:
- variable: _.source_variable_1
- variable: _.source_variable_2
2024-07-10 21:27:48 +02:00
default: val1
----
== Variables pour "rougail"
2024-07-10 21:27:48 +02:00
[cols="110a,110a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.source_variable_1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
The first source variable. +
**Défaut**: val1
2024-07-10 21:27:48 +02:00
|
**rougail.source_variable_2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
The second source variable. +
**Défaut**: val2
2024-07-10 21:27:48 +02:00
|
**rougail.my_variable** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A variable. +
**Choix**:
2024-07-10 21:27:48 +02:00
* la valeur de la variable "rougail.source_variable_1".
* la valeur de la variable "rougail.source_variable_2".
2024-07-10 21:27:48 +02:00
**Défaut**: val1
2024-07-10 21:27:48 +02:00
|====