56 lines
1.2 KiB
Text
56 lines
1.2 KiB
Text
|
== dictionaries/rougail/00-base.yml
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
version: '1.1'
|
||
|
dyn{{ suffix }}:
|
||
|
description: a dynamic family
|
||
|
type: dynamic
|
||
|
dynamic:
|
||
|
- val1
|
||
|
- val2
|
||
|
var: # a variable inside a dynamic family
|
||
|
----
|
||
|
== Variables
|
||
|
|
||
|
=== a dynamic family
|
||
|
|
||
|
`basic`
|
||
|
|
||
|
|
||
|
This family builds families dynamically.
|
||
|
|
||
|
**Suffixes**:
|
||
|
|
||
|
* val1
|
||
|
* val2
|
||
|
|
||
|
[cols="105a,105a",options="header"]
|
||
|
|====
|
||
|
| Variable | Description
|
||
|
|
|
||
|
**dynval1.var** ou **dynval2.var** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||
|
A variable inside a dynamic family.
|
||
|
|====
|
||
|
|
||
|
|
||
|
== Example with mandatory variables not filled in
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
dynval1:
|
||
|
var: example
|
||
|
dynval2:
|
||
|
var: example
|
||
|
----
|
||
|
== Example with all variables modifiable
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
dynval1:
|
||
|
var: example
|
||
|
dynval2:
|
||
|
var: example
|
||
|
----
|