Template:Translatable template

Template page
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Translatable template/doc. Changes can be proposed in the talk page.

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

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Template name1

Name of the template to be translated.

Templaterequired
Languageuselang

Language in which the template will be translated.

Default
language of the current page
Stringoptional
tntnstntns

Specify another namespace from which the translatable pagename will be transcluded, instead of referencing the page name from the default :Template: namespace.

Unknownoptional
templatetemplate

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 nameoptional
noshiftnoshift

Disable default behavior of shifting numbered parameters down by one position. 'template' must also be used if this is enabled.

Booleanoptional
sandboxsandbox

no description

Unknownoptional

See also