Difference between revisions of "Template:Infobox plugin"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added noauthor)
m (30 revisions imported)
 
(335 intermediate revisions by 5 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>
+
</noinclude>{{infobox/table|title={{{type}}}|
{| align={{{align|right}}}
+
{{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;"}}
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
+
{{row|Downloads|{{{downloads|{{{dl}}}}}}||cell= colspan="2" style="text-align: center; font-weight: normal;"}}
|-
+
}}
! style="background-color:#c0c0c0; font-size: larger; margin-left: inherit;" colspan="2" | <big><big>'''{{{type}}}'''</big></big>
+
{{row|Info|'''General Information'''|cell = colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
|-
+
{{row|{{{credits}}}|'''Credits'''
| colspan="2" align="center" |
+
{{!}}{{option|{{{author|}}}|'''Author:''' {{member|{{{author}}}}}
 
+
{{{credits|}}}|{{{credits}}}}}}}
{{{img|[[Image:Wiki_no_image.png|300px]]}}}
 
|-
 
|-
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Download Here
 
|-
 
|-
 
|- style="text-align: center;"
 
! colspan="2" style="text-align: center; font-weight: normal;" | {{{dl}}}
 
|- style="text-align: center;"
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 
|-
 
{{row|{{{author}}}|'''Credits'''
 
{{!}}{{#if:{{{noauthor|}}}||'''Author:''' {{member|{{{author}}}}}}}
 
{{{credits|}}}}}
 
 
{{row|{{{status|}}}|'''Status'''
 
{{row|{{{status|}}}|'''Status'''
{{!}}{{{status}}}
+
{{!}}{{{status}}}}}
{{row|{{{tag1}}}|'''Tags'''
+
<noinclude>{{row|{{{tag1}}}|'''Tags'''
{{!}} {{Template:Infobox lot/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'''
{{!}}{{{depend|}}}}}
+
{{!}}
 +
{{{depend|}}}}}
 
{{row|{{{usedby|}}}|'''Used By'''
 
{{row|{{{usedby|}}}|'''Used By'''
 
{{!}}{{{usedby|}}}}}
 
{{!}}{{{usedby|}}}}}
Line 58: Line 28:
 
{{row|{{{language}}}|'''Languages'''
 
{{row|{{{language}}}|'''Languages'''
 
{{!}}{{{language|English}}}}}
 
{{!}}{{{language|English}}}}}
|}
+
}}{{{desc|}}}{{{image2|}}}
|}{{{desc|}}}
 
 
 
[[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