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

40 lines
6.1 KiB
Markdown
Raw 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
```
2024-11-15 08:13:45 +01:00
# Variables for "Rougail"
2024-07-10 21:27:48 +02:00
## rougail.leader
`standard`
This family contains lists of variable blocks.
2024-11-15 08:13:45 +01:00
| Variable                                                                                                                       | Description                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.leader.leader**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A leader.<br/>**Default**: <br/>- a<br/>- b |
| **rougail.leader.follower**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A follower.<br/>**Default**: the value of the variable "rougail.leader.leader".<br/>**Disabled**: if the value of "leader" is "a". |
2024-07-10 21:27:48 +02:00