rougail-output-doc/tests/docs/no_namespace/60_5family_dynamic_calc_variable.adoc

66 lines
2.5 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var1:
description: A suffix variable
default:
- val1
- val2
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
dynamic:
variable: _.var1
propertyerror: false
var:
description: A dynamic variable
var2:
description: A variable calculated
default:
variable: _.dynval1.var
----
== Variables
[cols="110a,110a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**var1** +
`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
|====
=== "dyn_val1_" ou "dyn_val2_"
`basic`
This family builds families dynamically.
**Identifiers**: la valeur de la variable "var1".
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
|
**dynval1.var** ou **dynval2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` |
A dynamic variable.
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
|
**var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A variable calculated. +
**Défaut**: la valeur de la variable "dynval1.var".
2024-07-10 21:27:48 +02:00
|====