30 lines
4.6 KiB
Markdown
30 lines
4.6 KiB
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# dictionaries/rougail/00-base.yml
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
version: 1.1
|
||
|
var1:
|
||
|
description: a second variable
|
||
|
multi: true
|
||
|
default:
|
||
|
- no
|
||
|
- yes
|
||
|
validators:
|
||
|
- jinja: |
|
||
|
{% if _.var1 | length > 9 %}
|
||
|
length must be less than 10
|
||
|
{% endif %}
|
||
|
description: check length is less than 10
|
||
|
```
|
||
|
# Variables
|
||
|
|
||
|
| Variable | Description |
|
||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||
|
| **var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `obligatoire` `unique` `multiple` | A second variable.<br/>**Validator**: check length is less than 10.<br/>**Défaut**: <br/>- no<br/>- yes |
|
||
|
|
||
|
|