「模板:Documentation」:各本之異

[底本][底本]
刪去的內容 新增的內容
H2NCH2COOH
無編輯摘要
Paladox
無編輯摘要
第一行:
}}<!--
{{Clear}}
Automatically add {{template sandbox notice}} when on a /sandbox page.
<div class="template-documentation"><!--
-->{{#ifeq: {{{heading|μ}SUBPAGENAME}} |<!--**賦空值**--> sandbox
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
|<!--** 空 **-->
}}<!--
|<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
Automatically add {{pp-template}} to protected templates.
|<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
-->{{template other
|<!--** /doc 存在** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} 纂]]
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
|<!--**/doc 不存在**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload={{{preload|Template:Documentation/preload}}}}} 立]]
| |{{ns:pp-template|docusage=yes}}
}}</span>
| {{#if: {{PROTECTIONLEVEL:edit}}
}} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[File:Template-info.svg|50px]] 模板文檔|文檔}}}}</span></div>
| {{pp-template|docusage=yes}}
}}<!--
| <!--Not protected, or only semi-move-protected-->
}}
}}
}}<!--
Start of green doc box.
-->{{documentation/start box2
| preload = {{{preload|}}} <!--Allow custom preloads-->
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}}
 
<!--Some namespaces must have the /doc, /sandbox and /testcases
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
in talk space-->
-->{{#ifexist: {{{1|{{Documentation/docname}}}}}
| docspace = {{documentation/docspace}}
|<!--**/doc存在**-->此說明源於此頁所含之[[{{{1|{{Documentation/docname}}}}}]]。<span style="font-size:smaller;font-style: normal;">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} 纂] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} 誌])</span><br />
}}<!--
 
| 1 = {{{1|}}} <!--Other docname, if fed-->
-->{{#switch: {{SUBPAGENAME}}
 
|sandbox|testcases=<!--**在SANDBOX/TESTCASES頁面下不顯示此連結(注:漢語無)**-->
<!--The namespace is added in /start box2-->
|#default=
| template page = {{documentation/template page}}
{{#switch: {{SUBJECTSPACE}}
 
|{{ns:template}}
}}<!-- Start content --><!--
|{{ns:user}}=
Start load the /doc content:
{{#ifexist: {{FULLPAGENAME}}/sandbox
Note: The line breaks between this comment and the next line are necessary
|此模板有[[/sandbox|沙盒]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} 編輯])</small> <!--
so "=== Headings ===" at the start and end of docs are interpreted.
-->{{#ifexist: {{FULLPAGENAME}}/testcases
-->
|和 [[/testcases|測試案例]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} 編輯])</small>}}供編者試驗。
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/解|1|0}}
|{{#ifexist: {{FULLPAGENAME}}/testcases
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110
|此模板有[[/testcases|測試案例]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} 編輯])</small> 供編者試驗。}}
| 1111 = {{{content|}}}
}}}}}}
| 0110 | 0111 = {{ {{{1}}} }}
</div>
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/解 }}
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
| 0000 | 0100 | 0010 | 0101 =
</div>
}}
<noinclude>
<!--
End load the /doc content:
Note: The line breaks between this comment and the previous line are necessary
so "=== Headings ===" at the start and end of docs are interpreted.
-->{{documentation/end box2
| preload = {{{preload|}}} <!--Allow custom preloads-->
| content = {{{content|}}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
 
<!--Some namespaces must have the /doc, /sandbox and /testcases
in talk space-->
| docspace = {{documentation/docspace}}
 
| 1 = {{{1|}}} <!--Other docname, if fed-->
 
<!--The namespace is added in /end box2-->
| template page = {{documentation/template page}}
 
}}<!--
End of green doc box
--><noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>