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

6.2 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 for "rougail"

Variable                                                                                                   Description                                                                                               
rougail.var1
string standard mandatory
A first variable.
Default: value
rougail.var2
string basic mandatory disabled
A second variable.
Disabled: when the variable "rougail.var1" has the value "value".
rougail.var3
string standard mandatory
A third variable.
Default: depends on a calculation.