Template:Pp-template: Difference between revisions
convert this to use Module:Protection banner; see here for details |
mediawiki>Eyesnore No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke: | <includeonly>{{#switch:{{#invoke:Effective protection level|edit|{{FULLPAGENAME}}}} | ||
{{ | |*=[[Category:Pages with incorrect protection templates]] | ||
|autoconfirmed={{#tag:indicator|[[File:Semi-protection-shackle-keyhole.svg|20px|link=Project:Protected page|alt=Permanently protected {{module other|module|template}}|This high-risk {{module other|module|template}} is permanently semi-protected to prevent vandalism]]|name="pp-default"}}[[Category:{{module other|Modules subject to page protection|Semi-protected templates}}|{{PAGENAME}}]] | |||
|sysop={{#tag:indicator|[[File:Full-protection-shackle-keyhole.svg|20px|link=Project:Protected page|alt=Permanently protected {{module other|module|template}}|This high-risk {{module other|module|template}} is permanently protected to prevent vandalism]]|name="pp-default"}}[[Category:{{module other|Modules subject to page protection|Fully protected templates}}|{{PAGENAME}}]] | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> | </noinclude> | ||
Revision as of 23:44, 21 June 2024
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| File:Lua-Logo.svg | This template uses Lua: |
<templatedata> { "description": { "en": "This template displays a padlock icon next to the page title on protected pages. It should be used only on pages already protected by administrators, placing the template doesn’t protect the page!", "cs": "Tato šablona zobrazuje vedle názvu stránky na chráněných stránkách ikonu visacího zámku. Měla by být použita pouze na stránkách již chráněných administrátory, umístění šablony stránku nechrání!" }, "params": {} } </templatedata>
Usage
{{Pp-template}}