Difference between revisions of "User:Dorsal Axe/Sandbox/Lemon"

From Nookipedia, the Animal Crossing wiki
Line 1: Line 1:
<div style="right:10px; display:none;" class="topicon">[[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|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=Nookipedia:Protection policy|This {{#switch: {{NAMESPACE}}|#default = page|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 style="right:10px; display:none;" class="topicon">[[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=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: {{{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>
 +
<!--{{High Risk Template}}-->
 +
==Usage==
 +
<pre>
 +
{{Pp|<semi/template/full/interface/move/upload/creation>}}
 +
</pre>
 +
 
 +
This template creates a padlock icon in the upper-right corner of a page to indicate that it is [[Nookipedia:Protection policy|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 should be applied on all pages which have been protected by an [[Nookipedia:Administrator|administrator]]. Pages that are automatically protected by the MediaWiki software, pages that have been creation protected, and highly-visible pages that are permanently protected do not require a visual indicator.
 +
 
 +
===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.
 +
* [[File:Semi Protection icon.png|20px|link=]] <code>semi</code>
 +
* [[File:Template Protection icon.png|20px|link=]] <code>template</code>
 +
* [[File:Full Protection icon.png|20px|link=]] <code>full</code>
 +
* [[File:Interface Protection icon.png|20px|link=]] <code>interface</code>
 +
* [[File:Move Protection icon.png|20px|link=]] <code>move</code>
 +
* [[File:Upload Protection icon.png|20px|link=]] <code>upload</code>
 +
* [[File:Creation Protection icon.png|20px|link=]] <code>creation</code>
 +
 
 +
===Example===
 +
<pre>
 +
{{Pp|move}}
 +
</pre>
 +
 
 +
[[File:Move Protection icon.png|30px|link=Nookipedia:Protection policy|This file is move-protected]]
 +
 
 +
<pre>
 +
{{Pp|move|upload}}
 +
</pre>
 +
[[File:Move Protection icon.png|30px|link=Nookipedia:Protection policy|This file is move-protected]][[File:Upload Protection icon.png|30px|link=Nookipedia:Protection policy|This file is upload-protected.]]
 +
</noinclude>

Revision as of 17:44, March 10, 2021


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 should be applied on all pages which have been protected by an administrator. Pages that are automatically protected by the MediaWiki software, pages that have been creation protected, and highly-visible pages that are permanently protected do not require a visual indicator.

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.

  • Semi Protection icon.png semi
  • Template Protection icon.png template
  • Full Protection icon.png full
  • Interface Protection icon.png interface
  • Move Protection icon.png move
  • Upload Protection icon.png upload
  • Creation Protection icon.png creation

Example

{{Pp|move}}

This file is move-protected

{{Pp|move|upload}}

This file is move-protectedThis file is upload-protected.