Template:TSwitch
{{{1}}}/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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
template | 1 | The name of the template to get translations for. | Template | required |
See also
{{TNTN}}
– does the same but with page language instead of interface language
The above documentation is transcluded from Template:TSwitch/doc (edit | history). Editors can experiment in this template's sandbox (edit | diff) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |