Locked

Template:Protection indicators: Difference between revisions

From WickedGov, the Massachusetts civics wiki
Jump to navigation Jump to search
-
Tag: Manual revert
+
Tag: Reverted
Line 6: Line 6:
   | #default      = {{#if:{{PROTECTIONLEVEL:upload|{{FULLPAGENAME}}}}
   | #default      = {{#if:{{PROTECTIONLEVEL:upload|{{FULLPAGENAME}}}}
                       | <indicator name="padlock-upload">[[File:Upload-protection-shackle.svg|20px|link=Project:Protection policy|This file is protected from reuploading.|alt=Locked]]</indicator>}}{{#if:{{PROTECTIONLEVEL:move|{{FULLPAGENAME}}}}|<indicator name="padlock-move">[[File:Move-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from moving.|alt=Locked]]</indicator>}}}}{{#ifeq:{{NAMESPACE}}|MediaWiki|<indicator name="padlock-interface">[[File:Interface-protection-shackle.svg|20px|link=Project:Protection policy|This interface page is protected.|alt=Locked]]</indicator>}}{{#if:{{CASCADINGSOURCES:{{FULLPAGENAME}}}}|<indicator name="padlock-cascading">[[File:Cascade-protection-shackle.svg|20px|link=Project:Protection policy|This page is transcluded in a cascade-protected page.|alt=Locked]]</indicator>}}{{#if:{{PROTECTIONLEVEL:create|{{FULLPAGENAME}}}}|{{#ifeq:{{PROTECTIONLEVEL:create|{{FULLPAGENAME}}}}|editofficeprotected|<indicator name="padlock-creation-office">[[File:Office-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from creation by the office.|alt=Locked]]</indicator>|<indicator name="padlock-creation">[[File:Create-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from creation.|alt=Locked]]</indicator>}}}}
                       | <indicator name="padlock-upload">[[File:Upload-protection-shackle.svg|20px|link=Project:Protection policy|This file is protected from reuploading.|alt=Locked]]</indicator>}}{{#if:{{PROTECTIONLEVEL:move|{{FULLPAGENAME}}}}|<indicator name="padlock-move">[[File:Move-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from moving.|alt=Locked]]</indicator>}}}}{{#ifeq:{{NAMESPACE}}|MediaWiki|<indicator name="padlock-interface">[[File:Interface-protection-shackle.svg|20px|link=Project:Protection policy|This interface page is protected.|alt=Locked]]</indicator>}}{{#if:{{CASCADINGSOURCES:{{FULLPAGENAME}}}}|<indicator name="padlock-cascading">[[File:Cascade-protection-shackle.svg|20px|link=Project:Protection policy|This page is transcluded in a cascade-protected page.|alt=Locked]]</indicator>}}{{#if:{{PROTECTIONLEVEL:create|{{FULLPAGENAME}}}}|{{#ifeq:{{PROTECTIONLEVEL:create|{{FULLPAGENAME}}}}|editofficeprotected|<indicator name="padlock-creation-office">[[File:Office-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from creation by the office.|alt=Locked]]</indicator>|<indicator name="padlock-creation">[[File:Create-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from creation.|alt=Locked]]</indicator>}}}}
}}
1}}

Revision as of 23:12, 13 January 2025

1