rougail-output-doc/tests/docs/base/04_5disabled_calculation.md

7.1 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: no    # a conditional variable
variable1:
  description: a first variable
  disabled:
    jinja: |
      {% if _.condition == "yes" %}
      condition is yes
      {% endif %}      
    description: if condition is egal to "yes"
variable2:
  description: a second variable
  disabled:
    jinja: |
      {% if _.condition == "yes" %}
      condition is yes
      {% endif %}      
    description: if condition is egal to "yes"

Variables pour "rougail"

Variable                                                                                                                Description                                                                                                            
rougail.condition
string standard obligatoire
A conditional variable.
Défaut: no
rougail.variable1
string basic obligatoire désactivé
A first variable.
Désactivé: if condition is egal to "yes".
rougail.variable2
string basic obligatoire désactivé
A second variable.
Désactivé: if condition is egal to "yes".