rougail-output-doc/tests/docs/examples/60_0family_dynamic_test.md

51 lines
614 B
Markdown
Raw Normal View History

2024-11-15 08:13:45 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
var:
description: A suffix variable
multi: true
test:
- val1
- val2
dyn{{ identifier }}:
description: A dynamic family
dynamic:
variable: _.var
var: # A dynamic variable
```
# Example with mandatory variables not filled in
```yaml
---
rougail:
var:
- val1
- val2
dynval1:
var: example
dynval2:
var: example
```
# Example with all variables modifiable
```yaml
---
rougail:
var:
- val1
- val2
dynval1:
var: example
dynval2:
var: example
```