Difference between revisions of "Template:Part"

From Grid Sage Wiki
Jump to navigation Jump to search
(support item colors)
(handle weapon fields)
Line 1: Line 1:
<includeonly>__NOEDITSECTION__</includeonly>
 
 
<includeonly>
 
<includeonly>
== Data ==
+
{{Databox|content=
 
+
<div style="text-align: center;">
{{{shortName|{{PAGENAME}}}}} [ <span style="font-size:larger; font-weight:bold; color: {{{color}}};">{{{symbol}}}</span> ]
+
{{{shortName|{{PAGENAME}}}}} [ <span style="font-size:larger; font-weight:bold;">{{{symbol}}}</span> ]
 
+
</div>
=== Overview ===
 
 
 
Type: [[{{{type}}}]]
 
 
 
Slot: [[{{{slot}}}]]
 
 
 
Mass: {{{mass|N/A}}}
 
 
 
Rating: {{{rating}}}
 
 
 
Integrity: {{{integrity}}}
 
  
 +
<div style="color: gray;">Overview</div>
 +
Type: [[{{{type}}}]]<br>
 +
Slot: [[{{{slot}}}]]<br>
 +
Mass: {{{mass|N/A}}}<br>
 +
Rating: {{{rating}}}<br>
 +
Integrity: {{{integrity}}}<br>
 
Coverage: {{{coverage}}}
 
Coverage: {{{coverage}}}
  
{{{typeSpecificContent}}}
+
{{#ifeq:{{{slot}}}|Weapon|
 +
<div style="color: gray;">Shot</div>
 +
Range: {{{shotRange|}}}<br>
 +
Energy: {{{shotEnergy|}}}<br>
 +
Matter: {{{shotMatter|}}}<br>
 +
Heat: {{{shotHeat|}}}<br>
 +
Recoil: {{{shotRecoil|}}}<br>
 +
Targeting: {{{shotTargeting|}}}<br>
 +
Delay: {{{shotDelay|}}}<br>
 +
Stability: {{{shotStability|}}}<br>
 +
Waypoints: {{{shotWaypoints|}}}
  
 +
<div style="color: gray;">Projectile</div>
 +
Damage: {{{projectileDamage|}}}<br>
 +
Type: {{{projectileType|}}}<br>
 +
Critical: {{{projectileCritical|}}}<br>
 +
Penetration: {{{projectilePenetration|}}}<br>
 +
Disruption: {{{projectileDisruption|}}}<br>
 +
Salvage: {{{projectileSalvage|}}}<br>
 +
}}
  
 
{{{name|{{PAGENAME}}}}}
 
{{{name|{{PAGENAME}}}}}
  
=== Fabrication ===
+
<div style="color: gray;">Fabrication</div>
Time: {{{fabTime|}}}
+
Time: {{{fabTime|}}}<br>
 
+
Matter: {{{fabMatter|}}}<br>
Matter: {{{fabMatter|}}}
+
Components: {{{fabComponents|None}}}<br>
 
+
}}
Components: {{{fabComponents|Unknown}}}
 
 
 
 
[[Category:{{{type}}} Parts]]
 
[[Category:{{{type}}} Parts]]
 
[[Category:{{{slot}}} Parts]]
 
[[Category:{{{slot}}} Parts]]

Revision as of 02:36, 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
}}