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

59 lines
2.3 KiB
Text

== 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"
[cols="121a,121a",options="header"]
|====
| Variable | Description
|
**rougail.condition** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `obligatoire` |
A condition. +
**Défaut**: True
|====
=== a leadership
`basic`
This family contains lists of variable blocks.
[cols="121a,121a",options="header"]
|====
| Variable | Description
|
**rougail.leader.leader** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `obligatoire` `unique` `multiple` |
Aleader. +
**Défaut**:
* a
|
**rougail.leader.follower** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `obligatoire` _`désactivé`_ |
A follower. +
**Désactivé**: if condition is yes.
|====