「模板:Documentation/end box」:修訂間差異
跳至導覽
跳至搜尋
Xiplus-bot(留言 | 貢獻) 小 (移除手工繁簡轉換) |
Xiplus-bot(留言 | 貢獻) 小 (繁簡轉換) |
||
(未顯示由 3 位使用者於中間所作的 6 次修訂) | |||
行 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 |
||
}} |
}} |
||
}} |
}} |
||
行 17: | 行 17: | ||
| image = none |
| image = none |
||
| style = background-color: #ecfcf4; |
| style = background-color: #ecfcf4; |
||
| textstyle = |
| textstyle = |
||
| 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:嵌入包含|嵌入]]自[[{{{docpage|{{FULLPAGENAME}}/doc}}}]]。<small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 編輯] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} 修訂記錄])</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 }} 建立] <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">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} 建立])</small> |
||
}} |
}}頁面進行實驗。<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. |
||
--> |
-->{{#if: {{{content|}}} {{{docname fed|}}} |
||
| |
| |
||
| |
| 請在[[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]]子頁面中新增分類。 |
||
}}<!-- |
}}<!-- |
||
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}} |
|||
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| |
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly> |
||
}}<noinclude> |
}}<noinclude> |