Más acciones
Sin resumen de edición |
Sin resumen de edición |
||
Línea 6: | Línea 6: | ||
<tr> | <tr> | ||
<td style="padding-right:4px; padding-left:4px;">[[File:Padlock.svg|40px|link=COM:P|Protected]]</td> | <td style="padding-right:4px; padding-left:4px;">[[File:Padlock.svg|40px|link=COM:P|Protected]]</td> | ||
<td>'''{{{{tSwitch|protected/text}}|text1 | <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|demo-ns={{{demo-ns|{{NAMESPACE}}}}}}} }}}</span></td> | ||
</tr> | </tr> | ||
</table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }} | </table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }} |
Revisión del 23:53 23 ago 2010
Plantilla:Protected/text/es Plantilla:Protected/text/es Plantilla:Protected/text/es |
Usage
General protection template to inform users a page is protected. (Note: This does not protect pages. Only admins can do that.)
- Adds files to Category:Protected files and everything else except user pages, user talk pages, and templates to Category:Protected pages. If the page is not protected, it will end up in Category:Unprotected pages using protection templates.
Syntax: {{protected|give reason here}}.
- If no reason is given the default is "to prevent vandalism".
- The second line doesn't show up on talk pages or user pages (unless the
note
parameter is used).
Examples
- The message box does not appear on semi-protected pages or upload-only protected files. An icon still appears in the top-right corner.
{{protected}} →
Plantilla:Protected/text/es Plantilla:Protected/text/es Plantilla:Protected/text/es |
{{protected|I said so}} →
Plantilla:Protected/text/es Plantilla:Protected/text/es Plantilla:Protected/text/es |
{{protected|note=And you can change this too.}} →
Plantilla:Protected/text/es Plantilla:Protected/text/es And you can change this too. |
Padlocks
- = full protection from editing.
- = semi protection from editing or uploading.
- = full protection from uploading (but not editing).
See also
- {{permprot}}
- for high-risk templates that are indefinitely protected (use on talk page).
- {{en main page}}
- for images on the English Wikipedia's main page.