「模板:Documentation/end box」:修訂間的差異

出自竹園Wiki
跳至導覽 跳至搜尋
(移除手工繁簡轉換)
(繁簡轉換)
 
(未顯示由 3 位使用者於中間所作的 6 次修訂)
行 4: 行 4:
-->{{#if:
-->{{#if:
<!--Check if we should show the link box-->
<!--Check if we should show the link box-->
ERROR!}} | off
{{#ifeq: {{{link box|}}} | off
|
|
| ERROR!}}{{
| {{{doc exist|yes}}}{{
#switch: ERROR!}
#switch: {{SUBJECTSPACE}}
| ERROR!}
| {{ns:User}}
| ERROR!} = yes
| {{ns:Template}} = yes
}}
}}
}}
}}
行 17: 行 17:
| image = none
| image = none
| style = background-color: #ecfcf4;
| style = background-color: #ecfcf4;
| textstyle = font-style: italic;
| textstyle =
| text =
| text =
ERROR!}}
{{#if: {{{link box|}}}
| ERROR!}} <!--Use custom link box content-->
| {{{link box}}} <!--Use custom link box content-->
| ERROR!}}
| {{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
| <!--/doc exists, link to it-->
上述[[Wikipedia:模板文頁模式|-文件-]][[Wikipedia:嵌入包含|嵌入]]自[[ERROR!}/doc}}}]]。<small>([ERROR!}/doc}}}|action=edit}} 编辑] &#124; [ERROR!}/doc}}}|action=history}} -修訂記錄-])</small> <br />
上述[[Wikipedia:模板文頁模式|文件]][[Wikipedia:嵌入包含|嵌入]]自[[{{{docpage|{{FULLPAGENAME}}/doc}}}]]。<small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 編輯] &#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} 修訂記錄])</small> <br />
}}<!--
}}<!--
Add links to /sandbox and /testcases when appropriate:
Add links to /sandbox and /testcases when appropriate:
-->ERROR!}
-->{{#switch: {{SUBJECTSPACE}}
| ERROR!}
| {{ns:User}}
| ERROR!} =
| {{ns:Template}} =
编辑者可以在本模板的{{
編輯者可以在本模板的{{
#ifexist: ERROR!}/sandbox }}}
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[ERROR!}/sandbox }}}|沙盒]]<small style="font-style: normal">([ERROR!}/sandbox }}} | action=edit }} 编辑] <nowiki>|</nowiki> [ERROR!}}}}}}&page2=ERROR!}/sandbox}}}}}}} 差])</small>
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|沙盒]]<small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} 編輯] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} 差])</small>
| 沙盒<small style="font-style: normal">([ERROR!}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} -建立-] <nowiki>|</nowiki> [ERROR!}/sandbox }}} | action=edit&preload=ERROR!}}}}}}&summary=ERROR!}}}}]]}} }} 像])</small>
| 沙盒<small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} 建立] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} 像])</small>
}}和{{
}}和{{
#ifexist: ERROR!}/testcases }}}
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
| [[ERROR!}/testcases }}}|测试样例]]<small style="font-style: normal">([ERROR!}/testcases }}} | action=edit }} 编辑])</small>
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|測試樣例]]<small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} 編輯])</small>
| 测试样例<small style="font-style: normal">([ERROR!}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} -建立-])</small>
| 測試樣例<small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} 建立])</small>
}}实验。<br />
}}實驗。<br />
}}<!--
}}<!--
Show the cats text, but not
Show the cats text, but not
if "content" fed or "docname fed" since then it is
if "content" fed or "docname fed" since then it is
unclear where to add the cats.
unclear where to add the cats.
-->ERROR!}} ERROR!}}
-->{{#if: {{{content|}}} {{{docname fed|}}}
|
|
| 在[[ERROR!}/doc}}}|/doc]]子面中-新增-
| 在[[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]]子面中新增分
}}<!--
}}<!--
Show the "Subpages" link:
Show the "Subpages" link:
-->ERROR!}
-->{{#switch: {{SUBJECTSPACE}}
| ERROR!} = <!--Don't show it-->
| {{ns:File}} = <!--Don't show it-->
| ERROR!} = [[Special:PrefixIndex/ERROR!}}}}/|本模板的子面]]。
| {{ns:Template}} = [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|本模板的子面]]。
| #default = [[Special:PrefixIndex/ERROR!}}}}/|本面的子面]]。
| #default = [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|本面的子面]]。
}}
}}
}}ERROR!}/Print
}}{{#ifexist:{{FULLPAGENAME}}/Print
|<br />A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]]
|<br />A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]]
}}
}}
行 61: 行 61:
-->{{#if:
-->{{#if:


<!--Check if ERROR!} is transcluded
<!--Check if {{documentation}} is transcluded
on a /doc or /testcases page-->
on a /doc or /testcases page-->
{{#switch: {{SUBPAGENAME}}
ERROR!}
| doc
| doc
| testcases = strange
| testcases = strange
行 70: 行 70:
to make the surrounding if-case trigger-->
to make the surrounding if-case trigger-->


| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|ERROR!}ERROR!}]]<!-- Sort on namespace --></includeonly>
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>


}}<noinclude>
}}<noinclude>

於 2016年7月9日 (六) 10:34 的最新修訂