2024-07-10 21:27:48 +02:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
|
|
|
version: '1.1'
|
|
|
|
var: # a suffix variable
|
|
|
|
- val1
|
|
|
|
- val2
|
2024-11-06 17:39:13 +01:00
|
|
|
dyn{{ identifier }}:
|
2024-07-10 21:27:48 +02:00
|
|
|
description: A dynamic family
|
|
|
|
dynamic:
|
|
|
|
jinja: |
|
|
|
|
{% for val in _.var %}
|
|
|
|
{{ loop.index }}
|
|
|
|
{% endfor %}
|
|
|
|
description: index of suffix value
|
|
|
|
var: val # a dynamic variable
|
|
|
|
----
|
2024-11-06 17:39:13 +01:00
|
|
|
== Variables pour "rougail"
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
[cols="110a,110a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-06 17:39:13 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.var** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`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. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**:
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
* val1
|
2024-11-06 17:39:13 +01:00
|
|
|
* val2
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
=== A dynamic family
|
|
|
|
|
|
|
|
`standard`
|
|
|
|
|
|
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
**Identifiers**: index of suffix value.
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
[cols="110a,110a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-06 17:39:13 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**rougail.dyn1.var** ou **rougail.dyn2.var** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A dynamic variable. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: val
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|