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|}}}| 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> | ||
---- | ---- |
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.
- This template will categorize into Cat:Semi-protected from banned users and Cat:Protected pages with expiry expired.