rougail-output-doc/tests/docs/no_namespace/60_6family_dynamic_leadership.md

8.9 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
var:  # a suffix variable
  - val1
  - val2
dyn{{ identifier }}:
  description: a dynamic family
  dynamic:
    variable: _.var
  leadership:
    description: a leadership
    type: leadership
    leader:
      description: a leader
      multi: true
    follower1:
      description: a follower1
      mandatory: false
    follower2:
      description: a follower2
      mandatory: false

Variables

Variable                                                                                       Description                                                                                   
var
string standard obligatoire unique multiple
A suffix variable.
Défaut:
- val1
- val2

a dynamic family

basic

This family builds families dynamically.

Identifiers: la valeur de la variable "var".

a leadership

basic

This family contains lists of variable blocks.

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