跳转到内容

模板:Documentation/zh

来自天灾之下:危险连接资料站
wiki>Winston Sung2025年8月3日 (日) 13:56的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


模板文档

这个模板自动显示“模板-{zh-hans:文档; zh-hant:文件;}-”框,就像你现在看到的这样,-{zh-hans:文档; zh-hant:文件;}-框中的内容由其它页面生成。 It is intended for pages which are transcluded in other pages, i.e. templates, whether in the template namespace or not.

用法

自定义展示

Overrides exist to customise the output in special cases:

  • {{documentation|heading=}} - 改变顶部的Documentation文字。 If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.

Rationale

This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation and categories. 它也通过避免模板限制减少了服务器开销。(见开发者的解释)

参阅