Template:Pp-semi: Difference between revisions
From All Skies Encyclopaedia
Template:Pp-semi
imported>Gurch m (convenient shortcut) |
imported>Stupid2 No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{pp-template|small=yes}} |
|||
#REDIRECT [[Template:Pp-semi-protected]] |
|||
</noinclude>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ |
|||
| |
|||
<div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div> |
|||
<div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator"> |
|||
<imagemap> |
|||
Image:Padlock-silver.svg|22px |
|||
rect 0 0 1000 1000 [[Wikipedia:Protection policy|This page has been semi-protected from editing.]] |
|||
desc none |
|||
</imagemap> |
|||
</div> |
|||
| |
|||
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;"> |
|||
<tr> |
|||
<td valign="center" > [[Image:Padlock-silver.svg|45px| ]]</td> |
|||
<td> |
|||
'''Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by unregistered or newly registered users is currently [[Wikipedia:Semi-protection policy|disabled]]{{#if:{{{expiry|}}}| until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}}{{#if:{{{reason<includeonly>|</includeonly>}}}| because {{lcfirst:{{{reason|<noinclude>of a reason not handled by other semi-protection templates</noinclude>}}}}}}}.''' {{howtoeditsemi}} |
|||
</td> |
|||
</tr> |
|||
</table> |
|||
}}<includeonly>[[Category:Semi-protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}</includeonly><noinclude> |
|||
---- |
|||
''This template is designed for use only on those articles without FA stars (small)'' |
|||
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template |
|||
* Use {{tlx|{{lc:{{PAGENAME}}}}|reason=text}} for applying a specific reason |
|||
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry={{#time:F j, Y|+1 month}}}} for a specific expiration date |
|||
* Use {{tlx|{{lc:{{PAGENAME}}}}|small=yes}} for just an icon at the top |
|||
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry=<nowiki>{{subst:#time:F j, Y|+7 days}}</nowiki>}} 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 [[Wikipedia:Administrators|administrators]] can protect pages. |
|||
{{protection templates}} |
|||
{{in category|Semi-protected|Protected pages with expiry expired}} |
|||
[[Category:Protection templates|{{PAGENAME}}]] |
|||
</noinclude> |
Revision as of 09:58, 9 September 2007
This template is designed for use only on those articles without FA stars (small)
- Use
{{pp-semi}}
for the normal template - Use
{{pp-semi|reason=text}}
for applying a specific reason - Use
{{pp-semi|expiry=July 7, 2025}}
for a specific expiration date - Use
{{pp-semi|small=yes}}
for just an icon at the top - Use
{{pp-semi|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.