Difference between revisions of "Template:Pp-template"

From BZFlagWiki
Jump to: navigation, search
(Adding feature: If the template is move-protected but not edit-protected, give a move-protection notice back instead of an error.)
m (Removed accidental extra braces)
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 [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
   |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=
 
   |autoconfirmed=

Revision as of 23:36, 10 May 2009

[create] Template-info.svg Template documentation