Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Protected: Difference between revisions

Template page
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
Line 3: Line 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}}]] | [[Category:Protected pages]]}}}}}</includeonly>
<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>
<span style="font-size:90%;">{{{note|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>
|}<noinclude>




Line 11: Line 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===
Line 27: Line 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>

Revision as of 08:07, 30 March 2008

This template 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.)

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 template has been protected from editing to prevent vandalism.

Please discuss changes on the talk page or request unprotection.

{{protected|I said so}} →

This template 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 template has been protected from editing to prevent vandalism.

And you can change this too.

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.