Más acciones
remove {{pp-template}} |
moving to documentation |
||
Línea 1: | Línea 1: | ||
{{#switch:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}} | |||
{{ | | sysop= | ||
< | {{#ifeq:{{{icon}}}|no||<div class="topicon" id="protected-icon" style="right:10px;">[[File:Padlock.svg|20px|link=COM:P|{{{{tSwitch|protected/text}}|img-text1}}]]</div>}} | ||
<table class="protected" style="background:#fff; border:1px solid #aaa; padding:.2em; margin:.5em auto;"> | |||
<tr> | |||
<td style="padding-right:4px; padding-left:4px;">[[File:Padlock.svg|40px|link=COM:P|Protected]]</td> | |||
<td>'''{{{{tSwitch|protected/text}}|text1}} {{#if:{{{1|}}}|{{{{tSwitch|protected/text}}|reason|reason={{{1}}}}}|{{{{tSwitch|protected/text}}|default-reason}}}}'''<br /><span style="font-size:90%;">{{{note|{{{{tSwitch|protected/text}}|text2}} }}}</span></td> | |||
</tr> | |||
</table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }} | |||
| autoconfirmed= | |||
<div class="topicon" id="protected-icon" style="right:10px;">[[File:Padlock-silver-medium.svg|20px|link=COM:P||{{{{tSwitch|protected/text}}|img-text2}}]]</div> | |||
| #default= | |||
{{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}} | |||
| {{#switch:{{{demo-upload|{{PROTECTIONLEVEL:upload}}}}} | |||
| sysop= | |||
<div class="topicon" id="protected-icon" style="right:10px;">[[File:Padlock-green.svg|20px|link=COM:P||{{{{tSwitch|protected/text}}|img-text3}}]]</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Upload protected files]]}}} }} | |||
| autoconfirmed= | |||
<div class="topicon" id="protected-icon" style="right:10px;">[[File:Padlock-silver.svg|20px|link=COM:P||{{{{tSwitch|protected/text}}|img-text4}}]]</div> | |||
| #default= | |||
<div class="error">{{{{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }} | |||
}} | |||
| <div class="error">{{{{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }} | |||
}} | |||
}}<noinclude> | |||
{{documentation}} | |||
</noinclude> | </noinclude> |
Revisión del 12:49 12 ene 2011
Aún no se han escrito las instrucciones sobre esta plantilla. Añádelas.