rougail-output-doc/tests/docs/base/60_5family_dynamic_calc_suffix.adoc

72 lines
1.3 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
---
2024-07-10 21:27:48 +02:00
version: '1.1'
2024-07-10 21:27:48 +02:00
var1:
description: A suffix variable
default:
- val1
- val2
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
dynamic:
variable: _.var1
2024-07-10 21:27:48 +02:00
var:
description: A dynamic variable
2024-07-10 21:27:48 +02:00
var2:
description: A variable calculated
default:
variable: rougail.dynval1.var
2024-07-10 21:27:48 +02:00
----
2024-11-15 08:13:45 +01:00
== Variables for "Rougail"
2024-07-10 21:27:48 +02:00
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**rougail.var1** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A suffix variable. +
**Default**:
2024-07-10 21:27:48 +02:00
* val1
2024-11-15 08:13:45 +01:00
* val2
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
=== rougail.dyn__val1__ or rougail.dyn__val2__
2024-07-10 21:27:48 +02:00
`basic`
This family builds families dynamically.
**Identifiers**: the value of the variable "rougail.var1".
2024-07-10 21:27:48 +02:00
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
**rougail.dyn__val1__.var** +
**rougail.dyn__val2__.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
A dynamic variable.
2024-07-10 21:27:48 +02:00
|====
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**rougail.var2** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A variable calculated. +
2024-11-15 08:13:45 +01:00
**Default**: the value of the variable "rougail.dynval1.var".
2024-07-10 21:27:48 +02:00
|====