打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Documentation/doc:修订间差异

来自INFWiki
9Yan留言 | 贡献
无编辑摘要
9Yan留言 | 贡献
文字替换 -“documentation”替换为“Documentation”
第1行: 第1行:
{{Documentation}}
{{Documentation}}
The '''documentation''' template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".  
The '''Documentation''' template is transcluded in the template/module Documentation. This template should only be used on subpages titled "doc".  


==Usage==
==Usage==
Place {{T|documentation}} at the top of the documentation page.  
Place {{T|Documentation}} at the top of the Documentation page.  


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}}.
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 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}}
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 documentation.  
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 documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled \"doc\"."
"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".

模板参数

参数描述类型状态
未指定参数