rougail-output-doc/tests/docs/base/00_2default_calculated_multi.md

5.9 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1
var1:  # a first variable
  - no
  - yes
  - maybe
var2:
  description: a second variable
  multi: true
  default:
    jinja: |
      {% for val in _.var1 %}
      {{ val }}
      {% endfor %}      
    description: the value of _.var1

Variables for "rougail"

Variable                                                                                                                       Description                                                                                                                   
rougail.var1
string standard mandatory unique multiple
A first variable.
Default:
- no
- yes
- maybe
rougail.var2
string standard mandatory unique multiple
A second variable.
Default: the value of _.var1.