« Modèle:Pp-template » : différence entre les versions
m Add missing hyphen |
Modifying category setup so that templates that are semi-protected and move-protected are categorized as both, rather than just as semi-protected. |
||
Ligne 44 : | Ligne 44 : | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
|#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}}} | |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}}} | ||
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}| | |categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} | ||
|semi | |semi | ||
|autoconfirmed=semi- | |autoconfirmed=[[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|[[Category:Wikipedia move-protected templates|{{PAGENAME}}]]}} | ||
|move=move- | |move=[[Category:Wikipedia move-protected templates|{{PAGENAME}}]] | ||
|administrator | |administrator | ||
|full | |full | ||
|sysop<!--uses default--> | |sysop<!--uses default--> | ||
|#default=<!--fallback value-->}} | |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}} | ||
|semi | |semi | ||
|autoconfirmed=Semi-protected | |autoconfirmed=Semi-protected |
Version du 11 mai 2009 à 01:10
Documentation du modèle
[créer]
{{#if:|
[[Category:Template documentation pages{{#translation:}}]] }}