Difference between revisions of "Template:Pp-meta"
From Deep Blue Robotics Wiki
(Add support for pending changes level 1 and level 2) |
(Different positions for pc1 and pc2 padlocks) |
||
Line 62: | Line 62: | ||
|no}} | |no}} | ||
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes| | }}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes| | ||
− | <div class="metadata topicon nopopups" id="protected-icon" style="display:none; right:55px;">[[Image:{{{image|{{#switch:{{lc:{{{type}}}}} | + | {{#switch:{{lc:{{{type}}}}} |
+ | | pc1 | pc2 = <div class="metadata topicon nopopups" id="protected-icon" style="display:none; right:25px;"> | ||
+ | | #default = <div class="metadata topicon nopopups" id="protected-icon" style="display:none; right:55px;"> | ||
+ | }}[[Image:{{{image|{{#switch:{{lc:{{{type}}}}} | ||
|full=Padlock.svg | |full=Padlock.svg | ||
|semi=Padlock-silver.svg | |semi=Padlock-silver.svg |
Revision as of 18:07, 26 February 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 =