「模板:Documentation/end box」修訂間的差異
跳至導覽
跳至搜尋
Xiplus-bot(討論 | 貢獻) 小 (移除手工繁簡轉換) |
(回退Xiplus-bot (討論)做出的1次編輯:Bot error。) |
||
行 4: | 行 4: | ||
-->{{#if: | -->{{#if: | ||
<!--Check if we should show the link box--> | <!--Check if we should show the link box--> | ||
{{#ifeq: {{{link box|}}} | off | |||
| | | | ||
| | | {{{doc exist|yes}}}{{ | ||
#switch: | #switch: {{SUBJECTSPACE}} | ||
| | | {{ns:User}} | ||
| | | {{ns:Template}} = yes | ||
}} | }} | ||
}} | }} | ||
行 19: | 行 19: | ||
| textstyle = font-style: italic; | | textstyle = font-style: italic; | ||
| text = | | text = | ||
{{#if: {{{link box|}}} | |||
| | | {{{link box}}} <!--Use custom link box content--> | ||
| | | {{#if: {{{doc exist|yes}}} | ||
| <!--/doc exists, link to it--> | | <!--/doc exists, link to it--> | ||
上述[[Wikipedia:模板文档頁模式|-文件-]][[Wikipedia:嵌入包含|嵌入]]自[[ | 上述[[Wikipedia:模板文档頁模式|-{zh-cn:文档; zh-tw:文件;}-]][[Wikipedia:嵌入包含|嵌入]]自[[{{{docpage|{{FULLPAGENAME}}/doc}}}]]。<small>([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 编辑] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} -{zh-hans:页面历史; zh-hant:頁面歷史; zh-cn:页面历史; zh-sg:页面历史; zh-hk:頁面歷史; zh-mo:頁面歷史; zh-tw:修訂記錄;}-])</small> <br /> | ||
}}<!-- | }}<!-- | ||
Add links to /sandbox and /testcases when appropriate: | Add links to /sandbox and /testcases when appropriate: | ||
--> | -->{{#switch: {{SUBJECTSPACE}} | ||
| | | {{ns:User}} | ||
| | | {{ns:Template}} = | ||
编辑者可以在本模板的{{ | 编辑者可以在本模板的{{ | ||
#ifexist: | #ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | ||
| [[ | | [[{{{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">([ | | 沙盒<small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} -{zh-cn:创建; zh-tw:建立;}-] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} 镜像])</small> | ||
}}和{{ | }}和{{ | ||
#ifexist: | #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}} | ||
| [[ | | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|测试样例]]<small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} 编辑])</small> | ||
| 测试样例<small style="font-style: normal">([ | | 测试样例<small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} -{zh-cn:创建; zh-tw:建立;}-])</small> | ||
}}页面进行实验。<br /> | }}页面进行实验。<br /> | ||
}}<!-- | }}<!-- | ||
行 42: | 行 42: | ||
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. | ||
--> | -->{{#if: {{{content|}}} {{{docname fed|}}} | ||
| | | | ||
| 请在[[ | | 请在[[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]]子页面中-{zh-tw:新增;zh-cn:添加;}-分类。 | ||
}}<!-- | }}<!-- | ||
Show the "Subpages" link: | Show the "Subpages" link: | ||
--> | -->{{#switch: {{SUBJECTSPACE}} | ||
| | | {{ns:File}} = <!--Don't show it--> | ||
| | | {{ns:Template}} = [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|本模板的子页面]]。 | ||
| #default = [[Special:PrefixIndex/ | | #default = [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|本页面的子页面]]。 | ||
}} | }} | ||
}} | }}{{#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 | <!--Check if {{documentation}} is transcluded | ||
on a /doc or /testcases page--> | on a /doc or /testcases page--> | ||
{{#switch: {{SUBPAGENAME}} | |||
| 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| | | <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly> | ||
}}<noinclude> | }}<noinclude> | ||
</noinclude> | </noinclude> |
於 2016年4月10日 (日) 16:00 的修訂
上述-{zh-cn:文档; zh-tw:文件;}-嵌入自模板:Documentation/end box/doc。(编辑 | -{zh-hans:页面历史; zh-hant:頁面歷史; zh-cn:页面历史; zh-sg:页面历史; zh-hk:頁面歷史; zh-mo:頁面歷史; zh-tw:修訂記錄;}-) |