Template:Translatable template/doc
More actions
{{Translatable template}} is a heavily used template which allows us to do two things. 1. Show a localized version of a template if available 2. Have 1 overhead template that can be used by DPL to display information from various templates into 1 table.
TemplateData
Translates a template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Template name | 1 | Name of the template to be translated. | Template | required | 
| Language | uselang | Language in which the template will be translated. 
 | String | optional | 
| tntns | tntns | Specify another namespace from which the translatable pagename will be transcluded, instead of referencing the page name from the default :Template: namespace. | Unknown | optional | 
| template | template | Name of template to find translated version of. When 'noshift=1' is also present, this parameter will be used instead of $1 to lookup the template in the user's selected language. | Page name | optional | 
| noshift | noshift | Disable default behavior of shifting numbered parameters down by one position. 'template' must also be used if this is enabled. | Boolean | optional | 
| sandbox | sandbox | no description | Unknown | optional | 
See also