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

57 lines
2.1 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
condition: no # a condition
leader:
description: a leadership
type: leadership
leader:
description: a leader
multi: true
hidden:
jinja: |
{% if __.condition == "no" %}
condition is no
{% endif %}
description: if condition is no
mandatory: false
2024-07-10 21:27:48 +02:00
follower: # a follower
----
== Variables
[cols="107a,107a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**condition** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A condition. +
**Défaut**: no
2024-07-10 21:27:48 +02:00
|====
=== a leadership
`basic` _`caché`_
2024-07-10 21:27:48 +02:00
**Caché**: if condition is no.
2024-07-10 21:27:48 +02:00
This family contains lists of variable blocks.
[cols="107a,107a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `unique` `multiple` |
A leader.
2024-07-10 21:27:48 +02:00
|
**leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` |
A follower.
2024-07-10 21:27:48 +02:00
|====