模板:Tpl helpdoc
出自Meshal Lite
(修订版本间的差异)
第1行: | 第1行: | ||
<includeonly> | <includeonly> | ||
{{#ifexist:template:{{BASEPAGENAME}}/desc|{{/desc}} | {{#ifexist:template:{{BASEPAGENAME}}/desc|{{/desc}} | ||
− | <span class="editEntrance">[{{fullurl:template:{{BASEPAGENAME}}/desc|action=edit}} | + | <span class="editEntrance">[{{fullurl:template:{{BASEPAGENAME}}/desc|action=edit}} 编辑简介内容]</span> |
− | |<div class="tplHelpdocCreateButton">[{{fullurl:template:{{BASEPAGENAME}}/desc|action=edit&preload=template:create_tplDesc}} | + | |<div class="tplHelpdocCreateButton">[{{fullurl:template:{{BASEPAGENAME}}/desc|action=edit&preload=template:create_tplDesc}} 这个模板尚无简介内容, 请点此编撰]</div>}} |
<p style="margin: 1em 0;"></p> | <p style="margin: 1em 0;"></p> | ||
{{#ifexist:template:{{BASEPAGENAME}}/help|{{/help}} | {{#ifexist:template:{{BASEPAGENAME}}/help|{{/help}} | ||
− | <span class="editEntrance">[{{fullurl:template:{{BASEPAGENAME}}/desc|action=edit}} | + | <span class="editEntrance">[{{fullurl:template:{{BASEPAGENAME}}/desc|action=edit}} 编辑帮助内容]</span> |
− | |<div class="tplHelpdocCreateButton">[{{fullurl:template:{{BASEPAGENAME}}/help|action=edit&preload=template:create_tplHelp}} | + | |<div class="tplHelpdocCreateButton">[{{fullurl:template:{{BASEPAGENAME}}/help|action=edit&preload=template:create_tplHelp}} 这个模板尚无帮助页内容, 请点此编撰]</div>}}</includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |
在2019年1月3日 (四) 06:06所做的修订版本
编辑简介内容 搭载在其他模板内,调用或编辑模板的子页面(/help和/desc)。 编辑帮助内容
使用
本模板通常搭载在其他模板内,为了不干扰其他模板的使用,需在嵌入本模板时,加入<noinclude></noinclude>
标记。
<noinclude>{{tpl_helpdoc}}</noinclude>