Template:Tmpl
Warning: | Do not edit. This page is maintained by an automated tool. All edits should be done at mediawiki.org. (translate this warning) |
This template replaces numeric variables (similar to those used in MediaWiki messages and translatable pages) in a string. In contrast to translatable pages, it supports only numeric variables $1 to $9. One variable can appear several times, so in case of translatable pages, there’s no need to translate the same text more than once.
Usage
{{tmpl |0= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
0 | empty | required |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template replaces numeric variables (similar to those used in MediaWiki messages and translatable pages) in a string. In contrast to translatable pages, it supports only numeric variables <span class="monospaced">$1</span> to <span class="monospaced">$9</span>. One variable can appear several times, so in case of translatable pages, there’s no need to translate the same text more than once.
|
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
Localization
This template is not intended to be localized.
This template is intended to be used on pages using the Translate extension to allow partial translation of the content of <tvar>...</tvar>
tags.
Example
{{<tvar name=1>tmpl|0= <$1 name=$3>$2</$1> </tvar>|tag|content|value}}
which translators will see as:
{{$1|tag|content|value}}