Template:Ns:File

From HallCWiki
Revision as of 08:43, 1 May 2013 by Ellie (Talk | contribs) (New page: {{ {{{|safesubst:}}}#if: {{{1|}}} | {{ {{{|safesubst:}}}#ifeq: {{{{{|safesubst:}}}NAMESPACE:{{{1|}}}}} | {{{{{|safesubst:}}}ns:File}} | {{{{{|safesubst:}}}FULLPAGENAME:{{{1...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{

 safesubst:#if: 
 | {{
     safesubst:#ifeq:  | File
     | 
     | File:{{safesubst:#if:X|}}
   }}
 |

}} {{#ifeq: Ns:File | sandbox

|
Template:Template sandbox notice

}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq: | sysop

 | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:ns:file/template|ns:file/template|undefined|{{#ifeq:ns:file|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:ns:file/template|ns:file/template|undefined|{{#ifeq:ns:file|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:{{#ifeq:ns:file/template|ns:file/template|undefined|{{#ifeq:ns:file|sandbox|sysop|undefined}}}}
       |pc1                           = autoconfirmed 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:{{#ifeq:ns:file/template|ns:file/template|undefined|{{#ifeq:ns:file|sandbox|sysop|undefined}}}}
       |pc2                           = review 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:ns:file/template|ns:file/template|undefined|{{#ifeq:ns:file|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:{{#ifeq:ns:file/template|ns:file/template|undefined|{{#ifeq:ns:file|sandbox|sysop|undefined}}}}
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

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

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}} 
| pc1 | pc2 =