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

58 lines
1.9 KiB
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.1'
var: # A identifier variable
2024-07-10 21:27:48 +02:00
- val1
- val2
dyn{{ identifier }}:
2024-07-10 21:27:48 +02:00
description: A dynamic family
dynamic:
variable: _.var
var:
description: A dynamic variable
default:
jinja: |
{{ identifier }}
2024-07-10 21:27:48 +02:00
params:
identifier:
type: identifier
2024-07-10 21:27:48 +02:00
description: from suffix
----
== Variables for "rougail"
2024-07-10 21:27:48 +02:00
[cols="108a,108a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A identifier variable. +
**Default**:
2024-07-10 21:27:48 +02:00
* val1
* val2
2024-07-10 21:27:48 +02:00
|====
=== A dynamic family
`standard`
This family builds families dynamically.
**Identifiers**: the value of the variable "rougail.var".
2024-07-10 21:27:48 +02:00
[cols="108a,108a",options="header"]
2024-07-10 21:27:48 +02:00
|====
| Variable | Description
2024-07-10 21:27:48 +02:00
|
**rougail.dynval1.var** or **rougail.dynval2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A dynamic variable. +
**Default**: from suffix.
2024-07-10 21:27:48 +02:00
|====