rougail-output-doc/tests/docs/examples/44_5leadership_leader_hidden_calculation.md

575 B

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:
      jinja: |
        {% if __.condition == "no" %}
        condition is no
        {% endif %}        
      description: if condition is no
    mandatory: false
  follower:  # a follower

Example with all variables modifiable

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