Template:Tlx/doc
Jump to navigation
Jump to search
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.
- Template:Code represents an unnamed parameter.
- Template:Code represents an unnamed parameter that can be used several times.
- A default value can be specified using Template:Code instead of Template:Code.
- 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 Template:Code and Template:Code in addition to the default value.
- anchors (optional)
- Use it to put links on parameters too.
This is the documentation page, it should be transcluded into the main template page. See template:doc for more information.
es:plantilla:Tlx/docfr:modèle:Tlx/doc