rougail-output-doc/tests/docs/no_namespace/00_2default_calculated_variable_transitive.md

6.2 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1

var1:
  description: a first variable
  multi: true
  type: domainname
  params:
    allow_ip: true

var2:
  description: a second variable
  default:
    type: variable
    variable: _.var1

Variables

Variable                                                                                                                             Description                                                                                                                         
var1
domainname basic obligatoire unique multiple
A first variable.
Validator: le nom de domaine peut être une IP
var2
domainname standard obligatoire unique multiple
A second variable.
Validator: le nom de domaine peut être une IP
Défaut: la valeur de la variable "var1".