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

8.6 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: no    # a condition
leader:
  description: a leadership
  type: leadership
  leader:
    description: a leader
    multi: true
    hidden:
      type: jinja
      jinja: |
        {% if __.condition == "no" %}
        condition is no
        {% endif %}        
      description: if condition is no
  follower:  # a follower

Variables

Variable                                                                                                Description                                                                                            
condition
string standard mandatory
A condition.
Default: no

a leadership

basic hidden

Hidden: if condition is no.

This family contains lists of variable blocks.

Variable                                                                                                Description                                                                                            
leader.leader
string basic mandatory unique multiple
A leader.
leader.follower
string basic mandatory
A follower.

Example with all variables modifiable

---
condition: no
leader:
  - leader: example
    follower: example