Template:Pp: Difference between revisions

From RosieSoCrossing
No edit summary
No edit summary
 
Line 1: Line 1:
<div class="topicon" style="top:75px;">[[File:{{#switch: {{{1|semi}}}|semi = Semi|template = Template|full = Full|interface = Interface|move = Move|upload = Upload|creation = Creation}} Protection icon.png|30px|link=Nookipedia:Protection policy|This {{#switch: {{NAMESPACE}}|#default = page|File = file|User = user page|Nookipedia = project page|Template = template|Help = help page|Talk = talk page|User talk = user talk page|Template talk|File talk|Category talk = talk page}} is {{#switch: {{{1|semi}}}|semi = semi-protected|template = template-protected|full = fully-protected|interface = permanently-protected|move = move-protected|upload = upload-protected|creation = creation-protected}} {{#switch:{{{1|}}}|semi = to prevent editing by anonymous and new users|full = to prevent editing by non-administrator users|interface = as it comprises part of the site interface|#default=}}]]{{#if:{{{2|}}}|[[File:{{#switch: {{{2|semi}}}|semi = Semi|template = Template|full = Full|interface = Interface|move = Move|upload = Upload|creation = Creation}} Protection icon.png|30px|link=Protection policy|This {{#switch: {{NAMESPACE}}|#default = page|File = file|User = user page|Nookipedia = project page|Template = template|Help = help page|Talk = talk page|User talk = user talk page|Template talk|File talk|Category talk = talk page}} is {{#switch: {{{2|semi}}}|semi = semi-protected|template = template-protected|full = fully-protected|interface = permanently-protected|move = move-protected|upload = upload-protected|creation = creation-protected}} {{#switch:{{{2|}}}|semi = to prevent editing by anonymous and new users|full = to prevent editing by non-administrator users|interface = as it comprises part of the site interface|#default=}}]]|}}</div>
<div class="topicon" style="top:75px;">[[File:{{#switch: {{{1|semi}}}|semi = Semi|template = Template|full = Full|interface = Interface|move = Move|upload = Upload|creation = Creation}} Protection icon.png|30px|link=Protection policy|This {{#switch: {{NAMESPACE}}|#default = page|File = file|User = user page|Nookipedia = project page|Template = template|Help = help page|Talk = talk page|User talk = user talk page|Template talk|File talk|Category talk = talk page}} is {{#switch: {{{1|semi}}}|semi = semi-protected|template = template-protected|full = fully-protected|interface = permanently-protected|move = move-protected|upload = upload-protected|creation = creation-protected}} {{#switch:{{{1|}}}|semi = to prevent editing by anonymous and new users|full = to prevent editing by non-administrator users|interface = as it comprises part of the site interface|#default=}}]]{{#if:{{{2|}}}|[[File:{{#switch: {{{2|semi}}}|semi = Semi|template = Template|full = Full|interface = Interface|move = Move|upload = Upload|creation = Creation}} Protection icon.png|30px|link=Protection policy|This {{#switch: {{NAMESPACE}}|#default = page|File = file|User = user page|Nookipedia = project page|Template = template|Help = help page|Talk = talk page|User talk = user talk page|Template talk|File talk|Category talk = talk page}} is {{#switch: {{{2|semi}}}|semi = semi-protected|template = template-protected|full = fully-protected|interface = permanently-protected|move = move-protected|upload = upload-protected|creation = creation-protected}} {{#switch:{{{2|}}}|semi = to prevent editing by anonymous and new users|full = to prevent editing by non-administrator users|interface = as it comprises part of the site interface|#default=}}]]|}}</div>
<noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
<noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 21:29, 13 January 2026

This template is semi-protected

Template documentation (view)


Usage

{{Pp|<semi/template/full/interface/move/upload/creation>}}

This template creates a padlock icon in the upper-right corner of a page to indicate that it is protected. The icons are designed to provide a clear visual identification of the level of protection that has been invoked or the action that has been protected from being performed.

This template does not in itself protect a page, and only administrators can change the protection level of a page.

When to use

To provide transparency to all users, this template generally should be applied on all pages which have been protected by an administrator.

The below exceptions do not require this template:

  • Pages automatically protected by the MediaWiki software
  • Pages that are creation protected
  • Protected user and user talk pages
  • Frontend pages that are permanently protected:

This template also doesn't need to be applied to archived pages and policy pages, as it is automatically applied through using Template:Archive or Template:Policy on those pages.

Variations

The style of the padlock indicator is dependent on the switch used. The template can also display a second padlock for use in situations in which two modes of protection are applied to a page.

Example

{{Pp|move}}

This file is move-protected

{{Pp|move|upload}}
This file is move-protectedThis file is upload-protected.