切換選單
切換個人選單
尚未登入
如果您进行任何编辑,您的IP地址会公开展示。

模板:Translatable template

模板頁面
(重新導向自Template:Translatable template
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.

模板參數

參數描述類型狀態
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

Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。