Difference between revisions of "Template:Part/sandbox"

From Grid Sage Wiki
Jump to navigation Jump to search
Line 94: Line 94:
 
}}{{#ifeq:{{NAMESPACE}}|Template||
 
}}{{#ifeq:{{NAMESPACE}}|Template||
 
[[Category:{{{type}}} Parts]] [[Category:{{{slot}}} Parts]] [[Category:Parts]]
 
[[Category:{{{type}}} Parts]] [[Category:{{{slot}}} Parts]] [[Category:Parts]]
{{#if:{{{name|}}}| [[name::{{{name}}}| ]] }}
+
{{#if:{{{name|}}}| [[name::{{{name}}}| ]]
{{#if:{{{shortName|}}}| [[shortName::{{{shortName}}}| ]] }}
+
}}{{#if:{{{shortName|}}}| [[shortName::{{{shortName}}}| ]]
{{#if:{{{type|}}}| [[type::{{{type}}}| ]] }}
+
}}{{#if:{{{type|}}}| [[type::{{{type}}}| ]]
{{#if:{{{slot|}}}| [[slot::{{{slot}}}| ]] }}
+
}}{{#if:{{{slot|}}}| [[slot::{{{slot}}}| ]]
{{#if:{{{slotCount|}}}| [[slotCount::{{{slotCount}}}| ]] }}
+
}}{{#if:{{{slotCount|}}}| [[slotCount::{{{slotCount}}}| ]]
{{#if:{{{mass|}}}| [[mass::{{{mass}}}| ]] }}
+
}}{{#if:{{{mass|}}}| [[mass::{{{mass}}}| ]]
{{#if:{{{rating|}}}| [[rating::{{{rating}}}| ]] }}
+
}}{{#if:{{{rating|}}}| [[rating::{{{rating}}}| ]]
{{#if:{{{integrity|}}}| [[integrity::{{{integrity}}}| ]] }}
+
}}{{#if:{{{integrity|}}}| [[integrity::{{{integrity}}}| ]]
{{#if:{{{coverage|}}}| [[coverage::{{{coverage}}}| ]] }}
+
}}{{#if:{{{coverage|}}}| [[coverage::{{{coverage}}}| ]]
{{#if:{{{shotRange|}}}| [[shotRange::{{{shotRange}}}| ]] }}
+
}}{{#if:{{{shotRange|}}}| [[shotRange::{{{shotRange}}}| ]]
{{#if:{{{shotEnergy|}}}| [[shotEnergy::{{{shotEnergy}}}| ]] }}
+
}}{{#if:{{{shotEnergy|}}}| [[shotEnergy::{{{shotEnergy}}}| ]]
{{#if:{{{shotMatter|}}}| [[shotMatter::{{{shotMatter}}}| ]] }}
+
}}{{#if:{{{shotMatter|}}}| [[shotMatter::{{{shotMatter}}}| ]]
{{#if:{{{shotHeat|}}}| [[shotHeat::{{{shotHeat}}}| ]] }}
+
}}{{#if:{{{shotHeat|}}}| [[shotHeat::{{{shotHeat}}}| ]]
{{#if:{{{shotRecoil|}}}| [[shotRecoil::{{{shotRecoil}}}| ]] }}
+
}}{{#if:{{{shotRecoil|}}}| [[shotRecoil::{{{shotRecoil}}}| ]]
{{#if:{{{shotTargeting|}}}| [[shotTargeting::{{{shotTargeting}}}| ]] }}
+
}}{{#if:{{{shotTargeting|}}}| [[shotTargeting::{{{shotTargeting}}}| ]]
{{#if:{{{shotDelay|}}}| [[shotDelay::{{{shotDelay}}}| ]] }}
+
}}{{#if:{{{shotDelay|}}}| [[shotDelay::{{{shotDelay}}}| ]]
{{#if:{{{shotStability|}}}| [[shotStability::{{{shotStability}}}| ]] }}
+
}}{{#if:{{{shotStability|}}}| [[shotStability::{{{shotStability}}}| ]]
{{#if:{{{shotWaypoints|}}}| [[shotWaypoints::{{{shotWaypoints}}}| ]] }}
+
}}{{#if:{{{shotWaypoints|}}}| [[shotWaypoints::{{{shotWaypoints}}}| ]]
{{#if:{{{projectileDamage|}}}| [[projectileDamage::{{{projectileDamage}}}| ]] }}
+
}}{{#if:{{{projectileDamage|}}}| [[projectileDamage::{{{projectileDamage}}}| ]]
{{#if:{{{projectileCount|}}}| [[projectileCount::{{{projectileCount}}}| ]] }}
+
}}{{#if:{{{projectileCount|}}}| [[projectileCount::{{{projectileCount}}}| ]]
{{#if:{{{projectileType|}}}| [[projectileType::{{{projectileType}}}| ]] }}
+
}}{{#if:{{{projectileType|}}}| [[projectileType::{{{projectileType}}}| ]]
{{#if:{{{projectileCritical|}}}| [[projectileCritical::{{{projectileCritical}}}| ]] }}
+
}}{{#if:{{{projectileCritical|}}}| [[projectileCritical::{{{projectileCritical}}}| ]]
{{#if:{{{projectilePenetration|}}}| [[projectilePenetration::{{{projectilePenetration}}}| ]] }}
+
}}{{#if:{{{projectilePenetration|}}}| [[projectilePenetration::{{{projectilePenetration}}}| ]]
{{#if:{{{projectileSpectrum|}}}| [[projectileSpectrum::{{{projectileSpectrum}}}| ]] }}
+
}}{{#if:{{{projectileSpectrum|}}}| [[projectileSpectrum::{{{projectileSpectrum}}}| ]]
{{#if:{{{projectileTransfer|}}}| [[projectileTransfer::{{{projectileTransfer}}}| ]] }}
+
}}{{#if:{{{projectileTransfer|}}}| [[projectileTransfer::{{{projectileTransfer}}}| ]]
{{#if:{{{projectileDisruption|}}}| [[projectileDisruption::{{{projectileDisruption}}}| ]] }}
+
}}{{#if:{{{projectileDisruption|}}}| [[projectileDisruption::{{{projectileDisruption}}}| ]]
{{#if:{{{projectileSalvage|}}}| [[projectileSalvage::{{{projectileSalvage}}}| ]] }}
+
}}{{#if:{{{projectileSalvage|}}}| [[projectileSalvage::{{{projectileSalvage}}}| ]]
{{#if:{{{explosionDamage|}}}| [[explosionDamage::{{{explosionDamage}}}| ]] }}
+
}}{{#if:{{{explosionDamage|}}}| [[explosionDamage::{{{explosionDamage}}}| ]]
{{#if:{{{explosionCount|}}}| [[explosionCount::{{{explosionCount}}}| ]] }}
+
}}{{#if:{{{explosionCount|}}}| [[explosionCount::{{{explosionCount}}}| ]]
{{#if:{{{explosionRadius|}}}| [[explosionRadius::{{{explosionRadius}}}| ]] }}
+
}}{{#if:{{{explosionRadius|}}}| [[explosionRadius::{{{explosionRadius}}}| ]]
{{#if:{{{explosionFalloff|}}}| [[explosionFalloff::{{{explosionFalloff}}}| ]] }}
+
}}{{#if:{{{explosionFalloff|}}}| [[explosionFalloff::{{{explosionFalloff}}}| ]]
{{#if:{{{explosionType|}}}| [[explosionType::{{{explosionType}}}| ]] }}
+
}}{{#if:{{{explosionType|}}}| [[explosionType::{{{explosionType}}}| ]]
{{#if:{{{explosionSpectrum|}}}| [[explosionSpectrum::{{{explosionSpectrum}}}| ]] }}
+
}}{{#if:{{{explosionSpectrum|}}}| [[explosionSpectrum::{{{explosionSpectrum}}}| ]]
{{#if:{{{explosionDisruption|}}}| [[explosionDisruption::{{{explosionDisruption}}}| ]] }}
+
}}{{#if:{{{explosionDisruption|}}}| [[explosionDisruption::{{{explosionDisruption}}}| ]]
{{#if:{{{explosionSalvage|}}}| [[explosionSalvage::{{{explosionSalvage}}}| ]] }}
+
}}{{#if:{{{explosionSalvage|}}}| [[explosionSalvage::{{{explosionSalvage}}}| ]]
{{#if:{{{attackEnergy|}}}| [[attackEnergy::{{{attackEnergy}}}| ]] }}
+
}}{{#if:{{{attackEnergy|}}}| [[attackEnergy::{{{attackEnergy}}}| ]]
{{#if:{{{attackMatter|}}}| [[attackMatter::{{{attackMatter}}}| ]] }}
+
}}{{#if:{{{attackMatter|}}}| [[attackMatter::{{{attackMatter}}}| ]]
{{#if:{{{attackHeat|}}}| [[attackHeat::{{{attackHeat}}}| ]] }}
+
}}{{#if:{{{attackHeat|}}}| [[attackHeat::{{{attackHeat}}}| ]]
{{#if:{{{attackTargeting|}}}| [[attackTargeting::{{{attackTargeting}}}| ]] }}
+
}}{{#if:{{{attackTargeting|}}}| [[attackTargeting::{{{attackTargeting}}}| ]]
{{#if:{{{attackDelay|}}}| [[attackDelay::{{{attackDelay}}}| ]] }}
+
}}{{#if:{{{attackDelay|}}}| [[attackDelay::{{{attackDelay}}}| ]]
{{#if:{{{hitDamage|}}}| [[hitDamage::{{{hitDamage}}}| ]] }}
+
}}{{#if:{{{hitDamage|}}}| [[hitDamage::{{{hitDamage}}}| ]]
{{#if:{{{hitType|}}}| [[hitType::{{{hitType}}}| ]] }}
+
}}{{#if:{{{hitType|}}}| [[hitType::{{{hitType}}}| ]]
{{#if:{{{hitCritical|}}}| [[hitCritical::{{{hitCritical}}}| ]] }}
+
}}{{#if:{{{hitCritical|}}}| [[hitCritical::{{{hitCritical}}}| ]]
{{#if:{{{hitDisruption|}}}| [[hitDisruption::{{{hitDisruption}}}| ]] }}
+
}}{{#if:{{{hitDisruption|}}}| [[hitDisruption::{{{hitDisruption}}}| ]]
{{#if:{{{hitSalvage|}}}| [[hitSalvage::{{{hitSalvage}}}| ]] }}
+
}}{{#if:{{{hitSalvage|}}}| [[hitSalvage::{{{hitSalvage}}}| ]]
{{#if:{{{energyUpkeep|}}}| [[energyUpkeep::{{{energyUpkeep}}}| ]] }}
+
}}{{#if:{{{energyUpkeep|}}}| [[energyUpkeep::{{{energyUpkeep}}}| ]]
{{#if:{{{matterUpkeep|}}}| [[matterUpkeep::{{{matterUpkeep}}}| ]] }}
+
}}{{#if:{{{matterUpkeep|}}}| [[matterUpkeep::{{{matterUpkeep}}}| ]]
{{#if:{{{heatUpkeep|}}}| [[heatUpkeep::{{{heatUpkeep}}}| ]] }}
+
}}{{#if:{{{heatUpkeep|}}}| [[heatUpkeep::{{{heatUpkeep}}}| ]]
{{#if:{{{powerSupply|}}}| [[powerSupply::{{{powerSupply}}}| ]] }}
+
}}{{#if:{{{powerSupply|}}}| [[powerSupply::{{{powerSupply}}}| ]]
{{#if:{{{powerStorage|}}}| [[powerStorage::{{{powerStorage}}}| ]] }}
+
}}{{#if:{{{powerStorage|}}}| [[powerStorage::{{{powerStorage}}}| ]]
{{#if:{{{powerStability|}}}| [[powerStability::{{{powerStability}}}| ]] }}
+
}}{{#if:{{{powerStability|}}}| [[powerStability::{{{powerStability}}}| ]]
{{#if:{{{propTime|}}}| [[propTime::{{{propTime}}}| ]] }}
+
}}{{#if:{{{propTime|}}}| [[propTime::{{{propTime}}}| ]]
{{#if:{{{propMod|}}}| [[propMod::{{{propMod}}}| ]] }}
+
}}{{#if:{{{propMod|}}}| [[propMod::{{{propMod}}}| ]]
{{#if:{{{propEnergy|}}}| [[propEnergy::{{{propEnergy}}}| ]] }}
+
}}{{#if:{{{propEnergy|}}}| [[propEnergy::{{{propEnergy}}}| ]]
{{#if:{{{propHeat|}}}| [[propHeat::{{{propHeat}}}| ]] }}
+
}}{{#if:{{{propHeat|}}}| [[propHeat::{{{propHeat}}}| ]]
{{#if:{{{propSupport|}}}| [[propSupport::{{{propSupport}}}| ]] }}
+
}}{{#if:{{{propSupport|}}}| [[propSupport::{{{propSupport}}}| ]]
{{#if:{{{propPenalty|}}}| [[propPenalty::{{{propPenalty}}}| ]] }}
+
}}{{#if:{{{propPenalty|}}}| [[propPenalty::{{{propPenalty}}}| ]]
{{#if:{{{propBurnout|}}}| [[propBurnout::{{{propBurnout}}}| ]] }}
+
}}{{#if:{{{propBurnout|}}}| [[propBurnout::{{{propBurnout}}}| ]]
{{#if:{{{effect|}}}| [[effect::{{{effect}}}| ]] }}
+
}}{{#if:{{{effect|}}}| [[effect::{{{effect}}}| ]]
{{#if:{{{description|}}}| [[description::{{{description}}}| ]] }}
+
}}{{#if:{{{description|}}}| [[description::{{{description}}}| ]]
{{#if:{{{fabCount|}}}| [[fabCount::{{{fabCount}}}| ]] }}
+
}}{{#if:{{{fabCount|}}}| [[fabCount::{{{fabCount}}}| ]]
{{#if:{{{fabTime|}}}| [[fabTime::{{{fabTime}}}| ]] }}
+
}}{{#if:{{{fabTime|}}}| [[fabTime::{{{fabTime}}}| ]]
{{#if:{{{fabMatter|}}}| [[fabMatter::{{{fabMatter}}}| ]] }}
+
}}{{#if:{{{fabMatter|}}}| [[fabMatter::{{{fabMatter}}}| ]]
{{#if:{{{fabComponents|}}}| [[fabComponents::{{{fabComponents}}}| ]] }}
+
}}{{#if:{{{fabComponents|}}}| [[fabComponents::{{{fabComponents}}}| ]]
}}</includeonly><noinclude>
+
}}}}</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 ==

Revision as of 23:35, 22 January 2020

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 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/
Overview
Type
Slot
Mass
10
Rating
4
Integrity
*55
Coverage
60
Active Upkeep
Energy
0
Matter
0
Heat
+7
Power
Supply
+11
Storage
190
Stability
N/A
Fabrication
Time
90
Matter
35
Components
None
(Improved Deuterium Engine)
X
{{Part/sandbox
|name=Improved Deuterium Engine
|shortName=Imp. Deuterium Engine
|symbol=*
|color=yellow
|type=Engine
|slot=Power
|mass=10
|rating=4
|integrity=55
|coverage=60
|energyUpkeep=0
|matterUpkeep=0
|heatUpkeep=+7
|powerSupply=+11
|powerStorage=190
|fabTime=90
|fabMatter=35
|fabComponents=None
}}


Example Propulsion

/Data/
Overview
Mass
N/A
Rating
*2
Integrity
40
Coverage
15
Active Upkeep
Energy
-1
Matter
0
Heat
+1
Propulsion
Time/Move
30
    Mod/Extra
-10 (-20 max)
Energy
-1
Heat
+1
Support
8
    Penalty
35
Burnout
N/A
Fabrication
Time
90
Matter
46
Components
None
(Improved Flight Unit)
X
{{Part/sandbox
|name=Improved Flight Unit
|shortName=Imp. Flight Unit
|symbol==
|color=cyan
|type=Flight Unit
|slot=Propulsion
|mass=N/A
|rating=*2
|integrity=40
|coverage=15
|energyUpkeep=-1
|matterUpkeep=0
|heatUpkeep=+1
|propTime=30
|propMod=-10 (-20 max)
|propEnergy=-1
|propHeat=+1
|propSupport=8
|propPenalty=35
|propBurnout=N/A
|fabTime=90
|fabMatter=46
|fabComponents=None
}}


Example Utility

/Data/
Overview
Type
Slot
Mass
4
Rating
1
Integrity
45
Coverage
8
Active Upkeep
Energy
-1
Matter
0
Heat
0
Effect
Increases matter storage capacity by 200 (stacks)
Fabrication
Time
60
Matter
20
Components
None
(High-capacity Matter Storage Unit)
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=0
|heatUpkeep=0
|effect=Increases matter storage capacity by 200 (stacks)
|fabTime=60
|fabMatter=20
}}


Example Gun

/Data/
Overview
Slot
Mass
1
Rating
1
Integrity
80
Coverage
100
Shot
Range
22
Energy
-1
Matter
-1
Heat
+20
Recoil
1
Targeting
0%
Delay
-20
Stability
N/A
Arc
N/A
Projectile
Damage
6-10
Type
Kinetic
Critical
1%
Penetration
x0
Spectrum
N/A
Disruption
0%
Salvage
0
Fabrication
Time
60
Matter
20
Components
None
(Light Assault Rifle)
X
{{Part/sandbox
|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=0%
|shotDelay=-20
|shotStability=N/A
|shotWaypoints=N/A
|projectileCount=1
|projectileDamage=6-10
|projectileType=Kinetic
|projectileCritical=1%
|projectilePenetration=x0
|projectileDisruption=0%
|projectileSalvage=0
|fabTime=60
|fabMatter=20
|fabComponents=None
}}


Example Launcher

/Data/
Overview
Type
Slot
Mass
6
Rating
3
Integrity
75
Coverage
110
Shot
Range
14
Energy
0
Matter
-3
Heat
+36
Recoil
0
Targeting
+10%
Delay
+20
Stability
N/A
Arc
N/A
Explosion
Radius
4
Damage
30-66
    Falloff
-10
Type
Explosive
Spectrum
N/A
Disruption
0%
Salvage
-10
Fabrication
Time
80
Matter
23
Components
None
X
{{Part/sandbox
|name=Missile Launcher
|shortName=Missile Launcher
|symbol=]
|color=red
|type=Launcher
|slot=Weapon
|mass=6
|rating=3
|integrity=75
|coverage=110
|shotRange=14
|shotEnergy=0
|shotMatter=-3
|shotHeat=+36
|shotRecoil=0
|shotTargeting=+10%
|shotDelay=+20
|shotStability=N/A
|shotWaypoints=N/A
|explosionCount=1
|explosionRadius=4
|explosionDamage=30-66
|explosionFalloff=-10
|explosionType=Explosive
|explosionDisruption=0%
|explosionSalvage=-10
|fabTime=80
|fabMatter=23
|fabComponents=None
}}


Example Melee Weapon

/Data/
Overview
Slot
Mass
3
Rating
3
Integrity
63
Coverage
20
Attack
Energy
-5
Matter
0
Heat
+5
Targeting
0%
Delay
+100
Hit
Damage
14-42
Type
Impact
Critical
0%
Disruption
0%
Salvage
0
(Heavy Flail)
X
{{Part/sandbox
|name=Heavy Flail
|shortName=Hvy. Flail
|symbol=/
|color=green
|type=Impact Weapon
|slot=Weapon
|mass=3
|rating=3
|integrity=63
|coverage=20
|attackEnergy=-5
|attackMatter=0
|attackHeat=+5
|attackTargeting=0%
|attackDelay=+100
|hitDamage=14-42
|hitType=Impact
|hitCritical=0%
|hitSalvage=0
|fabTime=
|fabMatter=
|fabComponents=
}}