Difference between revisions of "Template:Pp-template"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
sc4e>Freedo50
m
Line 1: Line 1:
 
<includeonly>{{pp-meta
 
<includeonly>{{pp-meta
|type=indef
+
|type={{{level|indef}}}
 
|small={{{small|}}}
 
|small={{{small|}}}
 
|demospace={{{demospace|}}}
 
|demospace={{{demospace|}}}
Line 12: Line 12:
 
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|[[Category:Protected templates|{{PAGENAME}}]]}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:Protected images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>{{pp-template}}
 
|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, or high use, 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
 +
|level = indef/full/semi
 +
|image = [[Image:SOMEIMAGE]]}}</pre>
 
==Example==
 
==Example==
 
{{pp-template|categories=no}}
 
{{pp-template|categories=no}}
 
</noinclude>
 
</noinclude>

Revision as of 07:52, 28 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
|level = indef/full/semi
|image = [[Image:SOMEIMAGE]]}}

Example