Difference between revisions of "Template:Pp-protected"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Template:Pp-semi-protected]]
<includeonly>{{#ifeq:{{PROTECTIONLEVEL:edit}}||[[Category:Wikipedia pages with incorrect protection templates|{{PAGENAME}}]]|
[[Category:Protection templates]]
{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=full
  |#default=full<!--fallback value-->}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|expiry={{{expiry|}}}
|dispute=no
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
|categories={{{category|
{{#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 semi-protected pages|{{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 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-template|small=yes}}
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 17:07, 3 February 2009


[edit] Template-info.svg Template documentation

This template is not to be used as a bluff. Only use it on FULLY PROTECTED pages. Only administrators can protect pages.

Usage

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

Note that (UTC) will be added automatically.

This template will categorize depending on the namespace in Category:Protected, Category:Protected project pages, Category:Protected images, Category:Protected templates, Category:Protected talk pages and Category:Protected user and user talk pages. When the protection is expired, it will additionally categorize in Category:Protected pages with expiry expired.


Protection templates
Padlock.svg {{pp-meta}} Full Semi Move
Dispute: {{pp-dispute}} N/A {{pp-move-dispute}}
Vandalism: {{pp-vandalism}} {{pp-semi-vandalism}} {{pp-move-vandalism}}
High visibility templates: {{pp-template}} {{pp-semi-template}} N/A
User talk of blocked user: {{pp-usertalk}} {{pp-semi-usertalk}} N/A
Sockpuppetry: N/A {{pp-semi-sock}} 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}} {{reset}} N/A
Talk page info: {{Permprot}} {{Temprot}} N/A
Create protection: {{pp-create}} N/A

ro:Format:protejat