Difference between revisions of "Template:Infobox plugin"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (→‎Example: fixed)
m (30 revisions imported)
 
(153 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{mbox
+
<noinclude>{{pp-template}}</noinclude><noinclude>{{mbox
 
| type = content
 
| type = content
 
| text = <span style="color:#f28500;">'''This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.'''</span>
 
| text = <span style="color:#f28500;">'''This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.'''</span>
 
}}
 
}}
Use this in all template pages.
+
{{documentation}}
==Syntax==
 
<pre>{{infobox plugin
 
|type =
 
|img =
 
|dl =
 
|author =
 
}}</pre>
 
*'''type''': The type of plugin it is.
 
*'''img''': An image or logo.
 
*'''dl''': The {{[[Template:download|download]]}} templates for this plugin.
 
*'''author''': The creator of this.
 
*'''''credits'''''
 
*'''''support''''': Where to go if your stuck.
 
*'''''depend''''': These plugins are needed for this to work.
 
*'''''useby''''': Things that this plugin is used by.
 
*'''''language''''': The languages the plugin supports (default english).
 
*'''''tag1''''', '''''tag2''''', '''''tag3''''', '''''tag4'''', '''''tag5''''': tags for what this thing is.
 
 
==Example==
 
==Example==
</noinclude>{{infobox/table|float={{{align|right}}}|title={{{type}}}|
+
</noinclude>{{infobox/table|title={{{type}}}|
 
{{row|Image|{{{image1|{{{img|[[Image:Wiki_no_image.png|300px]]}}}}}}||cell= colspan="2" align="center"}}
 
{{row|Image|{{{image1|{{{img|[[Image:Wiki_no_image.png|300px]]}}}}}}||cell= colspan="2" align="center"}}
 +
{{#if:{{{downloads|{{{dl|}}}|}}}|
 
{{row|Downloads|'''Download Here'''||cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
 
{{row|Downloads|'''Download Here'''||cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
 
{{row|Downloads|{{{downloads|{{{dl}}}}}}||cell= colspan="2" style="text-align: center; font-weight: normal;"}}
 
{{row|Downloads|{{{downloads|{{{dl}}}}}}||cell= colspan="2" style="text-align: center; font-weight: normal;"}}
 +
}}
 
{{row|Info|'''General Information'''|cell =  colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
 
{{row|Info|'''General Information'''|cell =  colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
 
{{row|{{{credits}}}|'''Credits'''
 
{{row|{{{credits}}}|'''Credits'''
Line 32: Line 17:
 
{{row|{{{status|}}}|'''Status'''
 
{{row|{{{status|}}}|'''Status'''
 
{{!}}{{{status}}}}}
 
{{!}}{{{status}}}}}
{{row|{{{tag1}}}|'''Tags'''
+
<noinclude>{{row|{{{tag1}}}|'''Tags'''
{{!}} {{Template:Infobox plugin/tags|{{{tag1|}}}|{{{tag2|}}}|{{{tag3|}}}|{{{tag4|}}}|{{{tag5|}}}|{{{tag6|}}}|{{{type}}}}}}}
+
{{!}} {{Template:Infobox plugin/tags|{{{tag1|}}}|{{{tag2|}}}|{{{tag3|}}}|{{{tag4|}}}|{{{tag5|}}}|{{{tag6|}}}|{{{type}}}}}}}</noinclude>
 
{{row|{{{depend|}}}|'''Dependencies'''
 
{{row|{{{depend|}}}|'''Dependencies'''
 
{{!}}
 
{{!}}
Line 43: Line 28:
 
{{row|{{{language}}}|'''Languages'''
 
{{row|{{{language}}}|'''Languages'''
 
{{!}}{{{language|English}}}}}
 
{{!}}{{{language|English}}}}}
}}{{{desc|}}}
+
}}{{{desc|}}}{{{image2|}}}
 
 
[[Category:Plugins]]
 

Latest revision as of 00:50, 10 August 2019

[create] Documentation icon Template documentation

Example

{{{type}}}
Wiki no image.png
General Information
Credits {{{credits}}}
Tags Template:Infobox plugin/tags
Languages English