Template:Pp-protected: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Switch to doc subpage per talk request)
(major edit: converting to {{pp-meta}} format)
Line 1: Line 1:
<includeonly>{{pp-meta
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap>
|
Image:Padlock.svg|20px
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div>
default [[Wikipedia:Protection policy|This page has been protected from editing]]
<div style="position:absolute; z-index:100; right:54px; top:8px;" class="metadata" id="administrator">
desc none
<imagemap>
</imagemap>|}}
Image:Padlock.svg|20px
|demospace={{{demospace|}}}
rect 0 0 1000 1000 [[Wikipedia:Protection policy|This page has been protected from editing]]
|image=[[Image:Padlock.svg|45px| ]]
desc none
|text='''This page is {{#if:{{{tprot|}}}|temporarily|currently}} [[Wikipedia:This page is protected|protected]] from editing{{#if:{{{expiry|}}}|&#32;until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}}{{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log])</span>. {{howtoedit}}
</imagemap>
|categories={{{categories|[[Category:Protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
</div>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
|
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;">
<tr>
<td valign="center" > [[Image:Padlock.svg|45px| ]]</td>
<td>
'''This page is {{#if:{{{tprot|}}}|temporarily|currently}} [[Wikipedia:This page is protected|protected]] from editing {{#if:{{{expiry|}}}|until {{#time:[[F j]], [[Y]]|{{{expiry}}}}} <small>(UTC)</small>}} {{#if:{{{reason<includeonly>|</includeonly>}}}|because {{lcfirst:{{{reason|<noinclude>[[Lorem ipsum|Lorem ipsum dolor sit amet]]</noinclude>}}}}}}}.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log])</span>. {{howtoedit}}
</td>
</tr>
</table>
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{
#ifexpr:
{{#if:{{{expiry|}}}
| {{#time:U|today}}>{{#time:U|{{{expiry}}}}}
| 0
}}
| [[Category:Protected pages with expiry expired|{{PAGENAME}}]]
}}</includeonly><noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}

Revision as of 03:45, September 29, 2007