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

7.4 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
var: val2  # a suffix variable
dyn{{ suffix }}:
  type: dynamic
  description: a dynamic family
  dynamic:
    - val1
    - type: variable
      variable: _.var
  vardyn:  # a dynamic variable

Variables

Variable                                                                                                Description                                                                                            
var
string standard mandatory
A suffix variable.
Default: val2

a dynamic family

basic

This family builds families dynamically.

Suffixes:
- val1
- the value of the variable "var".

Variable                                                                                                Description                                                                                            
dynval1.vardyn ou dynval2.vardyn
string basic mandatory
A dynamic variable.

Example with mandatory variables not filled in

---
dynval1:
  vardyn: example
dynval2:
  vardyn: example

Example with all variables modifiable

---
var: val2
dynval1:
  vardyn: example
dynval2:
  vardyn: example