rougail-output-doc/tests/docs/no_namespace/60_2family_dynamic_outside_calc.adoc

68 lines
1.3 KiB
Text

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