This page is protected against editing.

Template:Translated tag

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
NOTE: Please do not use this template directly! This is just for translation. Use {{Translated tag}} instead.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Translated tag/doc.

This template is used on translated template messages, to avoid getting these on image pages and to lead to use the master template (NOT the translated one).

Usage

{{Translated tag |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1TypeAll categorization of translated tags is done through this template. It will add a local category based on the template's language and a general maintenance category based on the type of template it is. For the latter, you must supply the "type" as the first parameter. See Template:Translated tag/local category-en for possible values (or view template code). All templates lacking this will end up in Category:Translated templates needing categories (however they will still be in a proper language-based category). If none of the available options match the template in question just leave it as {{translated tag}}.

Add one of the following as the first parameter:

  • cleanup
  • license
  • marker
  • problem
  • restriction
  • header
  • infobox
  • navigational
  • user
  • protection
  • source
  • documentation
  • localisation (this is a special case for translations that can be used directly, note the UK spelling)
For example, you would change {{translated tag}} to {{translated tag|cleanup}} for cleanup templates.
emptyrequired
Template data
<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

This template is used on translated template messages, to avoid getting these on image pages and to lead to use the master template (NOT the translated one).

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

All categorization of translated tags is done through this template. It will add a local category based on the template's language and a general maintenance category based on the type of template it is. For the latter, you must supply the "type" as the first parameter. See [[Template:Translated tag/local category-en]] for possible values (or view template code). All templates lacking this will end up in [[:Category:Translated templates needing categories]] (however they will still be in a proper language-based category). If none of the available options match the template in question just leave it as {{translated tag}}.

Suggested values
cleanup license marker problem restriction header infobox navigational user protection source documentation localisation
Stringrequired

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Placement: At the bottom of the page

Localization

العربية  অসমীয়া  asturianu  azərbaycanca  Boarisch  беларуская  беларуская (тарашкевіца)  български  বাংলা  bosanski  català  Cebuano  čeština  dansk  Deutsch  Österreichisches Deutsch  Schweizer Hochdeutsch  Deutsch (Sie-Form)  Zazaki  Ελληνικά  English  Esperanto  español  eesti  euskara  فارسی  suomi  français  Frysk  Gaeilge  galego  Alemannisch  עברית  हिन्दी  hrvatski  magyar  հայերեն  Bahasa Indonesia  italiano  日本語  Jawa  ქართული  қазақша  ភាសាខ្មែរ  한국어  조선말  kurdî  Lëtzebuergesch  lietuvių  latviešu  македонски  മലയാളം  मराठी  Bahasa Melayu  Malti  Mirandés  မြန်မာဘာသာ  Napulitano  norsk bokmål  Plattdüütsch  Nederlands  norsk nynorsk  occitan  polski  پښتو  português  português do Brasil  română  русский  sicilianu  සිංහල  slovenčina  slovenščina  српски / srpski  Sunda  svenska  ślůnski  தமிழ்  తెలుగు  ไทย  Tagalog  Türkçe  українська  vèneto  Tiếng Việt  粵語  中文  +/−

This template makes use of {{Autotranslate}} and the translate extension.