47 lines
696 B
Markdown
47 lines
696 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: '1.1'
|
||
|
dyn{{ identifier }}:
|
||
|
description: a dynamic family
|
||
|
dynamic:
|
||
|
- val1
|
||
|
- val2
|
||
|
hidden:
|
||
|
jinja: |
|
||
|
{% if suffix == 'val2' %}
|
||
|
disabled
|
||
|
{% endif %}
|
||
|
params:
|
||
|
suffix:
|
||
|
type: identifier
|
||
|
description: if suffix == 'val2'
|
||
|
|
||
|
var:
|
||
|
description: a variable
|
||
|
mandatory: false
|
||
|
family: # a family
|
||
|
var:
|
||
|
description: a new variable
|
||
|
mandatory: false
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
dynval1:
|
||
|
var: example
|
||
|
family:
|
||
|
var: example
|
||
|
dynval2:
|
||
|
var: example
|
||
|
family:
|
||
|
var: example
|
||
|
```
|