Modèle:Pp-meta

Révision datée du 31 juillet 2014 à 17:05 par AzertyZoulou (discussion | contributions) (1 version : templates de wikipédia)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

{{#ifeq:{{#switch:{{{type}}}

 |move={{#ifeq:
     {{#switch:undefined
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:undefined
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |template={{#if:
     {{#switch:undefined
       |templateeditor |template      = templateeditor
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:undefined
       |pc1                           = autoconfirmed 
       |undefined                     = Modèle:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:undefined
       |pc2                           = review 
       |undefined                     = Modèle:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:undefined
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:undefined
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

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

| {{#invoke:Message box|mbox}} }}|}}

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}