Template:Protection indicators: Difference between revisions
Tag: Undo |
include all relevant protection indicators |
||
Line 1: | Line 1: | ||
{{#ifeq:{{FULLPAGENAME}}|{{ns:Project}}:Main Page||{{#switch:{{PROTECTIONLEVEL:edit}} | {{#ifeq:{{FULLPAGENAME}}|{{ns:Project}}:Main Page||{{#switch:{{PROTECTIONLEVEL:edit}} | ||
| autoconfirmed = <indicator name="edit-padlock-semi-auto">[[File:Semi-protection-shackle.svg|20px|link=Project:Protection policy|This page is semi-protected.|alt=Locked]]</indicator> | | autoconfirmed = <indicator name="edit-padlock-semi-auto">[[File:Semi-protection-shackle.svg|20px|link=Project:Protection policy|This page is semi-protected.|alt=Locked]]</indicator>{{#switch:{{PROTECTIONLEVEL:upload}}|editextendedprotected|sysop=<indicator name="padlock-upload">[[File:Upload-protection-shackle.svg|20px|link=Project:Protection policy|This file is protected from reuploading.|alt=Locked]]</indicator>}}{{#switch:{{PROTECTIONLEVEL:move}}|editextendedprotected|sysop=<indicator name="padlock-move">[[File:Move-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from moving.|alt=Locked]]</indicator>}} | ||
| sysop = <indicator name="padlock-edit-full">[[File:Full-protection-shackle.svg|20px|link=Project:Protection policy|This page is fully protected.|alt=Locked]]</indicator> | | sysop = <indicator name="padlock-edit-full">[[File:Full-protection-shackle.svg|20px|link=Project:Protection policy|This page is fully protected.|alt=Locked]]</indicator> | ||
| editofficeprotected = <indicator name="padlock-edit-office">[[File:Office-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected by the office.|alt=Locked]]</indicator> | | editofficeprotected = <indicator name="padlock-edit-office">[[File:Office-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected by the office.|alt=Locked]]</indicator> | ||
| editextendedprotected = <indicator name="padlock-edit-extended">[[File:Extended-protection-shackle.svg|20px|link=Project:Protection policy|This page is extended-protected.|alt=Locked]]</indicator> | | editextendedprotected = <indicator name="padlock-edit-extended">[[File:Extended-protection-shackle.svg|20px|link=Project:Protection policy|This page is extended-protected.|alt=Locked]]</indicator>{{#ifeq:{{PROTECTIONLEVEL:upload}}|sysop|<indicator name="padlock-upload">[[File:Upload-protection-shackle.svg|20px|link=Project:Protection policy|This file is protected from reuploading.|alt=Locked]]</indicator>}}{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|<indicator name="padlock-move">[[File:Move-protection-shackle.svg|20px|link=Project:Protection policy|This page is protected from moving.|alt=Locked]]</indicator>}} | ||
| #default = {{#if:{{PROTECTIONLEVEL:upload}} | | #default = {{#if:{{PROTECTIONLEVEL:upload}} | ||
| <indicator name="padlock-upload">[[File:Upload-protection-shackle.svg|20px|link=Project:Protection policy|This file is protected from reuploading.|alt=Locked]]</indicator>}}}}{{#ifeq: {{ | | <indicator name="padlock-upload">[[File:Upload-protection-shackle.svg|20px|link=Project:Protection policy|This file is protected from reuploading.|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}}|<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}}|{{#ifeq:{{PROTECTIONLEVEL:create}}|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>}}}} | ||
}} | }} |