rougail-output-doc/tests/docs/no_namespace/04_1default_calculation_hidden.md

6.3 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1

var1:
  description: a first variable
  default: value

var2:
  description: a second variable
  disabled:
    variable: _.var1
    when: value

var3:
  description: a third variable
  default:
    jinja: |
      {% if _.var1 == 'value' or _.var2 == 'blah' %}
      value
      {% endif %}      

Variables

Variable                                                                                                     Description                                                                                                 
var1
string standard obligatoire
A first variable.
Défaut: value
var2
string basic obligatoire désactivé
A second variable.
Désactivé: when the variable "var1" has the value "value".
var3
string standard obligatoire
A third variable.
Défaut: depends on a calculation.