rougail-output-doc/tests/docs/base/24_0family_hidden_condition.md

7.4 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: no    # the variable use has condition
family:
  description: possibly hidden family
  hidden:
    jinja: |
      {% if rougail.condition == "yes" %}
      condition is yes
      {% endif %}      
    description: if condition is yes
  var1:  # a variable

Variables pour "rougail"

Variable                                                                                                  Description                                                                                              
rougail.condition
string standard obligatoire
The variable use has condition.
Défaut: no

possibly hidden family

basic caché

Caché: if condition is yes.

Variable                                                                                                  Description                                                                                              
rougail.family.var1
string basic obligatoire
A variable.