Template:Pp-protected: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m parameter in subtemplate is lbreak, not break. |
Change template to new pp-meta format using sandbox as proxy |
||
Line 1: | Line 1: | ||
<includeonly>{{pp-meta |
<includeonly>{{pp-meta/sandbox |
||
|type=full |
|||
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap> |
|||
|small={{{small|}}} |
|||
Image:Padlock.svg|20px |
|||
default [[Wikipedia:Protection policy|This page has been protected from editing]] |
|||
desc none |
|||
</imagemap>|}} |
|||
|demospace={{{demospace|}}} |
|demospace={{{demospace|}}} |
||
|expiry={{{expiry|}}} |
|||
|image=[[Image:Padlock.svg|45px| ]] |
|||
|dispute=no |
|||
|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|lbreak=}} |
|||
|reason={{#if:{{{reason|}}}| because {{lcfirst:{{{reason|}}}}}}} |
|||
|categories={{{categories|[[Category:Protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude> |
|categories={{{categories|[[Category:Protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude> |
||
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}} |
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}} |