Template:Translated tag

From The FunKey Wiki
NOTE: Please do not use this template directly! This is just for translation. Use {{Translated tag}} instead!
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

<templatedata> {"description":{"ar":"هذا القالب يستخدم في رسائل القوالب المترجمة، لتجنب وضعها على صفحات الصور و ليؤدي ذلك لاستخدام القالب الرئيسي (و ليس المترجم).","bar":"De Vurlog dodan werd bai Texte vo ywersetzte Vurlong gnytzt, um z' vahindern, dass de auf Büidlsaiten glånga und um de Benytzung vo der Mastervurlog do sicher z' stöin - und ned etwoa de ywersetzte Vurlog.","be-tarask":"Гэты шаблён выкарыстоўваецца на перакладзеных паведамленьнях шаблёнаў дзеля таго, каб пазьбегнуць прастаноўкі на старонках выяваў і ўжываньня асноўнага шаблёну (а НЕ перакладзенага).","de":"Diese Vorlage wird bei Texten von übersetzten Vorlagen benutzt, um zu verhindern, dass diese auf Bildseiten gelangen, und um die Benutzung der Mastervorlage sicher zu stellen – und nicht etwa die übersetzte Vorlage.","en":"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).","es":"Esta plantilla se usa en plantillas traducidas, para evitar ponerlas en las páginas de imagen y para que se use la plantilla principal en lugar de ellas.","fa":"این الگو برای ترجمهٔ الگوی پیامی استفاده شده‌است، برای جلوگیری از گذاشتن این‌ها در صفحهٔ تصویر و اجازه‌دادن از استفاده از الگوی اصلی (نه ترجمه‌شدهٔ آن).","fr":"Ce modèle est à apposer sur les modèles traduits, pour éviter qu'ils soient apposés sur les pages, et pour conduire les utilisateurs à n'utiliser que le modèle principal (et pas les modèles traduits).","fy":"Dit berjocht wurdt brûkt by oersette berjochten, om foar te kommen dat yn stee fan it haadberjocht de oersetting dêrfan op ôfbyldsiden delsetten wurdt.","ja":"このテンプレートは、マスター・テンプレートを参考訳として翻訳されたものであり、利用の混乱を防ぐため、実際のテンプレート利用にはマスター版を使うように即する、警告メッセージです。","mk":"Овој шаблон се користи кај преведени шаблонски пораки, за да се избегне нивно ставање на страници за слики и да води кон употреба на матичниот шаблон (а НЕ преведениот).","nds":"Disse Vörlaag warrt för Vörlagen bruukt, de översett sünd. Schall helpen, dat disse Vörlagen nich op Bildsieden direkt inbunnen warrt, dor schöölt beter de Hööftvörlagen bruukt warrn, nich de, de in enkelte Spraken översett sünd.","pt":"Esta predefinição é usada nas predefinições traduzidas, para evitar que as predefinições traduzidas sejam colocadas nas páginas de descrição dos ficheiros e levar os utilizadores a usar a predefinição principal (e não a traduzida).","pt-br":"Esta predefinição é usada em páginas traduzidas, para evitar que seja colocada nas páginas dos arquivos e para que se use a predefinição principal no lugar delas.","sq":"Kjo stampë do të vendoset në stampat e përkthyera, për të parandaluar që ato të vendosen në faqe në mënyrë që përdoruesit të përdorin vetëm stampën kryesore (jo stampën e përkthyer).","vo":"Samafomot at pladabon sui samafomots petradutöl, ad vitön, das popladons su pads, ed ad dugön votikanis ad gebön te samafomoti cifik (NO petradutölis).","zh-hant":"本模板適用於經由翻譯的模板訊息, 避免使用者將這些翻譯過的模板當成主模板在圖像描述頁中使用。"},"format":"inline","params":{"1":{"deprecated":false,"description":{"en":"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}}."},"label":"Type","required":true,"suggested":false,"suggestedvalues":["cleanup","license","marker","problem","restriction","header","infobox","navigational","user","protection","source","documentation","localisation"],"type":"string"}},"sets":[]} </templatedata>

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

English  euskara  Lëtzebuergesch  norsk bokmål  asturianu  català  Gaeilge  Malti  dansk  Napulitano  Jawa  lietuvių  eesti  italiano  kurdî  norsk nynorsk  magyar  latviešu  Alemannisch  Boarisch 

This template is localized through {{Autotranslate}}.


To add your language to the list of languages supported by this template, please copy the code of Template:Translated tag/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.

<inputbox> type=create preload=Template:Translated tag/en default=Template:Translated tag/en </inputbox>

English description is on the main template page.