Template:Pp-protected: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Cenarium adding special categories for categories |
meta>Nihiltres Updating code to reflect update to {{pp-meta}} that makes some manual tricks unnecessary. |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{pp-meta | ||
{{pp-meta | |||
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | |type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | ||
|semi | |semi | ||
Line 10: | Line 9: | ||
|small={{{small|}}} | |small={{{small|}}} | ||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
|demolevel={{{demolevel|}}} | |||
|expiry={{{expiry|}}} | |expiry={{{expiry|}}} | ||
|dispute=no | |dispute=no | ||
Line 36: | Line 36: | ||
| {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]] | | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]] | ||
| {{ns:14}} = [[Category:Wikipedia protected categories|{{PAGENAME}}]] | | {{ns:14}} = [[Category:Wikipedia protected categories|{{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}}]] | | #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]]}} | ||