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

52 lines
1.1 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: '1.1'
var: # A suffix variable
- val1
- val2
dyn{{ identifier }}:
description: A dynamic family
dynamic:
variable: _.var
var: a value # A dynamic variable with suffix {{ identifier }}
----
== Variables for "Rougail"
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
A suffix variable. +
**Default**:
* val1
* val2
|====
=== A dynamic family
`standard`
This family builds families dynamically.
**Identifiers**: the value of the variable "rougail.var".
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.dyn__val1__.var** +
**rougail.dyn__val2__.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
A dynamic variable with suffix __val1__. +
A dynamic variable with suffix __val2__. +
**Default**: a value
|====