模板:Documentation:修订间差异
外观
小 更改“模板:Documentation”的保护等级([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))[联锁] |
无编辑摘要 |
||
第3行: | 第3行: | ||
-->{{#ifeq: {{SUBPAGENAME}} | sandbox | -->{{#ifeq: {{SUBPAGENAME}} | sandbox | ||
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}} | | <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}} | ||
}} | }} | ||
<!-- | |||
Start of green doc box. | Start of green doc box. | ||
-->{{documentation/start box2 | -->{{documentation/start box2 |
2013年9月16日 (一) 04:11的最新版本
就像这个一样给模板创建个模板文档模板框.
使用方法
基本
- 在模板最后添加
<noinclude>{{documentation}}</noinclude>
- 点击 "编辑" (/doc) 即可添加文档内容
- 如果要给模板添加分类, 请在 /doc 里添加并用 includeonly. 例:
<includeonly>[[分类:编辑模板]]</includeonly>
内嵌文档
不推荐. 如果要在文档同一页面下添加简单的文档可以用以下方法
<noinclude>{{documentation|content=文档内容}}</noinclude>
上述说明文档来自于本页包含的模板:Documentation/doc。(编辑 | 历史) |