Template:Pp-protected: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m rm linebreak in subtemplate |
m parameter in subtemplate is lbreak, not break. |
||
Line 7: | Line 7: | ||
|demospace={{{demospace|}}} |
|demospace={{{demospace|}}} |
||
|image=[[Image:Padlock.svg|45px| ]] |
|image=[[Image:Padlock.svg|45px| ]] |
||
|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| |
|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=}} |
||
|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]]}} |