Template:Tlx

From Forgotten Fables Wiki
Jump to navigation Jump to search
Template-info.png Documentation

This template behave like {{Tl}} but allows the parameters to be displayed as well. For example, {{tlx|doc/start|clear}} generates {{doc/start{{#fornumargs: i | v | |= }}}}.

Usage

This template is used by entering: {{tlx{{#fornumargs: i | v | |[[#|]]= }}}}

Parameters

unnamed parameter 1
The template name.
unnamed parameters 2, 2', 2", … (optional)
The template parameters.
- represents an unnamed parameter.
represents an unnamed parameter that can be used several times.
A default value can be specified using : instead of =.
For example, {{tlx|test|-|-:def1|-|…|p1:def2|p2}} generates {{test{{#fornumargs: i | v | |= }}}}.
subst (optional)
Use it to substitute the template.
format (optional)
Changes the template format.
Allowed values are stretched and multiline in addition to the default value.
anchors (optional)
Use it to put links on parameters too.