rougail-output-doc/tests/docs/base/60_5family_dynamic_calc2.md

8.9 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'

var:  # A suffix variable
  - val1
  - val2

var2:  # a second variable

dyn{{ identifier }}:
  description: A dynamic family
  dynamic:
    variable: _.var
  hidden:
    jinja: |
      {% if _.var2 == "no" %}
      var2 is no
      {% endif %}      
    description: if var2 is no

  vardyn: val  # a dynamic variable

Variables pour "rougail"

Variable                                                                                                     Description                                                                                                 
rougail.var
string standard obligatoire unique multiple
A suffix variable.
Défaut:
- val1
- val2
rougail.var2
string basic obligatoire
A second variable.

A dynamic family

standard caché

Caché: if var2 is no.

This family builds families dynamically.

Identifiers: la valeur de la variable "rougail.var".

Variable                                                                                                     Description                                                                                                 
rougail.dynval1.vardyn ou rougail.dynval2.vardyn
string standard obligatoire
A dynamic variable.
Défaut: val