Template:Pp-protected: Difference between revisions
From All Skies Encyclopaedia
Template:Pp-protected
imported>Cenarium (adding special categories for categories) |
imported>Nihiltres (Updating code to reflect update to {{pp-meta}} that makes some manual tricks unnecessary.) |
||
Line 1: | Line 1: | ||
⚫ | |||
<includeonly>{{#ifeq:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]| |
|||
⚫ | |||
|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]]}} |
||