Difference between revisions of "Template:Machine"

From Grid Sage Wiki
Jump to navigation Jump to search
(Delay too. Eh.)
Line 28: Line 28:
 
       {{ Datum | Damage | {{{explosionDamage|}}} }}
 
       {{ Datum | Damage | {{{explosionDamage|}}} }}
 
       {{ Datum |     Falloff | {{{explosionFalloff|}}} }}
 
       {{ Datum |     Falloff | {{{explosionFalloff|}}} }}
       {{ Datum | Type | {{{explosionType|Explosive}}} }}
+
       {{ Datum | Type | {{{explosionType|}}} }}
 
       {{ Datum | Spectrum | {{{explosionSpectrum|N/A}}} | N/A }}
 
       {{ Datum | Spectrum | {{{explosionSpectrum|N/A}}} | N/A }}
 +
      {#if:{{{explosionType|Thermal}}}|
 +
        {{ Datum | Heat Transfer | {{{explosionTransfer}}} }}
 +
      }
 
       {{ Datum | Disruption | {{{explosionDisruption|0%}}} | 0% }}
 
       {{ Datum | Disruption | {{{explosionDisruption|0%}}} | 0% }}
 
       {{ Datum | Salvage | {{{explosionSalvage|+0}}} | 0 }}
 
       {{ Datum | Salvage | {{{explosionSalvage|+0}}} | 0 }}

Revision as of 01:53, 13 March 2017

This template lays out part info in a standard format and automatically links to the Part, Type, and Slot categories. It also creates properties from the supplied data for use in queries.

Usage

To add a machine to the wiki: copy one of the examples below, and fill in the fields.

Example explosive machine

/Data/
Overview
Armor
18
Structural Analysis
Kinetic
0%
Thermal
0%
Explosive
-50%
Electromagnetic
+50%
Impact
0%
Slashing
0%
Piercing
0%
Explosion
Stability
100%
Delay
0-0
Radius
4
Damage
37-65
    Falloff
-8
Type
Thermal
Spectrum
N/A
     {#if:Thermal
X
{{Machine
|name=Plasma Injector
|armor=18
|kinetic=0%
|thermal=0%
|explosive=-50%
|electromagnetic=+50%
|impact=0%
|slashing=0%
|piercing=0%
|stability=100%
|delay=0-0
|explosionRadius=4
|explosionDamage=37-65
|explosionFalloff=-8
|explosionType=Thermal
|explosionDisruption=0%
|explosionSalvage=-8
}}


Example stable machine

/Data/
Overview
Armor
15
Structural Analysis
Kinetic
0%
Thermal
0%
Explosive
-50%
Electromagnetic
+50%
Impact
0%
Slashing
0%
Piercing
0%
Heat Transfer
{{{explosionTransfer}}}
     }
Disruption
0%
Salvage
+0
X
{{Machine
|name=Core Extractor
|armor=15
|kinetic=0%
|thermal=0%
|explosive=-50%
|electromagnetic=+50%
|impact=0%
|slashing=0%
|piercing=0%
}}