Template:Pp-template
From FORwiki
(Difference between revisions)
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 {{#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 | + | |#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 |
|administrator | |administrator | ||
|full | |full |
Revision as of 20:29, 6 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-template}} for the normal template (an icon at the top)
This template will not be shown on pages that are not protected. Please note that only administrators can protect pages.