2024-07-10 21:27:48 +02:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
|
|
|
version: '1.1'
|
|
|
|
int:
|
|
|
|
description: A number
|
|
|
|
type: number
|
|
|
|
validators:
|
2024-11-06 17:39:13 +01:00
|
|
|
- jinja: |
|
2024-07-10 21:27:48 +02:00
|
|
|
{% if _.int > 100 %}
|
|
|
|
value is too high
|
|
|
|
{% endif %}
|
|
|
|
description: the max value is 100
|
|
|
|
----
|
|
|
|
== Variables
|
|
|
|
|
2024-11-06 17:39:13 +01:00
|
|
|
[cols="107a,107a",options="header"]
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
2024-11-06 17:39:13 +01:00
|
|
|
| Variable | Description
|
2024-07-10 21:27:48 +02:00
|
|
|
|
|
|
|
|
**int** +
|
2024-11-06 17:39:13 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[number]` `basic` `obligatoire` |
|
2024-07-10 21:27:48 +02:00
|
|
|
A number. +
|
2024-11-06 17:39:13 +01:00
|
|
|
**Validator**: the max value is 100.
|
2024-07-10 21:27:48 +02:00
|
|
|
|====
|
|
|
|
|
|
|
|
|