Difference between revisions of "Template:Partbox"

From Cosmoteer Wiki
Jump to: navigation, search
(fixed Penetration wikilink)
Line 51: Line 51:
 
|}}{{#if:{{{PenetrationResistance|}}}|
 
|}}{{#if:{{{PenetrationResistance|}}}|
 
{{!}}-
 
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} [[PenetrationResistance]]:
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} [[Penetration]]:
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{PenetrationResistance|}}}
 
{{{PenetrationResistance|}}}

Revision as of 07:32, 27 April 2018

{{{name}}}
Part information



Usage

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{partbox
|image=
|name=
|partID=
|EditorGroup=
|TypeCategory=
|mass=
|cost=
|hitpoint=
|damage=
|crewmovespeed=
|PenetrationResistance=
|update=
}}

The data fields: EditorGroup, TypeCategory, PenetrationResistance are specifically for modders and can be looked up in the part's scripting files.

Template:Partinfobox an updated format. Please use in wiki pages.