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

42 lines
1.5 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
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"
2024-07-10 21:27:48 +02:00
[cols="128a,128a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A first variable. +
**Default**:
2024-07-10 21:27:48 +02:00
* no
* yes
* maybe
2024-07-10 21:27:48 +02:00
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A second variable. +
**Default**: the value of _.var1.
2024-07-10 21:27:48 +02:00
|====