Template:TranslationParams/doc
This template should use Lua |
This template uses TemplateStyles: |
Used to document translation variables in a consistent manner.
Usage
{{TranslationParams}}
Template parameters
- TemplateData
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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Used to document translation variables in a consistent manner.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Variable 1 name | 1 | no description | String | suggested |
Variable 1 label | 1label | no description | Line | suggested |
Variable 1 description | 1desc | no description | Content | suggested |
Variable 2 name | 2 | no description | String | optional |
Variable 2 label | 2label | no description | Line | optional |
Variable 2 description | 2desc | no description | Content | optional |
Variable 3 name | 3 | no description | String | optional |
Variable 3 label | 3label | no description | Line | optional |
Variable 3 description | 3desc | no description | Content | optional |
Variable 4 name | 4 | no description | String | optional |
Variable 4 label | 4label | no description | Line | optional |
Variable 4 description | 4desc | no description | Content | optional |
Variable 5 name | 5 | no description | String | optional |
Variable 5 label | 5label | no description | Line | optional |
Variable 5 description | 5desc | no description | Content | optional |
Variable 6 name | 6 | no description | String | optional |
Variable 6 label | 6label | no description | Line | optional |
Variable 6 description | 6desc | no description | Content | optional |
Variable 7 name | 7 | no description | String | optional |
Variable 7 label | 7label | no description | Line | optional |
Variable 7 description | 7desc | no description | Content | optional |
Variable 8 name | 8 | no description | String | optional |
Variable 8 label | 8label | no description | Line | optional |
Variable 8 description | 8desc | no description | Content | optional |
Variable 9 name | 9 | no description | String | optional |
Variable 9 label | 9label | no description | Line | optional |
Variable 9 description | 9desc | no description | Content | optional |
Edit parameter translations
Additional information
The template is intended to be used in the following namespaces: unknown
The template is intended to be used by the following user groups: all users
Placement:
In the “/qqq” subpage of a translation.
Localization
This template is localized using Module:TNT. These translations are stored in Data:I18n/TranslationParams.tab.