Template:Pp-template
From FORwiki
(Difference between revisions)
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= | + | |autoconfirmed={{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|}} |
- | |move= | + | |move= |
|administrator | |administrator | ||
|full | |full | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
- | |#default= | + | |#default=}}}}{{#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 20:27, 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
![](/images/thumb/4/4c/Template-info.svg/50px-Template-info.svg.png)
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.