Template:Protected: Difference between revisions

m (1 revision)
No edit summary
 
Line 1: Line 1:
{{
{{#if: {{PROTECTIONLEVEL:edit}}<noinclude>1</noinclude>
  #if: {{PROTECTIONLEVEL:edit}}<noinclude>sysop</noinclude>
| {{msgbox
  | {{msgbox
  | title = This {{#switch: {{NAMESPACE}} | {{ns:6}} = file | {{ns:10}} = template | #default = page }} has been {{ #ifeq: {{PROTECTIONLEVEL:edit}} | sysop || semi- }}protected from editing{{
    | title = This page has been {{ #ifeq: {{PROTECTIONLEVEL:edit}} | sysop || semi- }}protected from editing{{
    #switch: {{{1}}}
      #switch: {{{1|}}}
    | none     =
      | none       =
    | template = &#32;because it is widely transcluded
      | template   = &#32;because it is transcluded on hundreds of pages
    | #default = &#32;to prevent vandalism
      | vandalism | #default = &#32;to prevent vandalism
  }}.
    }}.
  | text  =  Please discuss changes on the [[{{{talkpage|{{TALKPAGENAME}}}}}|talk page]].
    | text  =  Please discuss changes on the [[{{{talkpage|{{TALKPAGENAME}}}}}|talk page]].
  | <includeonly>nocat = 1</includeonly>
  }}[[Category:Protected pages|{{PAGENAME}}]]
}}<includeonly>[[Category:Protected pages]]</includeonly>
  | {{#ifeq: {{SUBPAGENAME}}|doc||[[Category:Unprotected pages using Template:Protected|{{PAGENAME}}]]}}
| {{#ifeq: {{SUBPAGENAME}}|doc||[[Category:Unprotected pages using Template:Protected]] }}
}}<noinclude>[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude>
}}<noinclude>
{{documentation}}
</noinclude>

Latest revision as of 17:43, 1 August 2015

This template has been semi-protected from editing to prevent vandalism.
Please discuss changes on the talk page.
[view | edit | history | purge]Documentation

This template is used to add a message above a protected page.

Usage

This template automatically determines the page's protection level and namespace for its information.

The parameter {{{1}}} can be added for an additional note as to why it is protected. If unset, it defaults to "to prevent vandalism", or "because it is widely transcluded" on templates.

Protected pages using this template are added to Category:Protected pages. If the page is not protected, it is added to Category:Unprotected pages using Template:Protected

[view | edit | history | purge]The above documentation is transcluded from Template:Protected/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis