Template:Pp-semi-sock: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
|demospace={{{demospace|}}}
|demospace={{{demospace|}}}
|image=[[Image:Padlock-silver-medium.svg|45px| ]]
|image=[[Image:Padlock-silver-medium.svg|45px| ]]
|text='''Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by unregistered or newly registered users is currently [[Wikipedia:Protection policy|disabled]]{{#if:{{{expiry|}}}|&#32;until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of currently [[Wikipedia:Blocking policy|blocked]] or [[Wikipedia:List of banned users|banned users]] from editing it.''' {{howtoeditsemi}}
|text='''Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by unregistered or newly registered users is currently [[Wikipedia:Protection policy|disabled]]{{#if:{{{expiry|}}}|&#32;until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of currently Wikipedia:Blocking policy|blocked]] or Wikipedia:List of banned users|banned users]] from editing it.''' {{howtoeditsemi}}
|categories={{{categories|[[Category:Semi-protected from banned users|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
|categories={{{categories|Category:Semi-protected from banned users|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>


----
----

Revision as of 15:26, 23 May 2014



  • Use {{pp-semi-sock}} for the normal template
  • Use {{pp-semi-sock|expiry=December 22, 2024}} for a specific expiration date
  • Use {{pp-semi-sock|small=yes}} for just an icon at the top
  • Use {{pp-semi-sock|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 SEMI-PROTECTED pages. Please note that only administrators can protect pages.

Protection templates
[[Template:{{{2}}}|v]]  [{{fullurl:Template:{{{2}}}|action=edit}} e]
Padlock.png pp-meta Full Semi
Dispute: pp-dispute N/A
Vandalism: pp-vandalism pp-semi-vandalism
High visibility templates: {{pp-template}} pp-semi-template
User talk of blocked user: pp-usertalk pp-semi-usertalk
Spambot target: N/A pp-semi-spambot
Sockpuppetry: N/A pp-semi-sock
Generic (other protection): pp-protected pp-semi-protected
Scrutiny of the Office: pp-office reset
Move protection (disputes): pp-move
Move protection (vandalism): pp-move-vandalism
Create protection: pp-create
This template will categorize into Cat:Semi-protected from banned users and Cat:Protected pages with expiry expired.