Difference between revisions of "Template:Pp-template"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
sc4e>Freedo50
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|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|[[Category:Protected templates|{{PAGENAME}}]]}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:Protected images|{{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}}
This template should be used on high risk template pages in the documentation section. The following code should be used:
+
This template should be used on high risk, or high use, template pages in the documentation section. The following code should be used:
 
<pre>{{pp-template}}</pre>
 
<pre>{{pp-template}}</pre>
 
==Example==
 
==Example==
 
{{pp-template|categories=no}}
 
{{pp-template|categories=no}}
 
</noinclude>
 
</noinclude>

Revision as of 17:49, 26 December 2008

This template should be used on high risk, or high use, template pages in the documentation section. The following code should be used:

{{pp-template}}

Example