टेम्पलेट:Pp-blp: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
Add new parameter (no change to behavior unless it is used) |
Now works on semi and fully protected pages |
||
लाइन 1: | लाइन 1: | ||
<includeonly>{{pp-meta |
<includeonly>{{pp-meta |
||
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|||
⚫ | |||
|semi |
|||
|disallowlevel=sysop |
|||
|autoconfirmed=semi |
|||
⚫ | |||
|administrator |
|||
⚫ | |||
|full |
|||
|sysop=full |
|||
|#default=full<!--fallback value-->}} |
|||
|small={{{small|}}} |
|small={{{small|}}} |
||
|right={{{right|}}} |
|right={{{right|}}} |
||
⚫ | |||
⚫ | |||
|expiry={{{expiry|}}} |
|expiry={{{expiry|}}} |
||
|reason= to promote compliance with [[Wikipedia:Biographies of living persons|Wikipedia's policy on the biographies of living people]] |
|reason= to promote compliance with [[Wikipedia:Biographies of living persons|Wikipedia's policy on the biographies of living people]] |
||
|icon-reason=to promote compliance with the policy on biographies of living people |
|icon-reason=to promote compliance with the policy on biographies of living people |
||
|categories={{{categories|{{#if:{{{expiry|}}}|[[Category:Wikipedia temporarily semi-protected biographies of living people|{{PAGENAME}}]]|[[Category:Wikipedia |
|categories={{{categories|{{#if:{{{expiry|}}}|{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
||
|semi |
|||
|autoconfirmed=[[Category:Wikipedia temporarily semi-protected biographies of living people|{{PAGENAME}}]] |
|||
|administrator |
|||
|full |
|||
|sysop=[[Category:Wikipedia temporarily protected biographies of living people|{{PAGENAME}}]]}}}} |
|||
{{#if:{{{expiry|}}}||{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|||
⚫ | |||
|autoconfirmed=[[Category:Wikipedia indefinitely semi-protected biographies of living people|{{PAGENAME}}]] |
|||
|administrator |
|||
|full |
|||
|sysop=[[Category:Wikipedia indefinitely protected biographies of living people|{{PAGENAME}}]]}}}} |
|||
{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]}}|}}}}} |
|||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{ |
{{Pp-blp|categories=no|demospace=main|demolevel=full}} |
||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |