Difference between revisions of "Template:Protection"

From 100% Orange Juice Wiki
Jump to: navigation, search
m
m (Adding documentation)
 
Line 1: Line 1:
{{#switch:{{PROTECTIONLEVEL:edit}}
+
<includeonly>{{#switch:{{PROTECTIONLEVEL:edit}}
 
|sysop=[[File:lock-level3.png|20px|link=100% Orange Juice Wiki:Policy Portal|This page is locked. Only administrators may make changes to this page.]]
 
|sysop=[[File:lock-level3.png|20px|link=100% Orange Juice Wiki:Policy Portal|This page is locked. Only administrators may make changes to this page.]]
 
|autoconfirmed=[[File:lock-level2.png|20px|link=100% Orange Juice Wiki:Policy Portal|This page is protected. Only logged in users can edit this page.]]
 
|autoconfirmed=[[File:lock-level2.png|20px|link=100% Orange Juice Wiki:Policy Portal|This page is protected. Only logged in users can edit this page.]]
 
|#default=[[File:lock-level1.png|20px|link=100% Orange Juice Wiki:Policy Portal|This page is open for anyone to edit.]]
 
|#default=[[File:lock-level1.png|20px|link=100% Orange Juice Wiki:Policy Portal|This page is open for anyone to edit.]]
}}<noinclude>{{Icons}}[[Category:Icon templates]]</noinclude>
+
}}</includeonly><noinclude>{{Icons}}{{Doc}}[[Category:Icon templates]]</noinclude>

Latest revision as of 20:33, 18 April 2021

 This page is locked. Only administrators may make changes to this page.
Template-info.png Template documentation

This template creates the lock icon used by the {{Icons}} template. The icon links to the policy portal and changes color depending on the page's protection level.

Do not call this template directly. Instead, use {{Icons}}, which automatically places the icon in the correct location on the page.

Protection level Appearance
Unprotected This page is open for anyone to edit.
Semi-protected This page is protected. Only logged in users can edit this page.
Fully-protected This page is locked. Only administrators may make changes to this page.