Template:TSwitch/doc
< Template:TSwitch
Jump to navigation
Jump to search
Revision as of 14:39, 2 February 2023 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikidata.org and adapted for SL Wiki)
![]() |
This is a ![]() ![]() It contains usage information, ![]() |
This is the
TemplateData for this template used by TemplateWizard,
VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
!["Wikipedia logo"](https://ll-pwiki-assets-production.s3.amazonaws.com/images/2/24/Wikipedia-16px.png)
!["Wikipedia logo"](https://ll-pwiki-assets-production.s3.amazonaws.com/images/2/24/Wikipedia-16px.png)
TemplateData for TSwitch
{
"description": {
"en": "This template is used to return the name of translatable templates in the current user interface language. Templates internationalized using per-language pages on Wikidata use language code subpages like “Template:template/langcode” by convention (e.g. Template:Foo’s German translation is Template:Foo/de). This template returns the title of the translation in user language if that exists, and the wiki default language otherwise."
},
"format": "inline",
"params": {
"1": {
"description": {
"en": "The name of the template to get translations for."
},
"label": {
"en": "template"
},
"required": true,
"type": "wiki-template-name"
}
}
}
See also
- {{TNTN}} – does the same but with page language instead of interface language