rougail-output-doc/tests/docs/no_namespace/60_0family_dynamic_test.md

7.2 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'

var:
  description: A suffix variable
  multi: true
  test:
    - val1
    - val2

dyn{{ identifier }}:
  description: A dynamic family
  dynamic:
    variable: _.var

  var:  # A dynamic variable

Variables

Variable                                                                                                Description                                                                                            
var
string basic mandatory unique multiple
A suffix variable.
Examples:
- val1
- val2

A dynamic family

basic

This family builds families dynamically.

Identifiers: the value of the variable "var".

Variable                                                                                                Description                                                                                            
dynval1.var or dynval2.var
string basic mandatory
A dynamic variable.