模板:Translatable template

来自星际公民中文百科
Template documentation[view][edit][history][purge]
This documentation is transcluded from 模板: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.

模板参数

参数描述类型状态
Template name1

Name of the template to be translated.

模板必需
Languageuselang

Language in which the template will be translated.

默认值
language of the current page
字符串可选
tntnstntns

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

未知可选
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.

页面名称可选
noshiftnoshift

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

布尔可选
sandboxsandbox

无描述

未知可选

See also


Debug data: