模板:Documentation/doc:修订间差异
更多操作
无编辑摘要 |
小 文字替换 -“documentation”替换为“Documentation” |
||
| 第1行: | 第1行: | ||
{{Documentation}} | {{Documentation}} | ||
The ''' | The '''Documentation''' template is transcluded in the template/module Documentation. This template should only be used on subpages titled "doc". | ||
==Usage== | ==Usage== | ||
Place {{T| | Place {{T|Documentation}} at the top of the Documentation page. | ||
If the page to be documented is a subpage, use {{T| | If the page to be documented is a subpage, use {{T|Documentation|pagename of page to be documented}} at the top of the Documentation page. For example, Template:Foo/bar's Documentation page would use {{T|Documentation|Template:Foo/bar}}. | ||
The template will attempt to auto detect and link <code><nowiki>{{#Invoke:}}</nowiki></code> calls on template | The template will attempt to auto detect and link <code><nowiki>{{#Invoke:}}</nowiki></code> calls on template Documentations or the <code>require()</code>/<code>mw.loadData()</code> depedency list on module Documentations. If you want to supress the auto generated dependency list, use {{T|Documentation|DependencyList=no}} | ||
==Note== | ==Note== | ||
This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's | This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's Documentation. | ||
<includeonly></includeonly> | <includeonly></includeonly> | ||
| 第17行: | 第17行: | ||
{ | { | ||
"params": {}, | "params": {}, | ||
"description": "The | "description": "The Documentation template is transcluded in the template/module Documentation. This template should only be used on subpages titled \"doc\"." | ||
} | } | ||
</templatedata> | </templatedata> | ||
2025年8月2日 (六) 19:08的版本
The Documentation template is transcluded in the template/module Documentation. This template should only be used on subpages titled "doc".
Usage
Place {{Documentation}} at the top of the Documentation page.
If the page to be documented is a subpage, use {{Documentation|<pagename of page to be documented>}} at the top of the Documentation page. For example, Template:Foo/bar's Documentation page would use {{Documentation|<Template:Foo/bar>}}.
The template will attempt to auto detect and link {{#Invoke:}} calls on template Documentations or the require()/mw.loadData() depedency list on module Documentations. If you want to supress the auto generated dependency list, use {{Documentation}}
Note
This template links to a /doc that may appear useless, however, it exists in order to link navboxes and userboxes to their base template's Documentation.
TemplateData
The Documentation template is transcluded in the template/module Documentation. This template should only be used on subpages titled "doc".
| 参数 | 描述 | 类型 | 状态 | |||
|---|---|---|---|---|---|---|
| 未指定参数 | ||||||