rougail-output-doc/tests/docs/base/60_9extra_dynamic.md
2024-08-05 14:38:59 +02:00

8.2 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1
var:  # a variable
  - a

dictionaries/extra/00-base.yml

---
version: 1.1
dyn_{{ suffix }}:
  type: dynamic
  dynamic:
    type: variable
    variable: rougail.var
  var:

Variables for "rougail"

Variable                                                                                                                       Description                                                                                                                   
rougail.var
string standard mandatory unique multiple
A variable.
Default:
- a

Variables for "extra"

"dyn_a"

basic

This family builds families dynamically.

Suffixes: the value of the variable "rougail.var".

Variable                                                                                                Description                                                                                            
extra.dyn_a.var
string basic mandatory
Var.

Example with mandatory variables not filled in

---
extra:
  dyn_a:
    var: example

Example with all variables modifiable

---
rougail:
  var:
    - a
extra:
  dyn_a:
    var: example