Template:Fix/category

From MediaWiki
Jump to: navigation, search

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

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

|#default={{#if:

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

}}|yes|{{#ifeq:yes|yes|

| {{#invoke:Message box|mbox}} }}|}}{{#ifeq:{{#ifeq:fix/category/template|fix/category/template|undefined|{{#ifeq:fix/category|sandbox|sysop|undefined}}}}|templateeditorundefined|{{#switch:Template|Template|Module=|}}}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=}}}}{{#ifeq:template|file|[[category:{{#switch:
  |semi
  |autoconfirmed=semi-protected
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=protected}} images|fix/category]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch:
  |semi
  |autoconfirmed=Semi-protected
  |administrator
  |full
  |sysop
  |templateeditor
  |#default=Protected}} images|Fix/category]]}}}}{{#if:
 |[[{{{cat-date}}} {{#if:
  |from {{{date}}}
 }}]]{{#if:
  |{{#ifexist:{{{cat-date}}} from {{{date}}}|
   |
  }}
 }}
}}{{#if:|{{{cat2}}}}}{{#if:
 |[[{{{cat-date2}}} {{#if:
  |from {{{date}}}
 }}]]{{#if:
  |{{#ifexist:{{{cat-date2}}} from {{{date}}}|
   |
  }}
 }}
}}{{#if:|{{{cat3}}}}}{{#if:
 |[[{{{cat-date3}}} {{#if:
  |from {{{date}}}
 }}]]{{#if:
  |{{#ifexist:{{{cat-date3}}} from {{{date}}}|
   |
  }}
 }}
}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox