Template:Protected: Difference between revisions
Mastergalen (talk | contribs) m (Protected "Template:Protected" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
FantasyTeddy (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{#if: {{PROTECTIONLEVEL:edit}}<noinclude>1</noinclude> | ||
| {{msgbox | |||
| title = This {{#switch: {{NAMESPACE}} | {{ns:6}} = file | {{ns:10}} = template | #default = page }} has been {{ #ifeq: {{PROTECTIONLEVEL:edit}} | sysop || semi- }}protected from editing{{ | |||
#switch: {{{1}}} | |||
| none = | |||
| template =  because it is widely transcluded | |||
| #default =  to prevent vandalism | |||
}}. | |||
| text = Please discuss changes on the [[{{{talkpage|{{TALKPAGENAME}}}}}|talk page]]. | |||
| <includeonly>nocat = 1</includeonly> | |||
}}<includeonly>[[Category:Protected pages]]</includeonly> | |||
| {{#ifeq: {{SUBPAGENAME}}|doc||[[Category:Unprotected pages using Template:Protected]] }} | |||
}}<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.
Please discuss changes on the talk page.
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.