Difference between revisions of "Template:Documentation/end box2"
From Shadow of the Throne Wiki
								
												
				|  (Remove template of an unprotected page) | Storyteller (Talk | contribs)  m (6 revisions: Multicol pages) | ||
| (4 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| {{documentation/end box | {{documentation/end box | ||
| | preload = {{{preload|}}}   <!--Allow custom preloads--> | | preload = {{{preload|}}}   <!--Allow custom preloads--> | ||
| − | |||
| − | |||
| | content = {{{content|}}} | | content = {{{content|}}} | ||
| | link box = {{{link box|}}}   <!--So "link box=off" works--> | | link box = {{{link box|}}}   <!--So "link box=off" works--> | ||
| Line 34: | Line 32: | ||
| }}<noinclude> | }}<noinclude> | ||
| + | {{pp-template}} | ||
| <!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
| </noinclude> | </noinclude> | ||
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
   }}
 }}
| | }} {{#if:none
 | none
 | [[File:{{#switch:
   | warning    = Cmbox deletion.png
   | editnotice = Imbox notice.png
   | system          
   | #default   = Imbox notice.png
   }}|40x40px|link=|alt=]]
}} | {{#if: {{#if:
|   |    
   | {{#if: {{#ifexist: 
   {{#if: 
   |    
   | Template:Documentation/end box2/doc
   }}
 | yes
 }}
     | 
       The above documentation is transcluded from [[{{#if: 
 | 
 | Template:Documentation/end box2/doc
 }}]]. ([{{fullurl:{{#if: 
 | 
 | Template:Documentation/end box2/doc
 }}|action=edit}} edit] | [{{fullurl:{{#if: 
 | 
 | Template:Documentation/end box2/doc
 }}|action=history}} history]) }} | {{{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 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]]}}}}
