36 lines
3.9 KiB
Markdown
36 lines
3.9 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# 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
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **var**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: choice for 0 to 9.<br/>**Default**: 9 |
|
||
|
|
||
|
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
var: 9
|
||
|
```
|