Difference between revisions of "Template:Pp-meta"

From Deep Blue Robotics Wiki
Jump to: navigation, search
(image also needs to be put here to change the template)
m (attempting fix of parser function - "full" used to have same value as default)
Line 99: Line 99:
 
  |create=creation-
 
  |create=creation-
 
  |office=<!--null, but should this have a special tag?-->
 
  |office=<!--null, but should this have a special tag?-->
|full
 
 
  |pending=pending changes<nowiki> </nowiki>
 
  |pending=pending changes<nowiki> </nowiki>
 
  |pending2=Level II pending changes<nowiki> </nowiki>
 
  |pending2=Level II pending changes<nowiki> </nowiki>
 +
|full
 
  |#default=<!--null-->
 
  |#default=<!--null-->
 
}}protected{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}]]</div>
 
}}protected{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}]]</div>
Line 124: Line 124:
 
  |create=creation-
 
  |create=creation-
 
  |office=<!--null, but should this have a special tag?-->
 
  |office=<!--null, but should this have a special tag?-->
|full
 
 
  |pending=pending changes<nowiki> </nowiki>
 
  |pending=pending changes<nowiki> </nowiki>
 
  |pending2=Level II pending changes<nowiki> </nowiki>
 
  |pending2=Level II pending changes<nowiki> </nowiki>
 +
|full
 
  |#default=<!--null-->
 
  |#default=<!--null-->
 
}}protected.}}}]]
 
}}protected.}}}]]

Revision as of 09:53, 18 June 2010

{{#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
   }}
 |pending={{#if:
     {{#switch:undefined
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=autoconfirmed
       |#default=}}
     |yes|no
   }}
 |pending2={{#if:
     {{#switch:undefined
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=autoconfirmed
       |#default=}}
     |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|

| Template:Mbox }}|}}

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