Template:Pp-vandalism: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nihiltres
quick-add demolevel parameter for main protectionlevel check
Ookami (talk | contribs)
m 44 revisions imported
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]|{{pp-meta
<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude>
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
{{documentation}}
  |semi
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=full
  |#default=full<!--fallback value-->}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|expiry={{{expiry|}}}
|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.-->
  |semi
  |autoconfirmed=no
  |administrator
  |full
  |sysop=yes<!--to enable disclaimer against version endorsement-->
  |#default=yes<!--fallback value-->}}
|reason=&#32;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}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 05:27, 3 September 2020