rougail-output-doc/tests/docs/base/00_9default_calculation.adoc

39 lines
1.1 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
variable:
description: a variable
default:
type: jinja
jinja: |
{{ param1 }}_{{ param2 }}_{{ param3 }}_{{ param4 }}
params:
param1: string
param2: 1
param3: true
param4:
description: concat all parameters
----
== Variables for "rougail"
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**rougail.variable** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A variable. +
**Default**: concat all parameters.
|====
== Example with all variables modifiable
[,yaml]
----
rougail:
variable: string_1_True_None
----