Template:Pp-protected: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
major edit: converting to {{pp-meta}} format
(Switch to doc subpage per talk request)
(major edit: converting to {{pp-meta}} format)
Line 1:
}}</includeonly><noinclude>{{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>
rect 0 0 1000 1000default [[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>|}}
Image:Padlock.svg|20px
|demospace={{{demospace|}}}
rect 0 0 1000 1000 [[Wikipedia:Protection policy|This page has been protected from editing]]
<td valign|image="center" > [[Image:Padlock.svg|45px| ]]</td>
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<includeonly>|</includeonly>}}}|&#32;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}}
</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}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu