2024-11-06 17:39:13 +01:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
|
|
|
version: '1.1'
|
|
|
|
var: # a suffix variable
|
|
|
|
- val1
|
|
|
|
- val2
|
|
|
|
my_dyn_family_{{ identifier }}:
|
|
|
|
description: a dynamic family
|
|
|
|
dynamic:
|
|
|
|
variable: _.var
|
|
|
|
var:
|
|
|
|
description: a variable inside a dynamic family
|
|
|
|
default:
|
|
|
|
type: identifier
|
|
|
|
mandatory: false
|
|
|
|
var2:
|
|
|
|
description: a variable
|
|
|
|
multi: true
|
|
|
|
default:
|
|
|
|
jinja: |-
|
|
|
|
{%- for v in var %}
|
|
|
|
{{ v }}
|
|
|
|
{%- endfor -%}
|
|
|
|
params:
|
|
|
|
var:
|
|
|
|
variable: rougail.my_dyn_family_{{ identifier }}.var
|
|
|
|
----
|
2024-11-07 22:51:28 +01:00
|
|
|
== Variables for "rougail"
|
2024-11-06 17:39:13 +01:00
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="128a,128a",options="header"]
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-11-06 17:39:13 +01:00
|
|
|
|
|
|
|
|
**rougail.var** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
2024-11-06 17:39:13 +01:00
|
|
|
A suffix variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**:
|
2024-11-06 17:39:13 +01:00
|
|
|
|
|
|
|
* val1
|
2024-11-07 22:51:28 +01:00
|
|
|
* val2
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
|
|
|
|
|
|
|
=== a dynamic family
|
|
|
|
|
|
|
|
`standard`
|
|
|
|
|
|
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
**Identifiers**: the value of the variable "rougail.var".
|
2024-11-06 17:39:13 +01:00
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="128a,128a",options="header"]
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-11-06 17:39:13 +01:00
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
**rougail.my_dyn_family_val1.var** or **rougail.my_dyn_family_val2.var** +
|
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
|
2024-11-06 17:39:13 +01:00
|
|
|
A variable inside a dynamic family. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**: the value of the identifier.
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="128a,128a",options="header"]
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-11-06 17:39:13 +01:00
|
|
|
|
|
|
|
|
**rougail.var2** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
2024-11-06 17:39:13 +01:00
|
|
|
A variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**: depends on a calculation.
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
|
|
|
|
|
|
|
|