模板:Documentation:修订间差异
来自INFWiki
更多操作
创建页面,内容为“<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo: |type = website |description = {{FULLPAGENAME}} is a template page used on the Star Citizen Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. |site_name = Star Citizen Wiki |locale = {{PAGELANGUAGE}} }}</includeonly><noinclude>{{/doc}}</noinclude>” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo: | <includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__{{#seo: | ||
|type = website | |type = website | ||
|description = {{FULLPAGENAME}} | |description = {{FULLPAGENAME}}是 INFWiki上使用的一种模板页面。模板是将信息嵌入(内嵌)到其他页面中,以方便信息的重复使用。 | ||
|site_name = | |site_name = INFWiki | ||
|locale = {{PAGELANGUAGE}} | |locale = {{PAGELANGUAGE}} | ||
}}</includeonly><noinclude>{{/doc}}</noinclude> | }}</includeonly><noinclude>{{/doc}}</noinclude> | ||
2025年8月2日 (六) 19:19的最新版本
以下是模板的文档,点击右侧按钮去编辑文档
Documentation 模板被包含在模板/模块文档中。这个模板应该只用于标题为“doc”的子页面。
用法
将 {{Documentation}} 放置在文档页的顶部。
如果要记录的页面是子页面,则在文档页面顶部使用 {{Documentation|<pagename of page to be documented>}}。例如,Template:Foo/bar的文档页面将使用{{Documentation|<Template:Foo/bar>}}。
模板将尝试自动检测并链接模板文档上的 {{#Invoke:}} 调用或模块文档上的 require()/mw.loadData() 依赖列表。如果你想禁用自动生成的依赖列表,使用 {{Documentation}}
注释
这个模板链接到一个/doc,这个/doc可能看起来没用,但是,它的存在是为了将导航框和用户框链接到它们的基本模板的Documentation。
模板数据
“文档”模板被包含在“模板/模块文档”模板中。该模板应仅用于标题为“doc”的子页面。
| 参数 | 描述 | 类型 | 状态 | |||
|---|---|---|---|---|---|---|
| 未指定参数 | ||||||