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 | 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|}}}| until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of currently | |text='''Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by unregistered or newly registered users is currently [[Wikipedia:Protection policy|disabled]]{{#if:{{{expiry|}}}| 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| | |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=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.
- This template will categorize into Cat:Semi-protected from banned users and Cat:Protected pages with expiry expired.