rougail-output-doc/tests/results/test_examples/04_5validators.md

23 lines
3.6 KiB
Markdown
Raw Normal View History

2024-07-10 21:27:48 +02:00
---
gitea: none
include_toc: true
---
2024-12-02 20:21:31 +01:00
# Variables
| Variable                                                                                                | Description                                                                                             |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **int**<br/>[`number`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A number.<br/>**Validator**: the max value is 100. |
# Example with mandatory variables not filled in
2024-07-10 21:27:48 +02:00
```yaml
---
2024-12-02 20:21:31 +01:00
int: 42
2024-07-10 21:27:48 +02:00
```
2024-12-02 20:21:31 +01:00
# Example with all variables modifiable
2024-07-10 21:27:48 +02:00
2024-12-02 20:21:31 +01:00
```yaml
---
int: 42
```