rougail-output-doc/tests/docs/no_namespace/60_2family_dynamic_outside_calc.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: # a suffx variable
- val1
- val2
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
description: a dynamic family
dynamic:
variable: _.var1
var: val # a dynamic variable
newvar:
description: a second variable
default:
jinja: |
{{ _.dynval1.var }}
description: the value of 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 suffx 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 "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]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A dynamic variable. +
**Défaut**: val
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
|
**newvar** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A second variable. +
**Défaut**: the value of var.
2024-07-10 21:27:48 +02:00
|====