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

跳至導覽 跳至搜尋
增加 859 位元組 、​ 2016年7月9日 (星期六)
繁簡轉換
(移除手工繁簡轉換)
(繁簡轉換)
 
(未顯示由 3 位使用者於中間所作的 6 次修訂)
-->{{#if:
<!--Check if we should show the link box-->
ERROR!{{#ifeq: {{{link box|}}} | off
|
| ERROR!{{{doc exist|yes}}}{{
#switch: ERROR!{{SUBJECTSPACE}}
| ERROR!{{ns:User}}
| ERROR!{{ns:Template}} = yes
}}
}}
| image = none
| style = background-color: #ecfcf4;
| textstyle = font-style: italic;
| text =
ERROR!{{#if: {{{link box|}}}
| ERROR!{{{link box}}} <!--Use custom link box content-->
| ERROR!{{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
上述[[Wikipedia:模板文頁模式|-文件-]][[Wikipedia:嵌入包含|嵌入]]自[[ERROR!{{{docpage|{{FULLPAGENAME}}/doc}}}]]。<small style="font-style: normal">([ERROR!{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 编辑編輯] &#124; [ERROR!{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} -修訂記錄-])</small> <br />
}}<!--
Add links to /sandbox and /testcases when appropriate:
-->ERROR!{{#switch: {{SUBJECTSPACE}}
| ERROR!{{ns:User}}
| ERROR!{{ns:Template}} =
编辑編輯者可以在本模板的{{
#ifexist: ERROR!{{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[ERROR!{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|沙盒]]<small style="font-style: normal">([ERROR!{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} 编辑編輯] <nowiki>|</nowiki> [ERROR!{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2=ERROR!{{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} 差])</small>
| 沙盒<small style="font-style: normal">([ERROR!{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} -建立-] <nowiki>|</nowiki> [ERROR!{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=ERROR!{{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary=ERROR!{{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} 像])</small>
}}和{{
#ifexist: ERROR!{{{testcases| {{FULLPAGENAME}}/testcases }}}
| [[ERROR!{{{testcases| {{FULLPAGENAME}}/testcases }}}|测试样測試樣例]]<small style="font-style: normal">([ERROR!{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} 编辑編輯])</small>
| 测试样測試樣例<small style="font-style: normal">([ERROR!{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} -建立-])</small>
}}实验實驗。<br />
}}<!--
Show the cats text, but not
if "content" fed or "docname fed" since then it is
unclear where to add the cats.
-->ERROR!{{#if: {{{content|}}} ERROR!{{{docname fed|}}}
|
| 在[[ERROR!{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]]子面中-新增-
}}<!--
Show the "Subpages" link:
-->ERROR!{{#switch: {{SUBJECTSPACE}}
| ERROR!{{ns:File}} = <!--Don't show it-->
| ERROR!{{ns:Template}} = [[Special:PrefixIndex/ERROR!{{{template page|{{FULLPAGENAME}}}}}/|本模板的子面]]。
| #default = [[Special:PrefixIndex/ERROR!{{{template page|{{FULLPAGENAME}}}}}/|本面的子面]]。
}}
}}ERROR!{{#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]]
}}
-->{{#if:
 
<!--Check if ERROR!{{documentation}} is transcluded
on a /doc or /testcases page-->
{{#switch: {{SUBPAGENAME}}
ERROR!}
| doc
| testcases = strange
to make the surrounding if-case trigger-->
 
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|ERROR!{{main other|Main:}}{{FULLPAGENAME}ERROR!}]]<!-- Sort on namespace --></includeonly>
 
}}<noinclude>
1,975

次編輯

導覽選單