Difference between revisions of "Template:Pp-move"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
Line 1: Line 1:
<includeonly>{{pp-meta
<includeonly>{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|type=move
  |autoconfirmed=semi
  |administrator
  |sysop=full
  |#default=full<!--fallback value-->}}
|small={{{small|}}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|demospace={{{demospace|}}}
Line 10: Line 6:
|dispute=no
|dispute=no
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
|categories={{{category|
|categories={{{categories|{{#switch: {{NAMESPACE}}
{{#switch:{{PROTECTIONLEVEL:edit}}
  | {{ns:2}}
  |autoconfirmed={{#switch: {{{demospace|{{NAMESPACE}}}}}
| {{ns:3}} = [[Category:Wikipedia move-protected user and user talk pages|{{PAGENAME}}]]
  | {{ns:2}}
| {{ns:4}}
  | {{ns:3}} = [[Category:Wikipedia semi-protected user and user talk pages|{{PAGENAME}}]]
| {{ns:12}} = [[Category:Wikipedia move-protected project pages|{{PAGENAME}}]]
  | {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]]
| #default = {{talk other|[[Category:Wikipedia move-protected talk pages|{{PAGENAME}}]]|[[Category:Wikipedia move-protected pages|{{PAGENAME}}]]}}}}{{#if:{{{expiry|}}}||[[Category:Wikipedia protected pages without expiry|{{PAGENAME}}]]}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}<includeonly></includeonly><noinclude>{{pp-template|small=yes}}
  | {{ns:4}}
{{pp-move|demospace=main|categories=no}}
  | {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
{{Documentation}}
  | {{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}}]]}}}}
|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>
</noinclude>

Revision as of 15:00, 3 February 2009

[edit] Template-info.svg Template documentation

Usage

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

Note that (UTC) will be added automatically.

This template is not to be used as a bluff. Only use it on move-protected pages. Please note that only administrators can protect pages.

This template will categorize articles, portals and templates into Cat:Wikipedia move-protected pages and Cat:Protected pages with expiry expired.
Other pages will be categorized depending on their namespace into Cat:Wikipedia move-protected project pages, Cat:Wikipedia move-protected user and user talk pages and Cat:Wikipedia move-protected talk pages.

See also

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

it:Template:Avvisobloccospostamento ro:Format:Pp-mutare zh:Template:Pp-move