68 lines
7.4 KiB
Bash
68 lines
7.4 KiB
Bash
# dictionaries/rougail/00-base.yml
|
||
|
||
```yaml
|
||
---
|
||
version: '1.1'
|
||
var: # a suffix variable
|
||
- 1
|
||
- 2
|
||
dyn{{ identifier }}:
|
||
description: a dynamic family
|
||
dynamic:
|
||
variable: _.var
|
||
var: val # a variable inside dynamic family
|
||
var2:
|
||
description: a variable
|
||
default:
|
||
jinja: |
|
||
{{ rougail.dyn1.var }}
|
||
description: get the value of rougail.dyn1.var
|
||
```
|
||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||
┃ [1mVariables for "Rougail"[0m ┃
|
||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||
|
||
|
||
|
||
|
||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||
[1mrougail.var[0m
|
||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A suffix variable.
|
||
[1mDefault[0m:
|
||
|
||
|
||
[1;33m • [0m1
|
||
[1;33m • [0m2
|
||
[1;33m [0m|
|
||
|
||
|
||
[1;4ma dynamic family[0m
|
||
|
||
[1;36;40mstandard[0m
|
||
|
||
This family builds families dynamically.
|
||
|
||
[1mIdentifiers[0m: the value of the variable "rougail.var".
|
||
|
||
|
||
|
||
|
||
|
||
[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 variable inside dynamic family.
|
||
[1mDefault[0m: val
|
||
|
||
|
||
|
||
|
||
|
||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||
[1mrougail.var2[0m
|
||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||
[1mDefault[0m: get the value of rougail.dyn1.var.
|
||
|