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

5.6 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: yes    # a condition
variable:
  description: a variable
  disabled:
    type: variable
    variable: _.condition
    when_not: yes

Variables for "rougail"

Variable                                                                                                             Description                                                                                                         
rougail.condition
string standard mandatory
A condition.
Default: yes
rougail.variable
string basic mandatory disabled
A variable.
Disabled: when the variable "rougail.condition" hasn't the value "yes".

Example with mandatory variables not filled in

---
rougail:
  variable: example

Example with all variables modifiable

---
rougail:
  condition: yes
  variable: example