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