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

51 lines
1 KiB
Text
Raw Permalink 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
[cols="1a,1a"]
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
|
2024-11-15 08:13:45 +01:00
**var1** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A first variable. +
2024-11-15 08:13:45 +01:00
**Default**: value
|
2024-11-15 08:13:45 +01:00
**var2** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` |
A second variable. +
2024-11-15 08:13:45 +01:00
**Disabled**: when the variable "var1" has the value "value".
|
2024-11-15 08:13:45 +01:00
**var3** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A third variable. +
2024-11-15 08:13:45 +01:00
**Default**: depends on a calculation.
|====