切换搜索
搜索
切换菜单
notifications
切换个人菜单
查看“模板:Translatable template/doc”的源代码
来自星际公民中文百科
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Translatable template/doc
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:确认用户
您可以查看和复制此页面的源代码。
{{Documentation}} {{tsh|TNT}} {{t|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 == <templatedata> { "params": { "1": { "label": { "en": "Template name", "fr": "Nom du modèle" }, "description": { "en": "Name of the template to be translated.", "fr": "Nom du modèle à traduire." }, "type": "wiki-template-name", "required": true }, "sandbox": {}, "uselang": { "label": { "en": "Language", "fr": "Langue" }, "description": { "en": "Language in which the template will be translated.", "fr": "Langue dans laquelle le modèle sera traduit." }, "type": "string", "default": { "en": "language of the current page", "fr": "langue de la page actuelle" } }, "tntns": { "description": "Specify another namespace from which the translatable pagename will be transcluded, instead of referencing the page name from the default :Template: namespace." }, "noshift": { "description": "Disable default behavior of shifting numbered parameters down by one position. 'template' must also be used if this is enabled.", "type": "boolean" }, "template": { "description": "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.", "type": "wiki-page-name" } }, "description": { "en": "Translates a template.", "fr": "Traduit un modèle." }, "paramOrder": [ "1", "uselang", "tntns", "template", "noshift", "sandbox" ] } </templatedata> == See also == * [https://www.mediawiki.org/wiki/Template:Translatable_template Template:Translatable template on Mediawiki] <includeonly> [[Category:Translation templates]] </includeonly>
本页使用的模板:
模板:Bulleted list
(
查看源代码
)
模板:Documentation
(
查看源代码
)
模板:Shortcut/styles.css
(
查看源代码
)
模板:T
(
查看源代码
)
模板:T/piece
(
查看源代码
)
模板:Template shortcut
(
查看源代码
)
模板:Template shortcut
(
查看源代码
)
模块:Documentation
(
查看源代码
)
模块:List
(
查看源代码
)
返回
模板:Translatable template/doc
。
Debug data: