« Modèle:Pp-template » : différence entre les versions

De wikarphy
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
Ligne 37 : Ligne 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=

Version du 10 mai 2009 à 23:36

Modèle:Pp-meta Modèle:Pp-meta

Documentation du modèle

{{#if:|

[[Category:Template documentation pages{{#translation:}}]] }}