rougail-output-doc/tests/docs/base/44_9calculated_default_leadership_leader.md

42 lines
5.9 KiB
Markdown
Raw Permalink Normal View History

2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: 1.1
leader:
description: leader
type: leadership
leader: # a leader
- a
- b
follower:
description: a follower
disabled:
jinja: |
{% if _.leader == "a" %}
the value of "leader" is "a"
{% endif %}
description: if the value of "leader" is "a"
default:
variable: _.leader
```
# Variables pour "rougail"
2024-07-10 21:27:48 +02:00
## rougail.leader
`standard`
This family contains lists of variable blocks.
| Variable                                                                                                                   | Description                                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.leader.leader**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `obligatoire` `unique` `multiple` | A leader.<br/>**Défaut**: <br/>- a<br/>- b |
| **rougail.leader.follower**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `obligatoire` _`désactivé`_ | A follower.<br/>**Défaut**: la valeur de la variable "rougail.leader.leader".<br/>**Désactivé**: if the value of "leader" is "a". |
2024-07-10 21:27:48 +02:00