Template:Pp-protected: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
update to return nothing and categorize in Category:Wikipedia pages with incorrect protection templates when no edit protection
(Undid previous reversion; the code works, and the update is desirable. If contested, feel free to revert.)
(update to return nothing and categorize in Category:Wikipedia pages with incorrect protection templates when no edit protection)
Line 1:
<includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]|
<includeonly>{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|semi
Line 33 ⟶ 34:
| {{ns:12}} = [[Category:Protected project pages|{{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>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu