「Template:Documentation」:修訂間差異

出自Arcaea中文维基
(撤销Star0讨论)的版本17122)
標籤復原
(添加没有doc时的说明)
(未顯示由 2 位使用者於中間所作的 11 次修訂)
第1行: 第1行:
<includeonly>
<div style="font-family: sans-serif;color: #202122;line-height: 1.6;direction: ltr;clear: both;margin: 1em 0 0 0;border: 1px solid #a2a9b1;background-color: #ecfcf4;padding: 5px;">
{| class="center-wikitable" style="border: 1px ;width: 99%;background-color:#ecfcf4;" 
<div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">
|{{icon|icon=remind color|text=说明文档|width=30px}}
<span style="font-weight:bold;font-size:150%;margin-left:5px;margin-right:10px">模板文档</span><span class="plainlinks">[[{{fullurl:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}}} 查看]] [[{{fullurl:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}|action=edit}} 编辑]] [[{{fullurl:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}|action=history}} 历史]] [{{purge| 清除缓存}}]</span></div>
----
{{#ifexist:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}|{{:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}}}| 该模板目前没有文档。<br />如果您知道如何使用此模板,请使用下方的链接创建它。[[分类:没有文档的模板]]}}
{{{{FULLPAGENAME}}/doc}}
</div>
|}
<div style="font-family: sans-serif;color: #202122;line-height: 1.6;direction: ltr;clear: both;margin: 1em 0 0 0;border: 1px solid #a2a9b1;background-color: #ecfcf4;padding-left: 5px;">
{|
上述文档嵌入自[[{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}]]。<small style="font-style: normal;">(<span class="plainlinks">[{{fullurl:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}|action=edit}} 编辑] | [{{fullurl:{{{1|{{{link|{{FULLPAGENAME}}/doc}}}}}}|action=history}} 历史]</span>)</small>
|
</div>
|}
{| class="center-wikitable" style="border: 1px ;width: 99%;background-color:#ecfcf4;" 
| 上述文档嵌入自[[{{FULLPAGENAME}}/doc]]。
|}</includeonly><noinclude>{{Documentation}}</noinclude>

於 2021年6月24日 (四) 20:46 的修訂

模板文檔[查看] [編輯] [歷史] [清除緩存]

這個模板在模板的下方顯示模板說明文檔。

語法

在模板頁面底部添加如下代碼。

<noinclude>{{Documentation}}</noinclude>

在模板頁面的/doc子頁面修改模板說明文檔。

注意<noinclude>前最好不要新增換行。

上述文檔嵌入自Template:Documentation/doc(編輯 | 歷史)