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

55 lines
2.3 KiB
Text

== 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 %}
description: if condition is yes
----
== Variables
[cols="121a,121a",options="header"]
|====
| Variable | Description
|
**condition** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
A condition. +
**Défaut**: yes
|====
=== a leadership
`basic`
This family contains lists of variable blocks.
[cols="121a,121a",options="header"]
|====
| Variable | Description
|
**leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` `unique` `multiple` |
A leader.
|
**leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` _`désactivé`_ |
A follower. +
**Désactivé**: if condition is yes.
|====