rougail-output-doc/tests/docs/base/44_5leadership_leader_hidden_calculation.adoc

57 lines
2.1 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== 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
2024-07-10 21:27:48 +02:00
follower: # a follower
----
== Variables for "rougail"
2024-07-10 21:27:48 +02:00
[cols="105a,105a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.condition** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A condition. +
**Default**: no
2024-07-10 21:27:48 +02:00
|====
=== a leadership
`basic` _`hidden`_
2024-07-10 21:27:48 +02:00
**Hidden**: if condition is no.
2024-07-10 21:27:48 +02:00
This family contains lists of variable blocks.
[cols="105a,105a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `unique` `multiple` |
A leader.
2024-07-10 21:27:48 +02:00
|
**rougail.leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A follower.
2024-07-10 21:27:48 +02:00
|====