Template:Pp-protected: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nihiltres
Undid previous reversion; the code works, and the update is desirable. If contested, feel free to revert.
meta>Cenarium
update to return nothing and categorize in Category:Wikipedia pages with incorrect protection templates when no edit protection
Line 1: Line 1:
<includeonly>{{pp-meta
<includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]|
{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
   |semi
   |semi
Line 33: Line 34:
   | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
   | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}}}</includeonly><noinclude>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}



Revision as of 16:49, 3 February 2009