"टेम्पलेट:Pp-blp" की अवतरण में अंतर

Now works on semi and fully protected pages
(Add new parameter (no change to behavior unless it is used))
(Now works on semi and fully protected pages)
<includeonly>{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|type=semi
|semi
|disallowlevel=sysop
|autoconfirmed=semi
|demospace={{{demospace|}}}
|administrator
|demolevel={{{demolevel|undefined}}}
|full
|sysop=full
|#default=full<!--fallback value-->}}
|small={{{small|}}}
|right={{{right|}}}
|demospace={{{demospace|}}}
|demolevel={{{demolevel|undefined}}}
|expiry={{{expiry|}}}
|reason=&#32;to promote compliance with [[Wikipedia:Biographies of living persons|Wikipedia's&nbsp;policy on&nbsp;the&nbsp;biographies of&nbsp;living&nbsp;people]]
|icon-reason=to promote compliance with the policy on biographies of living people
|categories={{{categories|{{#if:{{{expiry|}}}|[[Category{{#switch:Wikipedia temporarily semi-protected biographies of living people|{{PAGENAME}}]]|[[Category:Wikipedia indefinitely semi-protected biographies of living people{demolevel|{{PAGENAME}}]]PROTECTIONLEVEL:edit}}}}}
|type=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}}}}}
|semi
|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>
{{pp-semiPp-blp|categories=no|demospace=main|demolevel=autoconfirmedfull}}
 
{{Documentation}}
</noinclude>
नामालूम प्रयोगकर्ता