Difference between revisions of "Template:Pp-template"

From BZFlagWiki
Jump to: navigation, search
(updated code)
(categorize images in Category:Protected images)
Line 10: Line 10:
 
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
 
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
 
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}
 
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}
|categories={{{categories|[[Category:Wikipedia protected templates|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
+
|categories={{{categories|
 +
{{#ifeq:{{NAMESPACE}}|{{ns:10}}|[[Category:Protected templates|{{PAGENAME}}]]}}
 +
{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:Protected images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
 
{{pp-template|categories=no}}  <!-- Show the large version -->
 
{{pp-template|categories=no}}  <!-- Show the large version -->
 
{{pp-template|small=yes}}      <!-- Show the small version -->
 
{{pp-template|small=yes}}      <!-- Show the small version -->

Revision as of 18:25, 24 December 2008

[create] Template-info.svg Template documentation