57 lines
6.2 KiB
Bash
57 lines
6.2 KiB
Bash
|
# dictionaries/rougail/00-base.yml
|
|||
|
|
|||
|
```yaml
|
|||
|
---
|
|||
|
version: '1.1'
|
|||
|
var: # a suffix variable
|
|||
|
- val1
|
|||
|
- val2
|
|||
|
dyn{{ identifier }}:
|
|||
|
description: A dynamic family
|
|||
|
dynamic:
|
|||
|
jinja: |
|
|||
|
{% for val in _.var %}
|
|||
|
{{ loop.index }}
|
|||
|
{% endfor %}
|
|||
|
description: index of suffix value
|
|||
|
var: val # a dynamic variable
|
|||
|
```
|
|||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|||
|
┃ [1mVariables for "Rougail"[0m ┃
|
|||
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
|||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|||
|
[1mrougail.var[0m
|
|||
|
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A suffix variable.
|
|||
|
[1mDefault[0m:
|
|||
|
|
|||
|
|
|||
|
[1;33m • [0mval1
|
|||
|
[1;33m • [0mval2
|
|||
|
[1;33m [0m|
|
|||
|
|
|||
|
|
|||
|
[1;4mA dynamic family[0m
|
|||
|
|
|||
|
[1;36;40mstandard[0m
|
|||
|
|
|||
|
This family builds families dynamically.
|
|||
|
|
|||
|
[1mIdentifiers[0m: index of suffix value.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
|||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|||
|
[1mrougail.dyn[0m[1;3m1[0m[1m.var[0m
|
|||
|
[1mrougail.dyn[0m[1;3m2[0m[1m.var[0m
|
|||
|
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A dynamic variable.
|
|||
|
[1mDefault[0m: val
|
|||
|
|