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

From Shadow of the Throne Wiki
Jump to: navigation, search
(Undid revision 396599085 by Tbhotch (talk))
(trim)
Line 4: Line 4:
 
| heading-style = {{{heading-style|}}}
 
| heading-style = {{{heading-style|}}}
 
| content = {{{content|}}}
 
| content = {{{content|}}}
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
  
 
| docpage =  
 
| docpage =  
Line 11: Line 10:
 
   | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
 
   | {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/doc
 
   }}
 
   }}
 +
 
| doc exist =  
 
| doc exist =  
 
   {{#ifexist:  
 
   {{#ifexist:  
Line 19: Line 19:
 
   | yes
 
   | yes
 
   }}
 
   }}
| docname fed =
 
  {{#if: {{{1|}}}
 
  | yes
 
  }}
 
 
| sandbox =
 
  {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/sandbox
 
| testcases =
 
  {{{docspace|{{NAMESPACE}}}}}:{{{template page|{{PAGENAME}}}}}/testcases
 
 
| template page =
 
  {{NAMESPACE}}:{{{template page|{{PAGENAME}}}}}
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 23:53, 13 November 2010

{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | Template:Documentation/start box2/doc
   }}
 | yes
 }}
   | [[[{{#if: 
 | 
 | Template:Documentation/start box2/doc
 }}|view]]] [[{{fullurl:{{#if: 
 | 
 | Template:Documentation/start box2/doc
 }}|action=edit}} edit]] [[{{fullurl:{{#if: 
 | 
 | Template:Documentation/start box2/doc
 }}|action=history}} history]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | Template:Documentation/start box2/doc
 }}| action=edit&preload={{
       #if:  
       | 
       | {{#ifeq: Template | File
         | Template:Documentation/preload-filespace
         | Template:Documentation/preload
         }} }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template = 50px Template documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}}

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

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

|#default={{#if:

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