Difference between revisions of "Template:Template doc"

From Shadow of the Throne Wiki
Jump to: navigation, search
(fix to not show red link on new tempalte)
(ns:0 instead)
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude>{{template doc inline|1={{ {{#ifexist:{{SUBJECTSPACEE}}:{{{1|{{PAGENAME}}/doc}}}|{{SUBJECTSPACEE}}:{{{1|{{PAGENAME}}/doc}}}|Template:Template doc/Preload}} }}|2={{SUBJECTSPACEE}}:{{{1|{{PAGENAMEE}}/doc}}}}}
+
<noinclude>{{pp-template|small=yes}}</noinclude>{{template doc inline|1={{ {{#ifexist:{{SUBJECTSPACEE}}:{{{1|{{PAGENAME}}/doc}}}|{{SUBJECTSPACEE}}:{{{1|{{PAGENAME}}/doc}}}|ns:0}} }}|2={{SUBJECTSPACEE}}:{{{1|{{PAGENAMEE}}/doc}}}}}

Revision as of 19:47, 5 July 2007

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

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

|#default={{#if:

     {{#switch:{{#ifeq:template doc/template|template doc/template|undefined|{{#ifeq:template doc|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:template doc/template|template doc/template|undefined|{{#ifeq:template doc|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|template doc]]}}|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|Template doc]]}}}}Template:Template doc inline