Template:TranslationParams

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Parameters
Parameter Description
No parameters specified.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:TranslationParams/doc.

Used to document translation variables in a consistent manner.

Usage

{{TranslationParams}}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Used to document translation variables in a consistent manner.

Template parameters

ParameterDescriptionTypeStatus
Variable 1 name1

no description

Stringsuggested
Variable 1 label1label

no description

Linesuggested
Variable 1 description1desc

no description

Contentsuggested
Variable 2 name2

no description

Stringoptional
Variable 2 label2label

no description

Lineoptional
Variable 2 description2desc

no description

Contentoptional
Variable 3 name3

no description

Stringoptional
Variable 3 label3label

no description

Lineoptional
Variable 3 description3desc

no description

Contentoptional
Variable 4 name4

no description

Stringoptional
Variable 4 label4label

no description

Lineoptional
Variable 4 description4desc

no description

Contentoptional
Variable 5 name5

no description

Stringoptional
Variable 5 label5label

no description

Lineoptional
Variable 5 description5desc

no description

Contentoptional
Variable 6 name6

no description

Stringoptional
Variable 6 label6label

no description

Lineoptional
Variable 6 description6desc

no description

Contentoptional
Variable 7 name7

no description

Stringoptional
Variable 7 label7label

no description

Lineoptional
Variable 7 description7desc

no description

Contentoptional
Variable 8 name8

no description

Stringoptional
Variable 8 label8label

no description

Lineoptional
Variable 8 description8desc

no description

Contentoptional
Variable 9 name9

no description

Stringoptional
Variable 9 label9label

no description

Lineoptional
Variable 9 description9desc

no description

Contentoptional
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.