Template:Pp-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 [[FORWiki:High-risk templates|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=[[FORWiki:High-risk templates|high-risk template]] |
- | }} has been [[ | + | }} has been [[FORWiki: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 [[FORWiki:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|semi | |semi | ||
|autoconfirmed= | |autoconfirmed= | ||
Line 46: | Line 46: | ||
|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=[[Category: | + | |autoconfirmed=[[Category:FORWiki semi-protected templates|{{PAGENAME}}]]{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|[[Category:FORWiki move-protected templates|{{PAGENAME}}]]}} |
- | |move=[[Category: | + | |move=[[Category:FORWiki move-protected templates|{{PAGENAME}}]] |
|administrator | |administrator | ||
|full | |full | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
- | |#default=[[Category: | + | |#default=[[Category:FORWiki protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} |
|semi | |semi | ||
|autoconfirmed=Semi-protected | |autoconfirmed=Semi-protected |
Revision as of 03:41, 25 August 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.