跳转到内容

Template:Documentation:修订间差异

计算器百科,非营利的计算器专业知识百科。
春上冰月留言 | 贡献
无编辑摘要
Qinyongr留言 | 贡献
保护“Template:Documentation”:高流量([编辑=仅允许自动确认用户](无限期)[移动=仅允许管理员](无限期))
 
(未显示2个用户的3个中间版本)
第1行: 第1行:
<div class="template-documentation" style="background: aliceblue; padding: 1em; border: 1px solid #aaa;"><!--
<includeonly><div class="template-documentation" style="background: aliceblue; padding: 1em; border: 1px solid #aaa;"><!--
  --><div class="template-documentation-header" style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex"><!--
  --><div class="template-documentation-header" style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex"><!--
     --><span style="font-weight: bold; font-size: 125%">{{#switch:{{NAMESPACE}}
     --><span style="font-weight: bold; font-size: 125%">{{#switch:{{NAMESPACE}}
第22行: 第22行:
  </div>
  </div>
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
</div>
</div></includeonly><noinclude>
{{Documentation}}
</noinclude>
<noinclude>[[Category:模板页的模板]]</noinclude>
<noinclude>[[Category:模板页的模板]]</noinclude>

2016年8月13日 (六) 00:19的最新版本

模板文档  [查看] [编辑] [历史] [刷新]

插入一个内联文档,就像这样

可用于为模板页面插入帮助

例如,在模版页中:

<includeonly><!-- 模板内容 --></includeonly><noinclude> {{Documentation}}</noinclude>

将会插入一个文档,内容为{{FULLPAGENAME}}/doc的内容,如果该页面没有创建,将会显示 [创建] 按钮,点击此按钮即可创建该页面。

模板文档页更新之后,如果内联页面没有更新,请点击内联页右上角的 [刷新] 按钮