rougail-output-doc/tests/docs/base/04_5disabled_calculation_variable2.md
2024-08-05 14:38:59 +02:00

39 lines
5.6 KiB
Markdown

---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
condition: true # a condition
variable:
description: a variable
disabled:
type: variable
variable: _.condition
```
# Variables for "rougail"
| Variable                                                                                                             | Description                                                                                                          |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.condition**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: True |
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "True". |
# Example with mandatory variables not filled in
```yaml
---
rougail:
variable: example
```
# Example with all variables modifiable
```yaml
---
rougail:
condition: true
variable: example
```