Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Translated tag/doc: Difference between revisions

Template page
m use {{mld}} at description
update
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{TemplateBox
{{TemplateBox
|1=1
| 1     = 1
|1d=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).
| 1d-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 {{tlf|translated tag}}.
 
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 need to 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 {{tlf|translated tag}}.


Add one of the following as the first parameter:  
Add one of the following as the first parameter:  
Line 21: Line 20:


For example, you would change <nowiki>{{translated tag}}</nowiki> to <nowiki>{{translated tag|cleanup}}</nowiki> for cleanup templates.
For example, you would change <nowiki>{{translated tag}}</nowiki> to <nowiki>{{translated tag|cleanup}}</nowiki> for cleanup templates.
|1def=
| 1d-td-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{{))}}.
|1stat=required
| 1label = Type
|name=Translated tag
| 1sv = cleanup/license/marker/problem/restriction/header/infobox/navigational/user/protection/source/documentation/localisation
|desc={{mld
| 1example = For example, you would change <nowiki>{{translated tag}}</nowiki> to <nowiki>{{translated tag|cleanup}}</nowiki> for cleanup templates.
  |ar=هذا القالب يستخدم في رسائل القوالب المترجمة، لتجنب وضعها على صفحات الصور و ليؤدي ذلك لاستخدام القالب الرئيسي (و ليس المترجم).
| 1type = string
  |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.
| 1stat = required
  |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.
| name=Translated tag
  |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.
| desc-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).
  |fa=این الگو برای ترجمهٔ الگوی پیامی استفاده شده‌است، برای جلوگیری از گذاشتن این‌ها در صفحهٔ تصویر و اجازه‌دادن از استفاده از الگوی اصلی (نه ترجمه‌شدهٔ آن).
  |desc-ar=هذا القالب يستخدم في رسائل القوالب المترجمة، لتجنب وضعها على صفحات الصور و ليؤدي ذلك لاستخدام القالب الرئيسي (و ليس المترجم).
  |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).
  |desc-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.
  |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.
  |desc-be-tarask=Гэты шаблён выкарыстоўваецца на перакладзеных паведамленьнях шаблёнаў дзеля таго, каб пазьбегнуць прастаноўкі на старонках выяваў і ўжываньня асноўнага шаблёну (а НЕ перакладзенага).
  |mk=Овој шаблон се користи кај преведени шаблонски пораки, за да се избегне нивно ставање на страници за слики и да води кон употреба на матичниот шаблон (а НЕ преведениот).
  |desc-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.
  |ja=このテンプレートは、マスター・テンプレートを参考訳として翻訳されたものであり、利用の混乱を防ぐため、実際のテンプレート利用にはマスター版を使うように即する、警告メッセージです。
  |desc-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.
  |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.
  |desc-fa=این الگو برای ترجمهٔ الگوی پیامی استفاده شده‌است، برای جلوگیری از گذاشتن این‌ها در صفحهٔ تصویر و اجازه‌دادن از استفاده از الگوی اصلی (نه ترجمه‌شدهٔ آن).
  |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).
  |desc-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).
  |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.
  |desc-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.
  |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).
  |desc-mk=Овој шаблон се користи кај преведени шаблонски пораки, за да се избегне нивно ставање на страници за слики и да води кон употреба на матичниот шаблон (а НЕ преведениот).
  |oc=Aqueste modèl es d'apausar suls modèls traduches, per evitar que sián apausats sus las paginas, e per conduire los utilizaires a utilizar pas que lo modèle principal (e non pas los modèls traduches).
  |desc-ja=このテンプレートは、マスター・テンプレートを参考訳として翻訳されたものであり、利用の混乱を防ぐため、実際のテンプレート利用にはマスター版を使うように即する、警告メッセージです。
  |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).
  |desc-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.
  |zh-hant=本模板適用於經由翻譯的模板訊息, 避免使用者將這些翻譯過的模板當成主模板在圖像描述頁中使用。
  |desc-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).
  }}
  |desc-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.
|namespace=template
  |desc-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).
|usergroup=
  |dsc-oc=Aqueste modèl es d'apausar suls modèls traduches, per evitar que sián apausats sus las paginas, e per conduire los utilizaires a utilizar pas que lo modèle principal (e non pas los modèls traduches).
|placement=
  |desc-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).
|usage-notes=
  |desc-zh-hant=本模板適用於經由翻譯的模板訊息, 避免使用者將這些翻譯過的模板當成主模板在圖像描述頁中使用。
|type=
| namespace = template
|example=
| usergroup = all
|i18n-method=
| placement = bottom
|i18n-desc=
|i18n-mediawiki-msg=
|seealso=
|setscats=
|lines=
|shorthand=
|relieson=
|mustbesubst=
}}


<includeonly>
| i18n-method = ext.translate
| i18n-subpage = i18n
| useTemplateData = 1
}}<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Internationalization templates|*]]
[[Category:Internationalization templates|*]]
[[Category:Internationalised documentation templates|{{PAGENAME}}]]
[[Category:Internationalised documentation templates|{{PAGENAME}}]]
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Template namespace templates|{{PAGENAME}}]]
</includeonly>
}}</includeonly>

Latest revision as of 17:26, 14 February 2022

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


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

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

العربية  беларуская (тарашкевіца)  বাংলা  č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.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.