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
|
|
|
dyn{{ identifier }}:
|
2024-07-10 21:27:48 +02:00
|
|
|
description: a dynamic family
|
|
|
|
dynamic:
|
|
|
|
- val1
|
|
|
|
- val2
|
|
|
|
hidden:
|
|
|
|
jinja: |
|
|
|
|
{% if suffix == 'val2' %}
|
|
|
|
disabled
|
|
|
|
{% endif %}
|
|
|
|
params:
|
|
|
|
suffix:
|
2024-11-06 17:39:13 +01:00
|
|
|
type: identifier
|
2024-07-10 21:27:48 +02:00
|
|
|
description: if suffix == 'val2'
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
var:
|
|
|
|
description: a variable
|
|
|
|
mandatory: false
|
2024-07-10 21:27:48 +02:00
|
|
|
family: # a family
|
2024-11-06 17:39:13 +01:00
|
|
|
var:
|
|
|
|
description: a new variable
|
|
|
|
mandatory: false
|
2024-07-10 21:27:48 +02:00
|
|
|
----
|
|
|
|
== Variables
|
|
|
|
|
|
|
|
=== a dynamic family
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
`standard` _`caché`_
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
**Caché**: if suffix == 'val2'.
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
**Identifiers**:
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
* val1
|
|
|
|
* val2
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
[cols="96a,96a",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
|
|
|
|
|
|
|
|
**dynval1.var** ou **dynval2.var** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
|
|
|
|
A variable.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
==== a family
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
`standard`
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
[cols="96a,96a",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
|
|
|
|
|
|
|
|
**dynval1.family.var** ou **dynval2.family.var** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
|
|
|
|
A new variable.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|