Template:Pp-protected: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Switch to doc subpage per talk request |
major edit: converting to {{pp-meta}} format |
||
Line 1: | Line 1: | ||
⚫ | |||
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ |
|||
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap> |
|||
| |
|||
⚫ | |||
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div> |
|||
⚫ | |||
<div style="position:absolute; z-index:100; right:54px; top:8px;" class="metadata" id="administrator"> |
|||
⚫ | |||
<imagemap> |
</imagemap>|}} |
||
⚫ | |||
|demospace={{{demospace|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |text='''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|}}}| 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> |
|||
⚫ | '''This page is {{#if:{{{tprot|}}}|temporarily|currently}} [[Wikipedia:This page is protected|protected]] from editing |
||
</td> |
|||
</tr> |
|||
</table> |
|||
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{ |
|||
#ifexpr: |
|||
{{#if:{{{expiry|}}} |
|||
| {{#time:U|today}}>{{#time:U|{{{expiry}}}}} |
|||
| 0 |
|||
}} |
|||
| [[Category:Protected pages with expiry expired|{{PAGENAME}}]] |
|||
⚫ | |||
{{pp-template|small=yes}} |
{{pp-template|small=yes}} |