Difference between revisions of "Template:Pp-template"
Jump to navigation
Jump to search
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.) |
||
Line 44: | Line 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 |
Revision as of 01:10, 11 May 2009
Template:Pp-meta Template:Pp-meta
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |