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

36 lines
575 B
Markdown
Raw Normal View History

2024-11-15 08:13:45 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
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
```yaml
---
rougail:
condition: no
leader:
- leader: example
follower: example
```