2024-07-10 21:27:48 +02:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
|
|
|
version: '1.1'
|
|
|
|
var1: # a suffx variable
|
|
|
|
- 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: _.var1
|
|
|
|
var: val # a dynamic variable
|
|
|
|
newvar:
|
|
|
|
description: a second variable
|
|
|
|
default:
|
|
|
|
jinja: |
|
|
|
|
{{ _.dynval1.var }}
|
|
|
|
description: the value of var
|
|
|
|
----
|
|
|
|
== Variables
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="108a,108a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**var1** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A suffx variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**:
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
* val1
|
2024-11-07 22:51:28 +01:00
|
|
|
* val2
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
=== a dynamic family
|
|
|
|
|
|
|
|
`standard`
|
|
|
|
|
|
|
|
|
|
|
|
This family builds families dynamically.
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
**Identifiers**: the value of the variable "var1".
|
2024-07-10 21:27:48 +02:00
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="108a,108a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
**dynval1.var** or **dynval2.var** +
|
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A dynamic variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**: val
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
2024-11-07 22:51:28 +01:00
|
|
|
[cols="108a,108a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**newvar** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A second variable. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**: the value of var.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|