Difference between revisions of "Template:Pp-meta"
From Deep Blue Robotics Wiki
(Different positions for pc1 and pc2 padlocks) |
(trying to add comma after date) |
||
Line 87: | Line 87: | ||
|#default=<!--null--> | |#default=<!--null--> | ||
}}protected | }}protected | ||
− | }}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}|alt=Page {{#switch:{{lc:{{{type}}}}} | + | }}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}{{#if:{{{icon-reason|}}}|,}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}|alt=Page {{#switch:{{lc:{{{type}}}}} |
|pc1=protected with pending changes level 1 | |pc1=protected with pending changes level 1 | ||
|pc2=protected with pending changes level 2 | |pc2=protected with pending changes level 2 |
Revision as of 04:15, 2 August 2013
{{#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 }} |pc1 ={{#ifeq: {{#switch:undefined |pc1 = autoconfirmed |undefined = Template:PENDINGCHANGELEVEL |#default = }} |autoconfirmed |yes|no }} |pc2 ={{#ifeq: {{#switch:undefined |pc2 = review |undefined = Template: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| {{#switch:{{{type}}}
| pc1 | pc2 =