Template:Pp-protected: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(rm preview)
(fix includeonly)
Line 1: Line 1:
<noinclude>{{pp-template}}
<noinclude>{{pp-template|small=yes}}
</noinclude><includeonly>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
</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:20px; top:10px; height:10px; width:300px;"></div>
<includeonly><div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator">
<div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator">
<imagemap>
<imagemap>
Image:Padlock.svg|20px
Image:Padlock.svg|20px
Line 19: Line 19:
</tr>
</tr>
</table>
</table>
}}[[Category:Protected|{{{PAGENAME}}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}</includeonly><noinclude>
}}<includeonly>[[Category:Protected|{{{PAGENAME}}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}</includeonly><noinclude>


----
----

Revision as of 15:35, 28 March 2007

20px

rect 0 0 1000 1000 This page has been protected from editing
desc none

</imagemap>


  • Use {{pp-protected}} for the normal template
  • Use {{pp-protected|expiry=August 7, 2024}} for a specific expiration date
  • Use {{pp-protected|small=yes}} for just an icon at the top
  • Use {{pp-protected|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.