67 lines
2.2 KiB
Text
67 lines
2.2 KiB
Text
== dictionaries/rougail/00-base.yml
|
|
|
|
[,yaml]
|
|
----
|
|
---
|
|
version: '1.1'
|
|
|
|
var: # A suffix variable
|
|
- val1
|
|
- val2
|
|
|
|
var2: # a second variable
|
|
|
|
dyn{{ identifier }}:
|
|
description: A dynamic family
|
|
dynamic:
|
|
variable: _.var
|
|
hidden:
|
|
jinja: |
|
|
{% if _.var2 == "no" %}
|
|
var2 is no
|
|
{% endif %}
|
|
description: if var2 is no
|
|
|
|
vardyn: val # a dynamic variable
|
|
----
|
|
== Variables for "rougail"
|
|
|
|
[cols="1a,1a"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.var** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
|
A suffix variable. +
|
|
**Default**:
|
|
|
|
* val1
|
|
* val2
|
|
|
|
|
**rougail.var2** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
|
A second variable.
|
|
|====
|
|
|
|
=== A dynamic family
|
|
|
|
`standard` `_hidden_`
|
|
|
|
**Hidden**: if var2 is no.
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
**Identifiers**: the value of the variable "rougail.var".
|
|
|
|
[cols="1a,1a"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.dynval1.vardyn** or **rougail.dynval2.vardyn** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
|
|
A dynamic variable. +
|
|
**Default**: val
|
|
|====
|
|
|
|
|