求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

Template:Documentation/doc

增加 40 位元組, 5 年前
無編輯摘要
This is the {{tlf|Documentation}} template, used on almost every template page to contain that template's [[Documentation|documented instructions and information]].
For detailed instructions on how and when to use this template, see [[Wikipedia百科解密:Template documentation]] (shortcut: [[WP百科解密:TDOC]]).
This template displays a green documentation box like you are seeing now and automatically loads the content from a /doc subpage. It can also load the content from other places if instructed to.
This template is intended for documenting templates and other pages that are [[Wikipedia百科解密:Transclusion|transcluded]] onto other pages. It can be used in the [[Wikipedia百科解密:Template namespace|template namespace]] and most other [[Wikipedia百科解密:Namespace|namespace]]s.
Use of this template allows templates to be [[Wikipedia:Protection policy|protected]] where necessary, while allowing anyone to edit the documentation and categories.
The code should be added at the bottom of the template code, with no space before {{Tag|noinclude|o}} (which would cause extra space on pages where the template is used).
Categories that apply to the template itself should be added to the bottom of the /doc subpage, inside {{Tag|includeonly}} tags. Interwiki links that apply to the template should be listed at [[d:|Wikidata]] (more at [[Wikipedia百科解密:Wikidata|wp:Wikidata]]). For more complex cases, see [[Wikipedia百科解密:Template documentation#Categories and interwiki links]].
If the documentation page contains {{tag|includeonly|o}} or {{tag|noinclude|o}} tags as part of the visible documentation text, replace the "<code>&lt;</code>" with "<code>&amp;lt;</code>".
:[[File:Template-info.png|32px]] '''Template documentation'''
In most other namespaces, such as "Wikipedia百科解密:", it shows this heading:
:'''Documentation'''
===See also===
* {{tl|Documentation subpage}}, a notice placed at the top of a /doc subpage explaining its role and including a link to the page it documents.
* {{tl|Barnstar documentation}}, a variant of {{tl|Documentation}} for use with [[Wikipedia百科解密:Barnstars|barnstar]] templates.
* {{tl|Documentation/color scheme}} presents the color scheme used by {{tl|Documentation}}.
* [[Wikipedia百科解密:Template documentation]] is a how-to guide to template documentation.* [[Wikipedia百科解密:Template sandbox and test cases]] explains the use of /sandbox and /testcases subpages and includes more information about template testing.
* [[User:Technical 13/Scripts/editTemplateNoDoc.js]], a beta script that enables documentation to be hidden by default when editing templates.
行政員使用者查核員拒收員巡檢員管理員、water、waterc、waterh、waterm、waterp、waters、watert、waterv、waterw、waterz
10,318
次編輯