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

56 lines
2.3 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
condition: yes # a condition
leader:
description: a leadership
type: leadership
leader:
description: a leader
multi: true
follower:
description: a follower
disabled:
jinja: |
{% if __.condition == "yes" %}
disabled
{% endif %}
2024-07-10 21:27:48 +02:00
description: if condition is yes
----
== Variables pour "rougail"
2024-07-10 21:27:48 +02:00
[cols="121a,121a",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` `obligatoire` |
2024-07-10 21:27:48 +02:00
A condition. +
**Défaut**: yes
2024-07-10 21:27:48 +02:00
|====
=== a leadership
`basic`
This family contains lists of variable blocks.
[cols="121a,121a",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]` `basic` `obligatoire` `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` `obligatoire` _`désactivé`_ |
2024-07-10 21:27:48 +02:00
A follower. +
**Désactivé**: if condition is yes.
2024-07-10 21:27:48 +02:00
|====