Difference between revisions of "Template:Machine"

From Grid Sage Wiki
Jump to navigation Jump to search
m
 
(11 intermediate revisions by 2 users not shown)
Line 30: Line 30:
 
       {{ Datum | Type | {{{explosionType|}}} }}
 
       {{ Datum | Type | {{{explosionType|}}} }}
 
       {{ Datum | Spectrum | {{{explosionSpectrum|N/A}}} | N/A }}
 
       {{ Datum | Spectrum | {{{explosionSpectrum|N/A}}} | N/A }}
       {#if:{{{explosionType|Thermal}}}|
+
       {{ Datum | Heat Transfer | {{{explosionTransfer|N/A}}} | N/A }}
        {{ Datum | Heat Transfer | {{{explosionTransfer}}} }}
 
      }
 
 
       {{ Datum | Disruption | {{{explosionDisruption|0%}}} | 0% }}
 
       {{ Datum | Disruption | {{{explosionDisruption|0%}}} | 0% }}
 
       {{ Datum | Salvage | {{{explosionSalvage|+0}}} | 0 }}
 
       {{ Datum | Salvage | {{{explosionSalvage|+0}}} | 0 }}
 
}}
 
}}
}}</includeonly><noinclude>
+
}}
 +
[[Category:Machines]]
 +
</includeonly><noinclude>
 
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.
 
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 ==
 
== Usage ==
Line 58: Line 58:
 
|explosionFalloff=-8
 
|explosionFalloff=-8
 
|explosionType=Thermal
 
|explosionType=Thermal
 +
|explosionSpectrum=N/A
 +
|explosionTransfer=High
 
|explosionDisruption=0%
 
|explosionDisruption=0%
 
|explosionSalvage=-8
 
|explosionSalvage=-8
Line 78: Line 80:
 
|explosionFalloff=-8
 
|explosionFalloff=-8
 
|explosionType=Thermal
 
|explosionType=Thermal
 +
|explosionSpectrum=N/A
 +
|explosionTransfer=High
 
|explosionDisruption=0%
 
|explosionDisruption=0%
 
|explosionSalvage=-8
 
|explosionSalvage=-8
Line 109: Line 113:
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 
+
[[Category:Templates]]
<noinclude>
+
</noinclude>

Latest revision as of 02:13, 3 December 2019

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
Heat Transfer
High
Disruption
0%
Salvage
-8
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
|explosionSpectrum=N/A
|explosionTransfer=High
|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%
X
{{Machine
|name=Core Extractor
|armor=15
|kinetic=0%
|thermal=0%
|explosive=-50%
|electromagnetic=+50%
|impact=0%
|slashing=0%
|piercing=0%
}}