rougail-output-doc/tests/results/test_examples/60_6family_dynamic_leadership_empty.md

11 KiB

Table of Contents

Variables

Variable                                                                                                           Description                                                                                                       
var
string standard unique multiple
A suffix variable.
Examples:
- val1
- val2

a dynamic family

basic

This family builds families dynamically.

Identifiers: the value of the variable "var".

a leadership

basic

This family contains lists of variable blocks.

Variable                                                                                                                    Description                                                                                                                
dynval1.leadership.leader
dynval2.leadership.leader
string basic mandatory unique multiple
A leader.
dynval1.leadership.follower1
dynval2.leadership.follower1
string standard
A follower1.
dynval1.leadership.follower2
dynval2.leadership.follower2
string standard
A follower2.

Example with all variables modifiable

---
var:
  - val1
  - val2
dynval1:
  leadership:
    - leader: example
      follower1: example
      follower2: example
dynval2:
  leadership:
    - leader: example
      follower1: example
      follower2: example