67 lines
1.8 KiB
Text
67 lines
1.8 KiB
Text
== dictionaries/rougail/00-base.yml
|
|
|
|
[,yaml]
|
|
----
|
|
version: '1.1'
|
|
dyn{{ identifier }}:
|
|
description: a dynamic family
|
|
dynamic:
|
|
- val1
|
|
- val2
|
|
hidden:
|
|
jinja: |
|
|
{% if suffix == 'val2' %}
|
|
disabled
|
|
{% endif %}
|
|
params:
|
|
suffix:
|
|
type: identifier
|
|
description: if suffix == 'val2'
|
|
|
|
var:
|
|
description: a variable
|
|
mandatory: false
|
|
family: # a family
|
|
var:
|
|
description: a new variable
|
|
mandatory: false
|
|
----
|
|
== Variables
|
|
|
|
=== a dynamic family
|
|
|
|
`standard` _`caché`_
|
|
|
|
**Caché**: if suffix == 'val2'.
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
**Identifiers**:
|
|
|
|
* val1
|
|
* val2
|
|
|
|
[cols="96a,96a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**dynval1.var** ou **dynval2.var** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
|
|
A variable.
|
|
|====
|
|
|
|
==== a family
|
|
|
|
`standard`
|
|
|
|
[cols="96a,96a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**dynval1.family.var** ou **dynval2.family.var** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` |
|
|
A new variable.
|
|
|====
|
|
|
|
|