45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
== dictionaries/rougail/00-base.yml
|
|
|
|
[,yaml]
|
|
----
|
|
version: '1.1'
|
|
condition: true # a condition
|
|
variable:
|
|
description: a variable
|
|
disabled:
|
|
type: variable
|
|
variable: _.condition
|
|
----
|
|
== Variables for "rougail"
|
|
|
|
[cols="118a,118a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.condition** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
|
A condition. +
|
|
**Default**: True
|
|
|
|
|
**rougail.variable** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
|
A variable. +
|
|
**Disabled**: when the variable "rougail.condition" has the value "True".
|
|
|====
|
|
|
|
|
|
== Example with mandatory variables not filled in
|
|
|
|
[,yaml]
|
|
----
|
|
rougail:
|
|
variable: example
|
|
----
|
|
== Example with all variables modifiable
|
|
|
|
[,yaml]
|
|
----
|
|
rougail:
|
|
condition: true
|
|
variable: example
|
|
----
|