2024-07-10 21:27:48 +02:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
|
|
|
version: '1.1'
|
2024-11-06 17:39:13 +01:00
|
|
|
var: # A identifier variable
|
2024-07-10 21:27:48 +02:00
|
|
|
- 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:
|
|
|
|
variable: _.var
|
|
|
|
var:
|
|
|
|
description: A dynamic variable
|
|
|
|
multi: true
|
|
|
|
default:
|
|
|
|
jinja: |
|
|
|
|
{% for val in __.var %}
|
|
|
|
t{{ val }}
|
|
|
|
{% endfor %}
|
|
|
|
description: add 't' to each var value
|
2024-11-06 17:39:13 +01:00
|
|
|
dyn_{{ identifier }}:
|
2024-07-10 21:27:48 +02:00
|
|
|
description: a Second dynamic variable
|
|
|
|
dynamic:
|
2024-11-06 17:39:13 +01:00
|
|
|
variable: rougail.dyn{{ identifier }}.var
|
2024-07-10 21:27:48 +02:00
|
|
|
var:
|
|
|
|
description: A variable dynamic
|
|
|
|
default:
|
2024-11-06 17:39:13 +01:00
|
|
|
type: identifier
|
|
|
|
var_identifier:
|
|
|
|
description: identifier from first family
|
2024-07-10 21:27:48 +02:00
|
|
|
default:
|
2024-11-06 17:39:13 +01:00
|
|
|
type: identifier
|
|
|
|
identifier: 0
|
|
|
|
var_identifiers:
|
|
|
|
description: merge identifiers
|
2024-07-10 21:27:48 +02:00
|
|
|
default:
|
|
|
|
jinja: |
|
|
|
|
{{ s1 }}-{{ s2 }}
|
|
|
|
params:
|
|
|
|
s1:
|
2024-11-06 17:39:13 +01:00
|
|
|
type: identifier
|
|
|
|
identifier: 0
|
2024-07-10 21:27:48 +02:00
|
|
|
s2:
|
2024-11-06 17:39:13 +01:00
|
|
|
type: identifier
|
|
|
|
identifier: 1
|
|
|
|
description: join identifier 1 et identifier 2
|
2024-07-10 21:27:48 +02:00
|
|
|
----
|
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` |
|
|
|
|
A identifier variable. +
|
|
|
|
**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**: la valeur de la variable "rougail.var".
|
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.dynval1.var** ou **rougail.dynval2.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 dynamic variable. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: add 't' to each var value.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
==== a Second dynamic variable
|
|
|
|
|
|
|
|
`standard`
|
|
|
|
|
|
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
**Identifiers**: la valeur de la variable "rougail.dyn{{ identifier }}.var".
|
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.dynval1.dyn_tval1.var**, **rougail.dynval1.dyn_tval2.var**, **rougail.dynval2.dyn_tval1.var** ou **rougail.dynval2.dyn_tval2.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 variable dynamic. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Défaut**: la valeur de identifier.
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
**rougail.dynval1.dyn_tval1.var_identifier**, **rougail.dynval1.dyn_tval2.var_identifier**, **rougail.dynval2.dyn_tval1.var_identifier** ou **rougail.dynval2.dyn_tval2.var_identifier** +
|
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
|
|
|
|
Identifier from first family. +
|
|
|
|
**Défaut**: la valeur de identifier.
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
**rougail.dynval1.dyn_tval1.var_identifiers**, **rougail.dynval1.dyn_tval2.var_identifiers**, **rougail.dynval2.dyn_tval1.var_identifiers** ou **rougail.dynval2.dyn_tval2.var_identifiers** +
|
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
|
|
|
|
Merge identifiers. +
|
|
|
|
**Défaut**: join identifier 1 et identifier 2.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|