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

53 lines
1.7 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
---
2024-07-10 21:27:48 +02:00
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 for "rougail"
2024-07-10 21:27:48 +02:00
=== rougail.leader
`standard`
This family contains lists of variable blocks.
[cols="1a,1a"]
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` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A leader. +
**Default**:
2024-07-10 21:27:48 +02:00
* a
* b
2024-07-10 21:27:48 +02:00
|
**rougail.leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_disabled_` |
2024-07-10 21:27:48 +02:00
A follower. +
**Default**: the value of the variable "rougail.leader.leader". +
**Disabled**: if the value of "leader" is "a".
2024-07-10 21:27:48 +02:00
|====