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

60 lines
2.3 KiB
Text
Raw Permalink Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
condition: true # a condition
leader:
description: a leadership
type: leadership
leader:
description: aleader
default:
- a
follower:
description: a follower
disabled:
jinja: |
{% if rougail.condition == "yes" %}
condition is yes
{% endif %}
description: if condition is yes
----
== Variables pour "rougail"
2024-07-10 21:27:48 +02:00
[cols="121a,121a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.condition** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` |
2024-07-10 21:27:48 +02:00
A condition. +
**Défaut**: True
2024-07-10 21:27:48 +02:00
|====
=== a leadership
`basic`
This family contains lists of variable blocks.
[cols="121a,121a",options="header"]
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` `obligatoire` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
Aleader. +
**Défaut**:
2024-07-10 21:27:48 +02:00
* a
2024-07-10 21:27:48 +02:00
|
**rougail.leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` _`désactivé`_ |
2024-07-10 21:27:48 +02:00
A follower. +
**Désactivé**: if condition is yes.
2024-07-10 21:27:48 +02:00
|====