模板:Documentation

来自NebulaeWiki
Kuina留言 | 贡献2023年9月18日 (一) 20:43的版本 (创建页面,内容为“<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo: |type = website |description = {{FULLPAGENAME}}是星际公民Wiki中使用的一个模板页面。模板是嵌入到其他页面的页面,以允许展示重复的信息内容。 |site_name = 星际公民 Wiki - 中文区 |locale = {{PAGELANGUAGE}} }}</includeonly><noinclude>{{/doc}}</noinclude>”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


Template documentation[view][edit][history][purge]
This documentation is transcluded from 模板:Documentation/doc. Changes can be proposed in the talk page.

documentation模板是在template/module文档中转录的。这个模板应该只用在标题中带有"doc"的模板。

用法

将{{documentation}}放在文档页面的顶部。

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}}

提示

这个模板链接到一个/doc,可能看起来毫无用处,然而,它的存在是为了将导航框和用户框链接到其基础模板的文档。


TemplateData

The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".

模板参数

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