Template:Pp-vandalism: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
(Needed changes, Sarkarversify)
 
Line 19: Line 19:
   |sysop=yes<!--to enable disclaimer against version endorsement-->
   |sysop=yes<!--to enable disclaimer against version endorsement-->
   |#default=yes<!--fallback value-->}}
   |#default=yes<!--fallback value-->}}
|reason=&#32;due to [[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.-->
|reason=&#32;due to [[Sarkarverse: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=due to vandalism
|icon-reason=due to vandalism
|categories={{{categories|
|categories={{{categories|
Line 26: Line 26:
  |autoconfirmed={{#switch: {{{demospace|{{NAMESPACE}}}}}
  |autoconfirmed={{#switch: {{{demospace|{{NAMESPACE}}}}}
   | {{ns:2}}
   | {{ns:2}}
   | {{ns:3}} = [[Category:Wikipedia semi-protected user and user talk pages|{{PAGENAME}}]]
   | {{ns:3}} = [[Category:Sarkarverse semi-protected user and user talk pages|{{PAGENAME}}]]
   | {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]]
   | {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]]
   | {{ns:4}}
   | {{ns:4}}
   | {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
   | {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
   | {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]]
   | {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Sarkarverse semi-protected templates|{{PAGENAME}}]]
   | #default = {{talk other|[[Category:Semi-protected talk pages]]|[[Category:Wikipedia pages semi-protected against vandalism|{{PAGENAME}}]]}}}}
   | #default = {{talk other|[[Category:Semi-protected talk pages]]|[[Category:Sarkarverse pages semi-protected against vandalism|{{PAGENAME}}]]}}}}
  |administrator
  |administrator
  |full
  |full
  |sysop={{#switch: {{{demospace|{{NAMESPACE}}}}}
  |sysop={{#switch: {{{demospace|{{NAMESPACE}}}}}
   | {{ns:2}}
   | {{ns:2}}
   | {{ns:3}} = [[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]
   | {{ns:3}} = [[Category:Sarkarverse protected user and user talk pages|{{PAGENAME}}]]
   | {{ns:6}} = [[Category:Protected images]]
   | {{ns:6}} = [[Category:Protected images]]
   | {{ns:4}}
   | {{ns:4}}
   | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
   | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
   | {{ns:10}} = [[Category:Sarkarverse protected templates|{{PAGENAME}}]]
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia pages protected against vandalism|{{PAGENAME}}]]}}}}}}
   | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Sarkarverse pages protected against vandalism|{{PAGENAME}}]]}}}}}}
{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]}}|[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{#if:{{{expiry|}}}|{{#ifexpr:{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|[[Category:Sarkarverse pages with incorrect protection templates|{{PAGENAME}}]]}}|[[Category:Sarkarverse protected pages without expiry|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{pp-vandalism|demospace=main|categories=no}}
{{pp-vandalism|demospace=main|categories=no}}
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 19:16, 8 December 2013

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

This template will automatically detect the edit protection level of a page and adjust its appearance and categorization accordingly (showing full or semi-protection, temporary or indefinite, etc). This template will not be visible on pages that are not protected. Please note that only administrators can protect pages.

  • Use {{pp-vandalism}} for the normal template
  • Use {{pp-vandalism|expiry=June 18, 2024}} for a specific expiration date
  • Use {{pp-vandalism|small=yes}} for just an icon at the top
  • Use {{pp-vandalism|expiry={{subst:#time:F j, Y|+7 days}}}} for a specific expiration time period

Note that (UTC) will be added automatically.

See also

{{pp-meta}} Full Semi Move
Dispute: {{pp-dispute}} {{pp-move-dispute}}
Vandalism: {{pp-vandalism}} {{pp-move-vandalism}}
High visibility templates and modules: {{pp-template}} N/A
User talk of blocked user: {{pp-usertalk}} N/A
Sockpuppetry: {{pp-sock}} N/A
WP:BLP: {{pp-blp}} N/A
Long-term: N/A {{pp-semi-indef}} {{pp-move-indef}}
Generic (other protection): {{pp-protected}} {{pp-move}}
Scrutiny of the Office: {{pp-office}} {{pp-reset}} N/A
Talk page info: {{permanently protected}} {{temporarily protected}} N/A
Create protection: {{pp-create}} N/A
Pending changes protection level 1: {{pp-pc1}} N/A
Pending changes protection level 2: {{pp-pc2}} N/A