Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Plantilla:Protected»

De Wikimedia Small Projects
m parameter in subtemplate is lbreak, not break.
cat + usage note
Línea 1: Línea 1:
<includeonly>{{pp-meta
{| class="protected" style="background: #FFFFFF; border: 1px solid #aaa; padding: .2em; margin: 0.5em auto;"
|smalltext={{#ifeq:{{{small|no}}}|yes|<imagemap>
|-
Image:Padlock.svg|20px
| style="padding-right: 4px; padding-left: 4px;" | [[Image:Padlock.svg|40px|]]
default [[Wikipedia:Protection policy|This page has been protected from editing]]
| '''This page, gallery, or file is protected because {{{1}}}.'''
desc none
 
</imagemap>|}}
<span style="font-size: 90%">Please use the [[{{NAMESPACE}} talk:{{PAGENAME}}|discussion page]] to resolve any disputes.</span>
|demospace={{{demospace|}}}
|} <includeonly>{{{category|[[Category:Protected]]}}}</includeonly><noinclude>
|image=[[Image:Padlock.svg|45px| ]]
 
|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|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>
----
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
* '''Usage:''' <nowiki>{{</nowiki>protected|''give reason here''}}.
* Adds pages, galleries and files to [[:Category:Protected]].
{{pp-template|small=yes}}
 
{{template doc}}
[[Category:Protection templates|{{PAGENAME}}]]
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revisión del 14:03 10 mar 2008

This page, gallery, or file is protected because {{{1}}}.

Please use the discussion page to resolve any disputes.



  • Usage: {{protected|give reason here}}.
  • Adds pages, galleries and files to Category:Protected.