Más acciones
doc for note= |
note about talk page shouldn't show up on talk pages (and probably not user pages); also remove user/user_talk pages from category |
||
Línea 3: | Línea 3: | ||
| style="padding-right: 4px; padding-left: 4px;" | [[Image:Padlock.svg|40px|]] | | style="padding-right: 4px; padding-left: 4px;" | [[Image:Padlock.svg|40px|]] | ||
| '''This {{namespace}} has been protected {{#if:{{{1|}}} | because {{{1}}}. | from editing to prevent vandalism.}}''' | | '''This {{namespace}} has been protected {{#if:{{{1|}}} | because {{{1}}}. | from editing to prevent vandalism.}}''' | ||
<includeonly>{{{category|{{#switch:{{NAMESPACE}} | {{ns:image}}=[[Category:Protected images]] | {{ns:template}}=[[Category:Protected templates|{{PAGENAME}}]] | | <span style="font-size:90%;">{{{note|{{#ifeq:{{NAMESPACE}} | {{TALKSPACE}} || {{#ifeq:{{NAMESPACE}} | {{ns:user}} || Please discuss changes on the [[{{TALKPAGENAME}}|talk page]] or [[Commons:Administrators' noticeboard/Blocks & protections|request unprotection]].}} }}}}}</span> | ||
|}<includeonly>{{{category|{{#switch:{{NAMESPACE}} | {{ns:image}}=[[Category:Protected images]] | {{ns:template}}=[[Category:Protected templates|{{PAGENAME}}]] | {{ns:user}}= | {{ns:user_talk}}= | [[Category:Protected pages]] }}}}}</includeonly><noinclude> | |||
Línea 11: | Línea 10: | ||
===Usage=== | ===Usage=== | ||
General protection template to inform users a page is protected. (Note: This does not protect pages. Admins can only do that.) | General protection template to inform users a page is protected. (Note: This does not protect pages. Admins can only do that.) | ||
* Adds images to [[:Category:Protected images]], templates to [[:Category:Protected templates]], and anything else to [[:Category:Protected pages]]. | * Adds images to [[:Category:Protected images]], templates to [[:Category:Protected templates]], and anything else to [[:Category:Protected pages]] (except user pages and user talk pages). | ||
Syntax: <nowiki>{{</nowiki>protected|''give reason here''}}. | Syntax: <nowiki>{{</nowiki>protected|''give reason here''}}. | ||
* If no reason is given the default is "to prevent vandalism." | * 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 <code>note</code> parameter is used). | |||
===Examples=== | ===Examples=== | ||
Línea 27: | Línea 27: | ||
* {{tl|protected template}} - for high-risk templates that are indefinitely protected. | * {{tl|protected template}} - for high-risk templates that are indefinitely protected. | ||
* {{tl|en main page}} - for images on the English Wikipedia's main page. | * {{tl|en main page}} - for images on the English Wikipedia's main page. | ||
[[Category:Protection templates|{{PAGENAME}}]] | [[Category:Protection templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revisión del 08:07 30 mar 2008
This Plantilla:Namespace has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection. |
Usage
General protection template to inform users a page is protected. (Note: This does not protect pages. Admins can only do that.)
- Adds images to Category:Protected images, templates to Category:Protected templates, and anything else to Category:Protected pages (except user pages and user talk pages).
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
{{protected}} →
This Plantilla:Namespace has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection. |
{{protected|I said so}} →
This Plantilla:Namespace has been protected because I said so.
Please discuss changes on the talk page or request unprotection. |
{{protected|note=And you can change this too.}} →
This Plantilla:Namespace has been protected from editing to prevent vandalism.
And you can change this too. |
See also
- {{protected image}}
- for high-risk images that are indefinitely protected.
- for high-risk templates that are indefinitely protected.
- {{en main page}}
- for images on the English Wikipedia's main page.