Más acciones
Add demolevel functionality to category system |
|||
Línea 1: | Línea 1: | ||
<includeonly>{{pp-meta | <includeonly>{{pp-meta | ||
|type= | |type=full | ||
|small={{{small|}}} | |small={{{small|}}} | ||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
Línea 12: | Línea 6: | ||
|dispute=no | |dispute=no | ||
|reason={{#if:{{{reason|}}}| because {{lcfirst:{{{reason|}}}}}}} | |reason={{#if:{{{reason|}}}| because {{lcfirst:{{{reason|}}}}}}} | ||
|categories={{{category| | |categories={{{category|{{#switch: {{NAMESPACE}} | ||
{{#switch:{{ | | {{ns:2}} | ||
| {{ns:3}} = [[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]] | |||
| {{ns:6}} = [[Category:Protected images]] | |||
| {{ns:4}} | |||
| {{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]]}} | {{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}} | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{template doc}} | {{template doc}} | ||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |