rougail-output-doc/tests/docs/base/60_5family_dynamic_variable_outside_suffix.adoc

67 lines
2.6 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var: # a suffix variable
- val1
- val2
dyn_{{ identifier }}:
2024-07-10 21:27:48 +02:00
description: a dynamic family
dynamic:
variable: _.var
var:
description: a variable inside dynamic family
default:
type: identifier
2024-07-10 21:27:48 +02:00
var2:
description: a variable
default:
variable: _.dyn_val1.var
----
== 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.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A suffix variable. +
**Défaut**:
2024-07-10 21:27:48 +02:00
* val1
* val2
2024-07-10 21:27:48 +02:00
|====
=== a dynamic family
`standard`
This family builds families dynamically.
**Identifiers**: la valeur de la variable "rougail.var".
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.dyn_val1.var** ou **rougail.dyn_val2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A variable inside dynamic family. +
**Défaut**: la valeur de identifier.
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.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A variable. +
**Défaut**: la valeur de la variable "rougail.dyn_val1.var".
2024-07-10 21:27:48 +02:00
|====