{{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 name | 1 | Name of the template to be translated. | 模板 | 必填 |
Language | uselang | Language in which the template will be translated.
| 字串 | 選填 |
tntns | tntns | Specify another namespace from which the translatable pagename will be transcluded, instead of referencing the page name from the default :Template: namespace. | 不明 | 選填 |
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. | 頁面名稱 | 選填 |
noshift | noshift | Disable default behavior of shifting numbered parameters down by one position. 'template' must also be used if this is enabled. | 布林值 | 選填 |
sandbox | sandbox | 沒有描述 | 不明 | 選填 |