Difference between revisions of "Template:Documentation/end box2"

From Shadow of the Throne Wiki
Jump to: navigation, search
(Refactoring to reduce transclusion depth)
 
m (6 revisions: Multicol pages)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{documentation/end box
 
{{documentation/end box
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading-style = {{{heading-style|}}}
 
 
| content = {{{content|}}}
 
| content = {{{content|}}}
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->

Latest revision as of 13:23, 21 November 2012

</div>{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | Template:Documentation/end box2/doc
   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template = yes
   }}
 }}
| {{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | 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 box2]]

}} }}{{#if:

 {{#switch: Documentation/end box2
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Documentation/end box2]]

}}

{{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:documentation/end box2/template|documentation/end box2/template|undefined|{{#ifeq:documentation/end box2|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:documentation/end box2/template|documentation/end box2/template|undefined|{{#ifeq:documentation/end box2|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:documentation/end box2/template|documentation/end box2/template|undefined|{{#ifeq:documentation/end box2|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 box2/template|documentation/end box2/template|undefined|{{#ifeq:documentation/end box2|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 box2]]}}|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 box2]]}}}}