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
+link to avoid confusion
Switch to doc subpage per talk request
Línea 1: Línea 1:
<noinclude>{{pp-template|small=yes}}
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
</noinclude>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
|
|
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div>
<div style="position:absolute; z-index:100; right:25px; top:8px; height:10px; width:300px;"></div>
Línea 19: Línea 18:
</tr>
</tr>
</table>
</table>
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Protected pages with expiry expired|{{PAGENAME}}]]}}</includeonly><noinclude>
}}<includeonly>[[Category:Protected|{{PAGENAME}}]]{{
 
#ifexpr:
----
  {{#if:{{{expiry|}}}
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template
    | {{#time:U|today}}>{{#time:U|{{{expiry}}}}}  
* Use {{tlx|{{lc:{{PAGENAME}}}}|reason&#61;text}} for applying a specific reason
    | 0  
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry&#61;{{#time:F j, Y|+1 month}}}} for a specific expiration date
  }}
* Use {{tlx|{{lc:{{PAGENAME}}}}|small&#61;yes}} for just an icon at the top
| [[Category:Protected pages with expiry expired|{{PAGENAME}}]]
* Use {{tlx|{{lc:{{PAGENAME}}}}|expiry&#61;<nowiki>{{subst:#time:F j, Y|+7 days}}</nowiki>}} for a specific expiration time period
}}</includeonly><noinclude>
 
Note that ''(UTC)'' will be added automatically.
{{pp-template|small=yes}}
 
{{template doc}}
This template is not to be used as a bluff. '''''Only use it on FULLY PROTECTED pages.''''' Only [[Wikipedia:Administrators|administrators]] can protect pages.
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
 
{{protection templates}}
{{in category|Protected|Protected pages with expiry expired}}
[[Category:Protection templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revisión del 14:32 27 sep 2007