Template:Protect: Difference between revisions

mNo edit summary
(Replacing <imagemap> with <indicator>)
 
Line 2: Line 2:
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
|
|
<div style="float:right; margin-top:-50px;" class="metadata" id="administrator">
<indicator name="foo">[[Image:Padlock.png|20px|link=Grand Theft Wiki:Protection|This page is protected from editing to deal with vandalism]]</indicator>
<imagemap>
Image:Padlock.png|20px
rect 0 0 1000 1000 [[Grand Theft Wiki:Protection|This page is protected from editing to deal with vandalism]]
desc none
</imagemap>
</div>
|
|
{{ambox|type=protection|image=[[Image:Padlock.png|45px|link=Grand Theft Wiki:Protection|This page is protected from editing to pevent vandalism]]|text='''This {{#switch:{{NAMESPACE}}|{{ns:0}}=article|{{ns:image}}=image|#default=page}} is currently [[Grand Theft Wiki:Protection|protected]] from editing {{#if:{{{expiry|}}}|until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} to prevent [[Grand Theft Wiki:Vandalism|vandalism]].'''<br />
{{ambox|type=protection|image=[[Image:Padlock.png|45px|link=Grand Theft Wiki:Protection|This page is protected from editing to pevent vandalism]]|text='''This {{#switch:{{NAMESPACE}}|{{ns:0}}=article|{{ns:image}}=image|#default=page}} is currently [[Grand Theft Wiki:Protection|protected]] from editing {{#if:{{{expiry|}}}|until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} to prevent [[Grand Theft Wiki:Vandalism|vandalism]].'''<br />

Latest revision as of 00:36, 27 January 2015




  • Use {{Template:Protect}} for the normal template
  • Use {{Template:Protect|small=yes}} for just an icon at the top (recommended)
  • Use {{Template:Protect|expiry={{#time:F j, Y|+1 month}}}} for a specific expiration date
  • Use {{Template:Protect|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 FULLY PROTECTED pages. Please note that only Administrators can protect pages.