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

7.4 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: false  # a conditional variable
family:
  description: a family
  hidden:
    type: jinja
    jinja: |
      {% if not rougail.condition %}
      condition is false
      {% endif %}      
    description: if not condition
  variable:  # a variable

Variables for "rougail"

Variable                                                                                                Description                                                                                            
rougail.condition
boolean standard mandatory
A conditional variable.
Default: False

a family

basic hidden

Hidden: if not condition.

Variable                                                                                                Description                                                                                            
rougail.family.variable
string basic mandatory
A variable.

Example with mandatory variables not filled in

---
rougail:
  family:
    variable: example

Example with all variables modifiable

---
rougail:
  condition: false
  family:
    variable: example