2024-11-06 17:39:13 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: 1.1
var1:
description: a second variable
multi: true
default:
- no
- yes
test:
- val1
- val2
validators:
- params:
values:
variable: _.var1
whole: true
jinja: |
{% if values | length > 2 %}
length must be less than 3
{% endif %}
description: check length is less than 3
```
2024-11-15 08:13:45 +01:00
# Variables for "Rougail"
2024-11-06 17:39:13 +01:00
2024-11-07 22:51:28 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **rougail.var1** < br /> [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A second variable.< br /> **Validator**: check length is less than 3.< br /> **Default**: < br /> - no< br /> - yes< br /> **Examples**: < br /> - val1< br /> - val2 |
2024-11-06 17:39:13 +01:00