rougail-output-doc/tests/docs/base/40_2leadership_leader_calculation.adoc

51 lines
1.8 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
leader:
description: a leadership
type: leadership
leader:
description: a leader
multi: true
default:
jinja: |
val1
val2
description: returns val1 and val2
follower1: # a first follower
follower2: # a second follower
----
== Variables for "rougail"
=== a leadership
`basic`
This family contains lists of variable blocks.
[cols="105a,105a",options="header"]
|====
| Variable | Description
|
**rougail.leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A leader. +
**Default**: returns val1 and val2.
|
**rougail.leader.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A first follower.
|
**rougail.leader.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A second follower.
|====