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

65 lines
2.6 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var: # a suffix variable
- 1
- 2
dyn{{ identifier }}:
description: a dynamic family
dynamic:
variable: _.var
var: val # a variable inside dynamic family
var2:
description: a variable
default:
jinja: |
{{ rougail.dyn1.var }}
description: get the value of rougail.dyn1.var
----
== Variables pour "rougail"
[cols="110a,110a",options="header"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[number]` `standard` `obligatoire` `unique` `multiple` |
A suffix variable. +
**Défaut**:
* 1
* 2
|====
=== a dynamic family
`standard`
This family builds families dynamically.
**Identifiers**: la valeur de la variable "rougail.var".
[cols="110a,110a",options="header"]
|====
| Variable | Description
|
**rougail.dyn1.var** ou **rougail.dyn2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
A variable inside dynamic family. +
**Défaut**: val
|====
[cols="110a,110a",options="header"]
|====
| Variable | Description
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
A variable. +
**Défaut**: get the value of rougail.dyn1.var.
|====