Template:Pp-vandalism: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Cenarium update using {{PROTECTIONLEVEL:edit}}, see here |
meta>Nihiltres Creating a monster… or rather, merely merging {{pp-semi-vandalism}} here, with all that that entails in terms of massacring the neatness of the code. |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}| | <includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]|{{pp-meta | ||
|type=full | |type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | ||
|semi | |||
|autoconfirmed=semi | |||
|administrator | |||
|full | |||
|sysop=full | |||
|#default=full<!--fallback value-->}} | |||
|small={{{small|}}} | |small={{{small|}}} | ||
|demospace={{{demospace|}}} | |demospace={{{demospace|}}} | ||
|expiry={{{expiry|}}} | |expiry={{{expiry|}}} | ||
|dispute=yes<!--to enable disclaimer against version endorsement--> | |dispute={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}<!--having this switch may be unnecessary, but as it was "yes" here and "no" on pp-semi-vandalism, the template is changed less this way.--> | ||
|reason= to [[Wikipedia:Vandalism|deal with vandalism | |semi | ||
|icon-reason=to | |autoconfirmed=no | ||
|categories={{{categories|[[Category:Wikipedia pages protected against vandalism|{{PAGENAME}}]]}}}}}|[[Category:Wikipedia pages with | |administrator | ||
|full | |||
|sysop=yes<!--to enable disclaimer against version endorsement--> | |||
|#default=yes<!--fallback value-->}} | |||
|reason= to prevent [[Wikipedia:Vandalism|vandalism]]<!--was "to deal with vandalism" before, pp-semi-vandalism used "due to vandalism", so it's been changed to "to prevent vandalism", which is probably more descriptive. This is, naturally, open to discussion and editing.--> | |||
|icon-reason=to prevent vandalism | |||
|categories={{{categories| | |||
{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | |||
|semi | |||
|autoconfirmed={{#switch: {{{demospace|{{NAMESPACE}}}}} | |||
| {{ns:2}} | |||
| {{ns:3}} = [[Category:Wikipedia semi-protected user and user talk pages|{{PAGENAME}}]] | |||
| {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]] | |||
| {{ns:4}} | |||
| {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]] | |||
| {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]] | |||
| {{ns:10}} = [[Category:Wikipedia semi-protected templates|{{PAGENAME}}]] | |||
| #default = {{talk other|[[Category:Semi-protected talk pages]]|[[Category:Wikipedia pages semi-protected against vandalism|{{PAGENAME}}]]}}}} | |||
|administrator | |||
|full | |||
|sysop={{#switch: {{{demospace|{{NAMESPACE}}}}} | |||
| {{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 pages protected against vandalism|{{PAGENAME}}]]}}}}}} | |||
{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}|[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}}}}}}}}</includeonly><noinclude>{{pp-template|small=yes}} | |||
{{pp-vandalism|demospace=main|categories=no}} | {{pp-vandalism|demospace=main|categories=no}} | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |