Template:Pp-semi-template
From FORwiki
(Difference between revisions)
(Created page with '<includeonly>{{pp-meta |type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} |semi |autoconfirmed...') |
|||
Line 22: | Line 22: | ||
|#default=<!--fallback value-->protected from editing}} to prevent vandalism. | |#default=<!--fallback value-->protected from editing}} to prevent vandalism. | ||
|reason-text=This {{#switch:{{NAMESPACE}} | |reason-text=This {{#switch:{{NAMESPACE}} | ||
- | |{{ns:image}}=image, used in one or more | + | |{{ns:image}}=image, used in one or more high-risk templates{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|semi | |semi | ||
|autoconfirmed= | |autoconfirmed= | ||
Line 29: | Line 29: | ||
|sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]], | |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]], | ||
|#default=<!--fallback value-->}} | |#default=<!--fallback value-->}} | ||
- | |#default= | + | |#default=high-risk template |
- | }} has been [[ | + | }} has been [[This page is protected|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} |
|semi | |semi | ||
|autoconfirmed=semi- | |autoconfirmed=semi- | ||
Line 37: | Line 37: | ||
|full | |full | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
- | |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent | + | |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent '''vandalism'''. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|semi | |semi | ||
|autoconfirmed= | |autoconfirmed= | ||
Line 43: | Line 43: | ||
|full | |full | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
- | |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to | + | |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to commons.</small>}}}} |
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | |categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | ||
|semi | |semi | ||
- | |autoconfirmed | + | |autoconfirmed |
- | |move= | + | |move= |
|administrator | |administrator | ||
|full | |full | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
- | |#default= | + | |#default=<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}| |
- | + | }}}}}}}</includeonly><noinclude> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
{{pp-template|categories=no}} <!-- Show the small version --> | {{pp-template|categories=no}} <!-- Show the small version --> | ||
{{pp-template|small=no}} <!-- Show the large version --> | {{pp-template|small=no}} <!-- Show the large version --> |
Revision as of 18:53, 9 October 2009
![]() |
This high-risk template has been protected from editing to prevent vandalism. See the protection policy and protection log for more details. Please discuss any changes on the talk page. You may also request that this page be unprotected. |
[edit] [ ]
Template documentation

Usage
The template will automatically detect the edit protection level (semi or full) of a page, and modify the appearance or categorization in consequence.
- Use {{pp-semi-template}} for the normal template (an icon at the top)
- Use {{pp-semi-template}} for the large template
This template will not be shown on pages that are not protected. Please note that only administrators can protect pages.