Template:Pp-protected: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(adding special categories for categories)
(Updating code to reflect update to {{pp-meta}} that makes some manual tricks unnecessary.)
Line 1: Line 1:
<includeonly>{{pp-meta
<includeonly>{{#ifeq:{{{demolevel|{{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 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}}]]}}}}}}}}}</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 10:14, 28 February 2009