Difference between revisions of "Template:Part"

From Grid Sage Wiki
Jump to navigation Jump to search
(handle weapon fields)
(automatically show sections for power, propulsion, utility, and fab)
Line 32: Line 32:
 
Disruption: {{{projectileDisruption|}}}<br>
 
Disruption: {{{projectileDisruption|}}}<br>
 
Salvage: {{{projectileSalvage|}}}<br>
 
Salvage: {{{projectileSalvage|}}}<br>
 +
|
 +
<div style="color: gray;">Active Upkeep</div>
 +
Energy: {{{energyUpkeep|0}}}<br>
 +
Matter: {{{matterUpkeep|0}}}<br>
 +
Heat: {{{heatUpkeep|0}}}<br>
 +
}}
 +
{{#ifeq:{{{slot}}}|Power|
 +
<div style="color: gray;">Power</div>
 +
Supply: {{{powerSupply|0}}}<br>
 +
Storage: {{{powerStorage|0}}}<br>
 +
Heat Stability: {{{powerStability|0}}}<br>
 +
Cooldown Period: {{{powerCooldown|0}}}<br>
 +
}}
 +
{{#ifeq:{{slot}}|Propulsion|
 +
<div style="color: gray;">Propulsion</div>
 +
Time/Move: {{{propTime|}}}<br>
 +
&nbsp;&nbsp;Mod/Extra: {{{propMod|0}}}<br>
 +
Energy: {{{propEnergy|0}}}<br>
 +
Heat: {{{propHeat|0}}}<br>
 +
Support: {{{propSupport|0}}}<br>
 +
&nbsp;&nbsp;Penalty: {{{propPenalty|0}}}<br>
 +
Burnout: {{{propBurnout|}}}
 +
}}
 +
{{#ifeq:{{slot}}|Utility|
 +
<div style="color: gray;">Effect</div>
 +
{{{effect|None}}}
 
}}
 
}}
 
 
{{{name|{{PAGENAME}}}}}
 
{{{name|{{PAGENAME}}}}}
  
 +
{{#if:{{{fabTime|}}}{{{fabMatter|}}}|
 
<div style="color: gray;">Fabrication</div>
 
<div style="color: gray;">Fabrication</div>
 
Time: {{{fabTime|}}}<br>
 
Time: {{{fabTime|}}}<br>
 
Matter: {{{fabMatter|}}}<br>
 
Matter: {{{fabMatter|}}}<br>
 
Components: {{{fabComponents|None}}}<br>
 
Components: {{{fabComponents|None}}}<br>
 +
}}
 
}}
 
}}
 
[[Category:{{{type}}} Parts]]
 
[[Category:{{{type}}} Parts]]
Line 63: Line 90:
 
|fabMatter=20
 
|fabMatter=20
 
}}
 
}}
 
 
</nowiki>
 
</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 02:47, 2 June 2015


This template lays out part info in a standard format and automatically links to the Part, Type, and Slot categories.

Usage


{{Part
|shortName=Hcp. Matter Storage Unit
|symbol=!
|type=Storage
|slot=Utility
|mass=4
|rating=1
|integrity=45
|coverage=8
|effect=Increases matter storage capacity by 200 (stacks)
|fabTime=60
|fabMatter=20
}}