rougail-output-doc/tests/docs/base/00_6choice_calculation.md
2024-08-05 14:38:59 +02:00

3.9 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1
var:
  description: a variable
  default: 9
  choices:
    type: jinja
    jinja: |
      {% for n in trange(0, 10) %}
      {{ n }}
      {% endfor %}      
    return_type: number
    description: choices is 0 to 9

Variables for "rougail"

Variable                                                                                                   Description                                                                                               
rougail.var
choice standard mandatory
A variable.
Choices: choices is 0 to 9.
Default: 9

Example with all variables modifiable

---
rougail:
  var: 9