Template:Pp-semi-sock: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap>
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap>
Image:Padlock-silver-medium.svg|15px
Image:Padlock-silver-medium.svg|15px
default [[Wikipedia:Protection policy|This page has been temporarily semi-protected from editing to prevent sock puppets of currently blocked or banned users from editing it.]]
default Wikipedia:Protection policy|This page has been temporarily semi-protected from editing to prevent sock puppets of currently blocked or banned users from editing it.]]
desc none
desc none
</imagemap>|}}
</imagemap>|}}
|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>


----
----
Line 25: Line 25:
{{in category|Semi-protected from banned users|Protected pages with expiry expired}}
{{in category|Semi-protected from banned users|Protected pages with expiry expired}}
[[Category:Protection templates|{{PAGENAME}}]]
[[Category:Protection templates|{{PAGENAME}}]]
</noinclude>
<noinclude>
[[Category:Notice and warning templates]]
</noinclude>
</noinclude>

Latest revision as of 15:16, 12 June 2014



  • Use {{pp-semi-sock}} for the normal template
  • Use {{pp-semi-sock|expiry=June 18, 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.