rougail-output-doc/tests/docs/no_namespace/40_8calculation_boolean.md

7.7 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
bool: false  # a boolean variable
multi1:
  description: a first multi variable
  type: boolean
  multi: true
  default:
    jinja: |
      {% if _.bool %}
      True
      False
      {% else %}
      False
      {% endif %}      
    description: a calculation
multi2:
  description: a second multi variable
  type: boolean
  multi: true
  default:
    jinja: |
      {% if not _.bool %}
      True
      False
      {% else %}
      False
      {% endif %}      
    description: a calculation

Variables

Variable                                                                                                                          Description                                                                                                                      
bool
boolean standard obligatoire
A boolean variable.
Défaut: False
multi1
boolean standard obligatoire unique multiple
A first multi variable.
Défaut: a calculation.
multi2
boolean standard obligatoire unique multiple
A second multi variable.
Défaut: a calculation.