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

51 lines
1.7 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: 1.1
leader:
description: leader
type: leadership
leader: # a leader
- a
- b
follower:
description: a follower
disabled:
jinja: |
{% if _.leader == "a" %}
the value of "leader" is "a"
{% endif %}
description: if the value of "leader" is "a"
default:
variable: _.leader
----
== Variables pour "rougail"
=== rougail.leader
`standard`
This family contains lists of variable blocks.
[cols="124a,124a",options="header"]
|====
| Variable | Description
|
**rougail.leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` `unique` `multiple` |
A leader. +
**Défaut**:
* a
* b
|
**rougail.leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` _`désactivé`_ |
A follower. +
**Défaut**: la valeur de la variable "rougail.leader.leader". +
**Désactivé**: if the value of "leader" is "a".
|====