Template:Translated tag: Difference between revisions
More actions
m Changed protection level for "Template:Translated tag": downgraded protection level per consensus ([Move=Allow only template editors and administrators] (indefinite) [Edit=Allow only template editors and administrators] (indefinite)) |
close the <b> tag even outside of the template namespace |
||
| Line 13: | Line 13: | ||
<div>{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation.<!-- | <div>{{lang|en|'''''NOTE:'' Please do ''not'' use this template directly! This is just for translation.<!-- | ||
-->{{#ifeq:{{NAMESPACE}}|{{ns:10}}<!-- leave this part out on non-template pages because it won't make sense --> | -->{{#ifeq:{{NAMESPACE}}|{{ns:10}}<!-- leave this part out on non-template pages because it won't make sense --> | ||
|  Use {{tl|{{{template|{{#ifexist:{{BASEPAGENAME}}|{{BASEPAGENAME}}|{{#titleparts:{{PAGENAME}}|1}}}}}}}}} instead! | |  Use {{tl|{{{template|{{#ifexist:{{BASEPAGENAME}}|{{BASEPAGENAME}}|{{#titleparts:{{PAGENAME}}|1}}}}}}}}} instead! | ||
}}<!-- | }}'''<!-- | ||
-->}}</div> | -->}}</div> | ||
</div> | </div> | ||
Revision as of 00:55, 10 January 2021
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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | Type | 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}}.
Add one of the following as the first parameter:
| 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 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).
| ||||||||||
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
العربية ∙ беларуская (тарашкевіца) ∙ বাংলা ∙ čeština ∙ Deutsch ∙ English ∙ español ∙ euskara ∙ فارسی ∙ français ∙ galego ∙ עברית ∙ हिन्दी ∙ Bahasa Indonesia ∙ italiano ∙ 日本語 ∙ 한국어 ∙ македонски ∙ മലയാളം ∙ Bahasa Melayu ∙ Nederlands ∙ polski ∙ português ∙ русский ∙ sicilianu ∙ slovenščina ∙ српски / srpski ∙ svenska ∙ ไทย ∙ Türkçe ∙ українська ∙ Tiếng Việt ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension.