Template:Documentation/end box: Difference between revisions
Ostermayer (talk | contribs) No edit summary |
Ostermayer (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<!-- | <noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.--> | ||
</div><!--End of green doc box--><!-- | |||
Link box below for the doc meta-data: | Link box below for the doc meta-data: | ||
{{#if: | -->{{#if: | ||
<!--Check if we should show the link box--> | <!--Check if we should show the link box--> | ||
{{#ifeq: {{{link box|}}} | off | {{#ifeq: {{{link box|}}} | off | ||
| Line 8: | Line 9: | ||
#switch: {{SUBJECTSPACE}} | #switch: {{SUBJECTSPACE}} | ||
| {{ns:User}} | | {{ns:User}} | ||
| {{ns:Template}} = yes | | {{ns:Template}} = yes | ||
}} | }} | ||
}} | }} | ||
| {{fmbox | | {{fmbox | ||
| Line 26: | Line 24: | ||
| <!--/doc exists, link to it--> | | <!--/doc exists, link to it--> | ||
The above [[WikEM:Template documentation|documentation]] is [[WikEM:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br /> | The above [[WikEM:Template documentation|documentation]] is [[WikEM:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br /> | ||
}}<!-- | }}<!-- | ||
Add links to /sandbox and /testcases when appropriate: | Add links to /sandbox and /testcases when appropriate: | ||
-->{{#switch: {{SUBJECTSPACE}} | -->{{#switch: {{SUBJECTSPACE}} | ||
| {{ns:User}} | | {{ns:User}} | ||
| {{ns:Template}} = | | {{ns:Template}} = | ||
Editors can experiment in this | Editors can experiment in this template's {{ | ||
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | #ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | ||
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small> | | [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small> | ||
| sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload- | | sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} create] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} mirror])</small> | ||
}} and {{ | }} and {{ | ||
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}} | #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}} | ||
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small> | | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small> | ||
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload- | | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small> | ||
}} pages. <br /> | }} pages. <br /> | ||
}}<!-- | }}<!-- | ||
| Line 57: | Line 49: | ||
-->{{#switch: {{SUBJECTSPACE}} | -->{{#switch: {{SUBJECTSPACE}} | ||
| {{ns:File}} = <!--Don't show it--> | | {{ns:File}} = <!--Don't show it--> | ||
| {{ns:Template}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]]. | | {{ns:Template}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]]. | ||
| #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]]. | | #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]]. | ||
| Line 65: | Line 56: | ||
}} | }} | ||
}} | }} | ||
}} | }}<!--End link box--><!-- | ||
Detect and report strange usage: | Detect and report strange usage: | ||
{{#if: | -->{{#if: | ||
<!--Check if {{documentation}} is transcluded | <!--Check if {{documentation}} is transcluded | ||
| Line 79: | Line 70: | ||
to make the surrounding if-case trigger--> | to make the surrounding if-case trigger--> | ||
| <includeonly>[[Category:WikEM pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly> | |||
}} | }}<noinclude>{{Languages|Template:Documentation/end_box}}</noinclude> | ||
Revision as of 19:54, 30 December 2013
| The above documentation is transcluded from Template:Documentation/end box/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
