rougail-output-doc/tests/docs/no_namespace/40_0leadership_follower_default_calculation.adoc

46 lines
1.8 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
leader:
description: a leadership
type: leadership
leader: # a leader
follower1: value # a follower
follower2:
description: a second follower
default:
jinja: |
{{ _.follower1 }}
description: returns follower1 value
----
== Variables
=== a leadership
`basic`
This family contains lists of variable blocks.
[cols="110a,110a",options="header"]
|====
| Variable | Description
|
**leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` `unique` `multiple` |
A leader.
|
**leader.follower1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
A follower. +
**Défaut**: value
|
**leader.follower2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
A second follower. +
**Défaut**: returns follower1 value.
|====