Difference between revisions of "Template:Documentation/end box"
From Shadow of the Throne Wiki
(change {{!}} to <nowiki>|</nowiki> so that it's one less template listed in the "Pages transcluded onto the current version of this page" section - Easier to see what really is transcluded) |
(tidy up the HTML, esp. one instance of </br> (invalid) - <br /> is valid in both HTML and XHTML; <br> is valid in HTML only; </br> is never valid) |
||
| Line 23: | Line 23: | ||
| {{#if: {{{doc exist|yes}}} | | {{#if: {{{doc exist|yes}}} | ||
| <!--/doc exists, link to it--> | | <!--/doc exists, link to it--> | ||
| − | The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia: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 [[Wikipedia:Template documentation|documentation]] is [[Wikipedia: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: | ||
| Line 37: | Line 37: | ||
| [[{{{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 }} create])</small> | | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small> | ||
| − | }} pages. <br> | + | }} pages. <br /> |
}}<!-- | }}<!-- | ||
Show the cats and interwiki text, but not | Show the cats and interwiki text, but not | ||
| Line 53: | Line 53: | ||
}} | }} | ||
}}{{#ifexist:{{FULLPAGENAME}}/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]] |
}} | }} | ||
}} | }} | ||
Revision as of 09:40, 6 November 2012
{{#ifeq: | off
|
| yes{{
#switch: Template
| User
| Template = yes
}}
}}
|
{{#if:none
| none
| [[File:{{#switch:
| warning = Cmbox deletion.png
| editnotice = Imbox notice.png
| system
| #default = Imbox notice.png
}}|40x40px|link=|alt=]]
}} |
}}
{{#if:
| {{{link box}}}
| {{#if: yes
|
The above documentation is transcluded from Template:Documentation/end box/doc. (edit | history)
}} |
{{#if:
| {{{imageright}}} |
| | warning | editnotice | system =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Documentation/end box]]
}} }}{{#if:
{{#switch: Documentation/end box
| doc
| testcases = strange
}}
|
}} {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi
|autoconfirmed=semi
|administrator
|full
|sysop=indef
|move=move
|#default=indef}}
|move={{#ifeq:
{{#switch:{{#ifeq:documentation/end box/template|documentation/end box/template|undefined|{{#ifeq:documentation/end box|sandbox|sysop|undefined}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined=
|#default=}}
|sysop|yes|no
}}
|create={{#if:
{{#switch:{{#ifeq:documentation/end box/template|documentation/end box/template|undefined|{{#ifeq:documentation/end box|sandbox|sysop|undefined}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined=
|#default=}}
|yes|no
}}
|#default={{#if:
{{#switch:{{#ifeq:documentation/end box/template|documentation/end box/template|undefined|{{#ifeq:documentation/end box|sandbox|sysop|undefined}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined=
|#default=}}
|{{#ifeq:{{#switch:
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|#default=}}
|{{#switch:{{#ifeq:documentation/end box/template|documentation/end box/template|undefined|{{#ifeq:documentation/end box|sandbox|sysop|undefined}}}}
|semi
|autoconfirmed=autoconfirmed
|administrator
|full
|sysop=sysop
|undefined=
|#default=}}
|no|yes
}}
|no}}
}}|yes|{{#ifeq:yes|yes|
| Template:Mbox }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi
|autoconfirmed={{#ifeq:|sysop|}}
|move=
|administrator
|full
|sysop
|#default=}}}}{{#ifeq:template|file|[[category:{{#switch:
|semi
|autoconfirmed=semi-protected
|administrator
|full
|sysop
|#default=protected}} images|documentation/end box]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi
|autoconfirmed={{#ifeq:|sysop|}}
|move=
|administrator
|full
|sysop
|#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch:
|semi
|autoconfirmed=Semi-protected
|administrator
|full
|sysop
|#default=Protected}} images|Documentation/end box]]}}}}