rougail-output-doc/tests/docs/base/04_1default_calculation_hidden_2.adoc

49 lines
1.8 KiB
Text
Raw Normal View History

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: 1.1
var1:
description: a first variable
default: value
var2:
description: a second variable
disabled:
variable: _.var1
when: value
var3:
description: a third variable
default:
jinja: |
{% if _.var2 is propertyerror %}
value
{% endif %}
----
== Variables for "rougail"
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A first variable. +
**Default**: value
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
A second variable. +
**Disabled**: when the variable "rougail.var1" has the value "value".
|
**rougail.var3** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A third variable. +
**Default**: depends on a calculation.
|====