Más acciones
adding special categories for categories |
Updating code to reflect update to {{pp-meta}} that makes some manual tricks unnecessary. |
||
Línea 1: | Línea 1: | ||
<includeonly> | <includeonly>{{pp-meta | ||
{{pp-meta | |||
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | |type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | ||
|semi | |semi | ||
Línea 10: | Línea 9: | ||
|small={{{small|}}} | |small={{{small|}}} | ||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
|demolevel={{{demolevel|}}} | |||
|expiry={{{expiry|}}} | |expiry={{{expiry|}}} | ||
|dispute=no | |dispute=no | ||
Línea 36: | Línea 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]]}} | ||