This page is semi-protected against editing.

Template:Protected

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Protected/doc.

General protection template to inform users a page is protected. (Note: This does not protect pages. Only admins can do that.)

The template automatically sets the following categories: 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.

Usage

{{protected |1= }}

Template parameters

Parameter Description Default Status
1
reason from editing to prevent vandalism. optional
icon empty optional
note It’s default value doesn’t show up on talk pages or user pages (if you specify the parameter, it does so). Please discuss changes on the talk page or request unprotection. (except talk and user pages) optional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

  • {{Mprotected}} - for images included on the Main Page, which are protected because of the cascading protection (but are not protected directly).
  • {{permprot}} - for high-risk templates that are indefinitely protected (use on talk page).
  • {{MWheader}} - for MediaWiki pages (use on talk page).

Padlocks

  • Padlock.svg = full protection from editing.
  • Padlock-silver.svg = semi protection from editing or uploading.
  • Padlock-green.svg = full protection from uploading (but not editing).

Localization

বাংলা | Deutsch | English | فارسی | Galego | Magyar | 日本語 | Македонски | മലയാളം | Português | Slovenščina | Svenska |

This template makes use of {{Autotranslate}} and the translate extension.

Icono de traducción.svgTranslate this template now!
 Administrate translations.

Note that the Translate extension is not yet available. Only the text is switched out based on the user's interface, not the whole template (like with {{autotranslate}}) to avoid unnecessary complexity. Please translate the following and add it to a subpage of Template:Protected/text, e.g. Template:Protected/text/en.

{{#switch:{{{1}}}
|text1=This {{namespace}} has been protected
|default-reason=from editing to prevent vandalism.
|reason=because {{{reason}}}.
|text2=Please discuss changes on the [[{{TALKPAGENAME}}|talk page]] or [[COM:AN/P|request unprotection]].
|img-text1=This page is protected against editing.
|img-text2=This page is semi-protected against editing.
|img-text3=This page is protected against reuploading.
|img-text4=This page is semi-protected against reuploading.
|error-text=Error: This page is not currently protected. Please remove the protection template.
}}<noinclude>
{{translated tag|localisation}}
</noinclude>

There is no /lang page or /layout page to deal with. Keep in mind this is still a work in progress and new text fields may be added in the future.

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}} →
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}} →
Protected 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.}} →
Protected This template has been protected from editing to prevent vandalism.
And you can change this too.