39 lines
1 KiB
Text
39 lines
1 KiB
Text
|
== dictionaries/rougail/00-base.yml
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
version: '1.1'
|
||
|
var:
|
||
|
description: a variable
|
||
|
type: choice
|
||
|
default: 9
|
||
|
choices:
|
||
|
type: jinja
|
||
|
jinja: |
|
||
|
{% for item in trange(0, 10) %}
|
||
|
{{ item }}
|
||
|
{%- endfor %}
|
||
|
return_type: number
|
||
|
description: choice for 0 to 9
|
||
|
----
|
||
|
== Variables
|
||
|
|
||
|
[cols="108a,108a",options="header"]
|
||
|
|====
|
||
|
| Variable | Description
|
||
|
|
|
||
|
**var** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` |
|
||
|
A variable. +
|
||
|
**Choices**: choice for 0 to 9. +
|
||
|
**Default**: 9
|
||
|
|====
|
||
|
|
||
|
|
||
|
== Example with all variables modifiable
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
var: 9
|
||
|
----
|