Difference between revisions of "Template:Part"

From Grid Sage Wiki
Jump to navigation Jump to search
m
(handle explosion fields)
Line 12: Line 12:
 
   {{ Datum | Coverage | {{{coverage}}} }}
 
   {{ Datum | Coverage | {{{coverage}}} }}
  
{{#if:{{{projectileDamage|}}}|
+
{{#if:{{{shotRange|}}}|
 
   {{Dataheader|Shot}}
 
   {{Dataheader|Shot}}
 
       {{ Datum | Range | {{{shotRange|}}} }}
 
       {{ Datum | Range | {{{shotRange|}}} }}
Line 23: Line 23:
 
       {{ Datum | Stability | {{{shotStability|}}} }}
 
       {{ Datum | Stability | {{{shotStability|}}} }}
 
       {{ Datum | Waypoints | {{{shotWaypoints|}}} }}
 
       {{ Datum | Waypoints | {{{shotWaypoints|}}} }}
 
+
}}{{#if:{{{projectileDamage|}}}|
 
   {{Dataheader|Projectile}}
 
   {{Dataheader|Projectile}}
 
       {{ Datum | Damage | {{{projectileDamage|}}} }}
 
       {{ Datum | Damage | {{{projectileDamage|}}} }}
Line 31: Line 31:
 
       {{ Datum | Disruption | {{{projectileDisruption|}}} }}
 
       {{ Datum | Disruption | {{{projectileDisruption|}}} }}
 
       {{ Datum | Salvage | {{{projectileSalvage|}}} }}
 
       {{ Datum | Salvage | {{{projectileSalvage|}}} }}
 +
}}{{#if:{{{explosionDamage|}}}|
 +
  {{Dataheader|Explosion}}
 +
      {{ Datum | Radius | {{{explosionRadius|}}} }}
 +
      {{ Datum | Damage | {{{explosionDamage|}}} }}
 +
          {{ Datum | Falloff | {{{explosionFalloff|}}} }}
 +
      {{ Datum | Type | {{{explosionType|Explosive}}} }}
 +
      {{ Datum | Disruption | {{{explosionDisruption|}}} }}
 +
      {{ Datum | Salvage | {{{explosionSalvage|}}} }}
 
}}{{#if:{{{hitDamage|}}}|
 
}}{{#if:{{{hitDamage|}}}|
 
   {{Dataheader|Attack}}
 
   {{Dataheader|Attack}}

Revision as of 02:16, 4 June 2015

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

Usage

To add an item to the wiki: create a page with the full name of the item, copy one of the examples below, and fill in the fields.

Please also create a redirect from the short name of the item (Imp. Flight Unit) to the full name (Improved Flight Unit), and link to the item from the relevant item type page (Propulsion).

Example Power Source

/Data/

Imp. Deuterium Engine [*]

Overview
Type
Slot
Power
Mass
10
Rating
4
Integrity
55
Coverage
60
Active Upkeep
Energy
Matter
Heat
+7
Power
Supply
+11
Storage
190
Heat Stability
50%
Cooldown Period
5 turns


Improved Deuterium Engine

Fabrication
Time
90
Matter
35
Components
None
X
{{Part
|name=Improved Deuterium Engine
|shortName=Imp. Deuterium Engine
|symbol=*
|color=yellow
|type=Engine
|slot=Power
|mass=10
|rating=4
|integrity=55
|coverage=60
|energyUpkeep=
|matterUpkeep=
|heatUpkeep=+7
|powerSupply=+11
|powerStorage=190
|powerStability=50%
|powerCooldown=5 turns
|fabTime=90
|fabMatter=35
|fabComponents=None
}}


Example Propulsion

/Data/

Imp. Flight Unit [=]

Overview
Slot
Propulsion
Mass
Rating
  • 2
Integrity
40
Coverage
15
Active Upkeep
Energy
-1
Matter
Heat
+1
Propulsion
Time/Move
30
    Mod/Extra
-10 (-20 max)
Energy
-1
Heat
+1
Support
8
    Penalty
35
Burnout


Improved Flight Unit

Fabrication
Time
90
Matter
46
Components
None
X
{{Part
|name=Improved Flight Unit
|shortName=Imp. Flight Unit
|symbol==
|color=cyan
|type=Flight Unit
|slot=Propulsion
|mass=
|rating=*2
|integrity=40
|coverage=15
|energyUpkeep=-1
|matterUpkeep=
|heatUpkeep=+1
|propTime=30
|propMod=-10 (-20 max)
|propEnergy=-1
|propHeat=+1
|propSupport=8
|propPenalty=35
|propBurnout=
|fabTime=90
|fabMatter=46
|fabComponents=None
}}


Example Utility

/Data/

Hcp. Matter Storage Unit [!]

Overview
Type
Slot
Utility
Mass
4
Rating
1
Integrity
45
Coverage
8
Active Upkeep
Energy
-1
Matter
Heat
Effect

Increases matter storage capacity by 200 (stacks)

High-capacity Matter Storage Unit

Fabrication
Time
60
Matter
20
Components
None
X
{{Part
|name=High-capacity Matter Storage Unit
|shortName=Hcp. Matter Storage Unit
|symbol=!
|color=cyan
|type=Storage
|slot=Utility
|mass=4
|rating=1
|integrity=45
|coverage=8
|energyUpkeep=-1
|matterUpkeep=
|heatUpkeep=
|effect=Increases matter storage capacity by 200 (stacks)
|fabTime=60
|fabMatter=20
}}


Example Ranged Weapon

/Data/

Lgt. Assault Rifle [[]

Overview
Slot
Weapon
Mass
1
Rating
1
Integrity
80
Coverage
100
Shot
Range
22
Energy
-1
Matter
-1
Heat
+20
Recoil
1
Targeting
Delay
-20
Stability
Waypoints
Projectile
Damage
6-10
Type
Kinetic
Critical
1%
Penetration
Disruption
Salvage


Light Assault Rifle

Fabrication
Time
60
Matter
20
Components
None
X
{{Part
|name=Light Assault Rifle
|shortName=Lgt. Assault Rifle
|symbol=[
|color=orange
|type=Ballistic Gun
|slot=Weapon
|mass=1
|rating=1
|integrity=80
|coverage=100
|shotRange=22
|shotEnergy=-1
|shotMatter=-1
|shotHeat=+20
|shotRecoil=1
|shotTargeting=
|shotDelay=-20
|shotStability=
|shotWaypoints=
|projectileDamage=6-10
|projectileType=Kinetic
|projectileCritical=1%
|projectilePenetration=
|projectileDisruption=
|projectileSalvage=
|fabTime=60
|fabMatter=20
|fabComponents=None
}}


Example Melee Weapon

/Data/

Hvy. Flail [/]

Overview
Slot
Weapon
Mass
3
Rating
3
Integrity
63
Coverage
20
Attack
Energy
-5
Matter
Heat
+5
Targeting
Delay
+100
Hit
Damage
14-42
Type
Impact
Critical
Salvage


Heavy Flail

X
{{Part
|name=Heavy Flail
|shortName=Hvy. Flail
|symbol=/
|color=green
|type=Impact Weaon
|slot=Weapon
|mass=3
|rating=3
|integrity=63
|coverage=20
|attackEnergy=-5
|attackMatter=
|attackHeat=+5
|attackTargeting=
|attackDelay=+100
|hitDamage=14-42
|hitType=Impact
|hitCritical=
|hitSalvage=
|fabTime=
|fabMatter=
|fabComponents=
}}