Template:Documentation/end box
From Shadow of the Throne Wiki
Revision as of 16:14, 26 September 2011 by MSGJ (Talk) (add link to preload sandbox with mirror copy of live template)
{{#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]]}}}}