Difference between revisions of "Template:Pp-template"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
(New page: <includeonly>{{pp-meta |type=indef |small={{{small|}}} |demospace={{{demospace|}}} |expiry=<!--not applicable--> |dispute=no |icon-text=This {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included ...)
 
m (Protected "Template:Pp-template" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>{{pp-meta
 
<includeonly>{{pp-meta
|type=indef
+
|type={{{level|indef}}}
 
|small={{{small|}}}
 
|small={{{small|}}}
 
|demospace={{{demospace|}}}
 
|demospace={{{demospace|}}}
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}}
{{pp-template|categories=no}} <!-- Show the large version -->
+
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|small=yes}}     <!-- Show the small version -->
+
<pre>{{pp-template
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
|level = indef/full/semi
 +
|image = [[Image:SOMEIMAGE]]}}</pre>
 +
==Example==
 +
{{pp-template|categories=no}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:02, 16 August 2019

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