Difference between revisions of "Template:Part"
m |
Sideriver81 (talk | contribs) m |
||
(51 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Databox|content= | <includeonly>{{Databox|content= | ||
<div style="text-align: center;"> | <div style="text-align: center;"> | ||
− | {{{shortName|{{PAGENAME}}}}} {{symbol|{{{symbol}}}|color={{{color|}}}}} | + | [[{{{shortName|{{PAGENAME}}}}}|<span style="color:green;">{{{shortName|{{PAGENAME}}}}}</span>]] |
+ | {{symbol|{{{symbol}}}|color={{{color|}}}}} | ||
</div> | </div> | ||
{{Dataheader|Overview}} | {{Dataheader|Overview}} | ||
− | {{ Datum | Type | [[{{{type}}}]] }} | + | {{ Datum | Type | [[{{{slot}}}/{{{type}}}|<span style="color:green; text-decoration: underline;">{{{type}}}</span>]] }} |
− | {{ Datum | Slot | {{{slot}}} }} | + | {{ Datum | Slot | [[{{{slot}}}|<span style="color:green; text-decoration: underline;">{{{slot}}}</span>]] {{#ifeq:{{{slotCount|1}}} | 1 | | x{{{slotCount}}} }} }} |
− | {{ Datum | Mass | {{{mass|N/A}}} }} | + | {{ Datum | Mass | {{{mass|N/A}}} | N/A }} |
− | {{ Datum | Rating | {{{rating}}} }} | + | {{#if:{{{rating|}}}| |
+ | {{ Datum | Rating | <nowiki />{{{rating}}} }} | ||
+ | }} {{#if:{{{integrity|}}}| | ||
{{ Datum | Integrity | {{{integrity}}} }} | {{ Datum | Integrity | {{{integrity}}} }} | ||
+ | }} {{#if:{{{coverage|}}}| | ||
{{ Datum | Coverage | {{{coverage}}} }} | {{ Datum | Coverage | {{{coverage}}} }} | ||
+ | }} | ||
− | {{#if:{{{ | + | {{#if:{{{shotRange|}}}{{{shotEnergy|}}}| |
{{Dataheader|Shot}} | {{Dataheader|Shot}} | ||
{{ Datum | Range | {{{shotRange|}}} }} | {{ Datum | Range | {{{shotRange|}}} }} | ||
− | {{ Datum | Energy | {{{shotEnergy|}}} }} | + | {{ Datum | Energy | {{{shotEnergy|}}} | 0 }} |
− | {{ Datum | Matter | {{{shotMatter|}}} }} | + | {{ Datum | Matter | {{{shotMatter|}}} | 0 }} |
− | {{ Datum | Heat | {{{shotHeat|}}} }} | + | {{ Datum | Heat | {{{shotHeat|}}} | 0 }} |
− | {{ Datum | Recoil | {{{shotRecoil|}}} }} | + | {{ Datum | Recoil | {{{shotRecoil|0}}} | 0 }} |
− | {{ Datum | Targeting | {{{shotTargeting|}}} }} | + | {{ Datum | Targeting | {{{shotTargeting|0%}}} | 0% }} |
− | {{ Datum | Delay | {{{shotDelay|}}} }} | + | {{ Datum | Delay | {{{shotDelay|0}}} | 0 }} |
− | {{ Datum | Stability | {{{shotStability|}}} }} | + | {{ Datum | Stability | {{{shotStability|N/A}}} | N/A }} |
− | {{ Datum | Waypoints | {{{shotWaypoints|}}} }} | + | {{ Datum | Waypoints | {{{shotWaypoints|N/A}}} | N/A }} |
− | + | }}{{#if:{{{projectileDamage|}}}| | |
− | {{Dataheader|Projectile}} | + | {{Dataheader|Projectile {{#ifeq:{{{projectileCount|1}}} | 1 | | (x{{{projectileCount}}}) }} }} |
{{ Datum | Damage | {{{projectileDamage|}}} }} | {{ Datum | Damage | {{{projectileDamage|}}} }} | ||
{{ Datum | Type | {{{projectileType|}}} }} | {{ Datum | Type | {{{projectileType|}}} }} | ||
− | {{ Datum | Critical | {{{projectileCritical|}}} }} | + | {{ Datum | Critical | {{{projectileCritical|0%}}} | 0% }} |
− | {{ Datum | Penetration | {{{projectilePenetration|}}} }} | + | {{ Datum | Penetration | {{{projectilePenetration|x0}}} | x0 }} |
− | {{ Datum | Disruption | {{{projectileDisruption|}}} }} | + | {{#if:{{{projectileSpectrum|}}} | {{ Datum | Spectrum | {{{projectileSpectrum|N/A}}} | N/A }} | |
− | {{ Datum | Salvage | {{{projectileSalvage|}}} }} | + | {{#if:{{{projectileTransfer|}}} | {{ Datum | Heat Transfer | {{{projectileTransfer|}}} | }} | |
+ | {{ Datum | Spectrum | {{{projectileSpectrum|N/A}}} | N/A }} | ||
+ | }} | ||
+ | }} | ||
+ | {{ Datum | Disruption | {{{projectileDisruption|0%}}} | 0% }} | ||
+ | {{ Datum | Salvage | {{{projectileSalvage|+0}}} | 0 }} | ||
+ | }}{{#if:{{{explosionDamage|}}}| | ||
+ | {{Dataheader|Explosion {{#ifeq:{{{explosionCount|1}}} | 1 | | (x{{{explosionCount}}}) }} }} | ||
+ | {{ Datum | Radius | {{{explosionRadius|}}} }} | ||
+ | {{ Datum | Damage | {{{explosionDamage|}}} }} | ||
+ | {{ Datum | Falloff | {{{explosionFalloff|}}} }} | ||
+ | {{ Datum | Type | {{{explosionType|Explosive}}} }} | ||
+ | {{ Datum | Spectrum | {{{explosionSpectrum|N/A}}} | N/A }} | ||
+ | {{ Datum | Disruption | {{{explosionDisruption|0%}}} | 0% }} | ||
+ | {{ Datum | Salvage | {{{explosionSalvage|+0}}} | 0 }} | ||
+ | }}{{#if:{{{attackEnergy|}}}| | ||
+ | {{Dataheader|Attack}} | ||
+ | {{ Datum | Energy | {{{attackEnergy|-0}}} | 0 }} | ||
+ | {{ Datum | Matter | {{{attackMatter|-0}}} | 0 }} | ||
+ | {{ Datum | Heat | {{{attackHeat|+0}}} | 0 }} | ||
+ | {{ Datum | Targeting | {{{attackTargeting|0%}}} | 0% }} | ||
+ | {{ Datum | Delay | {{{attackDelay|0}}} | 0 }} | ||
}}{{#if:{{{hitDamage|}}}| | }}{{#if:{{{hitDamage|}}}| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Dataheader|Hit}} | {{Dataheader|Hit}} | ||
{{ Datum | Damage | {{{hitDamage|}}} }} | {{ Datum | Damage | {{{hitDamage|}}} }} | ||
{{ Datum | Type | {{{hitType|}}} }} | {{ Datum | Type | {{{hitType|}}} }} | ||
− | {{ Datum | Critical | {{{hitCritical|}}} }} | + | {{ Datum | Critical | {{{hitCritical|0%}}} | 0% }} |
− | {{ Datum | Salvage | {{{hitSalvage|}}} }} | + | {{ Datum | Disruption | {{{hitDisruption|0%}}} | 0% }} |
+ | {{ Datum | Salvage | {{{hitSalvage|+0}}} | 0 }} | ||
}}{{#if:{{{energyUpkeep|}}}{{{matterUpkeep|}}}{{{heatUpkeep|}}}| | }}{{#if:{{{energyUpkeep|}}}{{{matterUpkeep|}}}{{{heatUpkeep|}}}| | ||
{{Dataheader|Active Upkeep}} | {{Dataheader|Active Upkeep}} | ||
− | {{ Datum | Energy | {{{energyUpkeep|}}} }} | + | {{ Datum | Energy | {{{energyUpkeep|-0}}} | 0 }} |
− | {{ Datum | Matter | {{{matterUpkeep|}}} }} | + | {{ Datum | Matter | {{{matterUpkeep|-0}}} | 0 }} |
− | {{ Datum | Heat | {{{heatUpkeep|}}} }} | + | {{ Datum | Heat | {{{heatUpkeep|+0}}} | 0 }} |
}}{{#ifeq:{{{slot}}}|Power| | }}{{#ifeq:{{{slot}}}|Power| | ||
{{Dataheader|Power}} | {{Dataheader|Power}} | ||
{{ Datum | Supply | {{{powerSupply|}}} }} | {{ Datum | Supply | {{{powerSupply|}}} }} | ||
− | {{ Datum | Storage | {{{powerStorage|}}} }} | + | {{ Datum | Storage | {{{powerStorage|0}}} | 0 }} |
− | {{ Datum | | + | {{ Datum | Stability | {{{powerStability|N/A}}} | N/A }} |
− | + | }} | |
− | + | {{#ifeq:{{{slot}}}|Propulsion| | |
{{Dataheader|Propulsion}} | {{Dataheader|Propulsion}} | ||
− | {{ Datum | Time/Move | {{{propTime|}}} }} | + | {{ Datum | Time/Move | {{{propTime|}}} | 0 }} |
− | {{ Datum | Mod/Extra | {{{propMod|}}} }} | + | {{ Datum | Mod/Extra | {{{propMod|0}}} | 0 }} |
− | {{ Datum | Energy | {{{propEnergy|}}} }} | + | {{ Datum | Energy | {{{propEnergy|-0}}} | 0 }} |
− | {{ Datum | Heat | {{{propHeat|}}} }} | + | {{ Datum | Heat | {{{propHeat|+0}}} | 0 }} |
− | {{ Datum | Support | {{{propSupport|}}} }} | + | {{ Datum | Support | {{{propSupport|}}} | 0 }} |
− | {{ Datum | Penalty | {{{propPenalty|}}} }} | + | {{ Datum | Penalty | {{{propPenalty|}}} | 0 }} |
− | {{ Datum | Burnout | {{{propBurnout|}}} }} | + | {{ Datum | Burnout | {{{propBurnout|N/A}}} | N/A }} |
}} | }} | ||
{{#if:{{{effect|}}}| | {{#if:{{{effect|}}}| | ||
Line 68: | Line 89: | ||
{{{effect|None}}} | {{{effect|None}}} | ||
}} | }} | ||
+ | |||
+ | {{{description|}}} | ||
{{{name|{{PAGENAME}}}}} | {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{fabTime|}}}{{{fabMatter|}}}| | {{#if:{{{fabTime|}}}{{{fabMatter|}}}| | ||
− | {{Dataheader|Fabrication}} | + | {{Dataheader|Fabrication {{#ifeq:{{{fabCount|1}}} | 1 | | (x{{{fabCount}}}) }} }} |
{{ Datum | Time | {{{fabTime|}}} }} | {{ Datum | Time | {{{fabTime|}}} }} | ||
{{ Datum | Matter | {{{fabMatter|}}} }} | {{ Datum | Matter | {{{fabMatter|}}} }} | ||
Line 78: | Line 101: | ||
}} | }} | ||
}}{{#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}}}| ]] }} |
− | </includeonly><noinclude> | + | {{#if:{{{shortName|}}}| [[shortName::{{{shortName}}}| ]] }} |
− | This template lays out part info in a standard format and automatically links to the Part, Type, and Slot categories. | + | {{#if:{{{type|}}}| [[type::{{{type}}}| ]] }} |
+ | {{#if:{{{slot|}}}| [[slot::{{{slot}}}| ]] }} | ||
+ | {{#if:{{{slotCount|}}}| [[slotCount::{{{slotCount}}}| ]] }} | ||
+ | {{#if:{{{mass|}}}| [[mass::{{{mass}}}| ]] }} | ||
+ | {{#if:{{{rating|}}}| [[rating::{{{rating}}}| ]] }} | ||
+ | {{#if:{{{integrity|}}}| [[integrity::{{{integrity}}}| ]] }} | ||
+ | {{#if:{{{coverage|}}}| [[coverage::{{{coverage}}}| ]] }} | ||
+ | {{#if:{{{shotRange|}}}| [[shotRange::{{{shotRange}}}| ]] }} | ||
+ | {{#if:{{{shotEnergy|}}}| [[shotEnergy::{{{shotEnergy}}}| ]] }} | ||
+ | {{#if:{{{shotMatter|}}}| [[shotMatter::{{{shotMatter}}}| ]] }} | ||
+ | {{#if:{{{shotHeat|}}}| [[shotHeat::{{{shotHeat}}}| ]] }} | ||
+ | {{#if:{{{shotRecoil|}}}| [[shotRecoil::{{{shotRecoil}}}| ]] }} | ||
+ | {{#if:{{{shotTargeting|}}}| [[shotTargeting::{{{shotTargeting}}}| ]] }} | ||
+ | {{#if:{{{shotDelay|}}}| [[shotDelay::{{{shotDelay}}}| ]] }} | ||
+ | {{#if:{{{shotStability|}}}| [[shotStability::{{{shotStability}}}| ]] }} | ||
+ | {{#if:{{{shotWaypoints|}}}| [[shotWaypoints::{{{shotWaypoints}}}| ]] }} | ||
+ | {{#if:{{{projectileDamage|}}}| [[projectileDamage::{{{projectileDamage}}}| ]] }} | ||
+ | {{#if:{{{projectileCount|}}}| [[projectileCount::{{{projectileCount}}}| ]] }} | ||
+ | {{#if:{{{projectileType|}}}| [[projectileType::{{{projectileType}}}| ]] }} | ||
+ | {{#if:{{{projectileCritical|}}}| [[projectileCritical::{{{projectileCritical}}}| ]] }} | ||
+ | {{#if:{{{projectilePenetration|}}}| [[projectilePenetration::{{{projectilePenetration}}}| ]] }} | ||
+ | {{#if:{{{projectileSpectrum|}}}| [[projectileSpectrum::{{{projectileSpectrum}}}| ]] }} | ||
+ | {{#if:{{{projectileTransfer|}}}| [[projectileTransfer::{{{projectileTransfer}}}| ]] }} | ||
+ | {{#if:{{{projectileDisruption|}}}| [[projectileDisruption::{{{projectileDisruption}}}| ]] }} | ||
+ | {{#if:{{{projectileSalvage|}}}| [[projectileSalvage::{{{projectileSalvage}}}| ]] }} | ||
+ | {{#if:{{{explosionDamage|}}}| [[explosionDamage::{{{explosionDamage}}}| ]] }} | ||
+ | {{#if:{{{explosionCount|}}}| [[explosionCount::{{{explosionCount}}}| ]] }} | ||
+ | {{#if:{{{explosionRadius|}}}| [[explosionRadius::{{{explosionRadius}}}| ]] }} | ||
+ | {{#if:{{{explosionFalloff|}}}| [[explosionFalloff::{{{explosionFalloff}}}| ]] }} | ||
+ | {{#if:{{{explosionType|}}}| [[explosionType::{{{explosionType}}}| ]] }} | ||
+ | {{#if:{{{explosionSpectrum|}}}| [[explosionSpectrum::{{{explosionSpectrum}}}| ]] }} | ||
+ | {{#if:{{{explosionDisruption|}}}| [[explosionDisruption::{{{explosionDisruption}}}| ]] }} | ||
+ | {{#if:{{{explosionSalvage|}}}| [[explosionSalvage::{{{explosionSalvage}}}| ]] }} | ||
+ | {{#if:{{{attackEnergy|}}}| [[attackEnergy::{{{attackEnergy}}}| ]] }} | ||
+ | {{#if:{{{attackMatter|}}}| [[attackMatter::{{{attackMatter}}}| ]] }} | ||
+ | {{#if:{{{attackHeat|}}}| [[attackHeat::{{{attackHeat}}}| ]] }} | ||
+ | {{#if:{{{attackTargeting|}}}| [[attackTargeting::{{{attackTargeting}}}| ]] }} | ||
+ | {{#if:{{{attackDelay|}}}| [[attackDelay::{{{attackDelay}}}| ]] }} | ||
+ | {{#if:{{{hitDamage|}}}| [[hitDamage::{{{hitDamage}}}| ]] }} | ||
+ | {{#if:{{{hitType|}}}| [[hitType::{{{hitType}}}| ]] }} | ||
+ | {{#if:{{{hitCritical|}}}| [[hitCritical::{{{hitCritical}}}| ]] }} | ||
+ | {{#if:{{{hitDisruption|}}}| [[hitDisruption::{{{hitDisruption}}}| ]] }} | ||
+ | {{#if:{{{hitSalvage|}}}| [[hitSalvage::{{{hitSalvage}}}| ]] }} | ||
+ | {{#if:{{{energyUpkeep|}}}| [[energyUpkeep::{{{energyUpkeep}}}| ]] }} | ||
+ | {{#if:{{{matterUpkeep|}}}| [[matterUpkeep::{{{matterUpkeep}}}| ]] }} | ||
+ | {{#if:{{{heatUpkeep|}}}| [[heatUpkeep::{{{heatUpkeep}}}| ]] }} | ||
+ | {{#if:{{{powerSupply|}}}| [[powerSupply::{{{powerSupply}}}| ]] }} | ||
+ | {{#if:{{{powerStorage|}}}| [[powerStorage::{{{powerStorage}}}| ]] }} | ||
+ | {{#if:{{{powerStability|}}}| [[powerStability::{{{powerStability}}}| ]] }} | ||
+ | {{#if:{{{propTime|}}}| [[propTime::{{{propTime}}}| ]] }} | ||
+ | {{#if:{{{propMod|}}}| [[propMod::{{{propMod}}}| ]] }} | ||
+ | {{#if:{{{propEnergy|}}}| [[propEnergy::{{{propEnergy}}}| ]] }} | ||
+ | {{#if:{{{propHeat|}}}| [[propHeat::{{{propHeat}}}| ]] }} | ||
+ | {{#if:{{{propSupport|}}}| [[propSupport::{{{propSupport}}}| ]] }} | ||
+ | {{#if:{{{propPenalty|}}}| [[propPenalty::{{{propPenalty}}}| ]] }} | ||
+ | {{#if:{{{propBurnout|}}}| [[propBurnout::{{{propBurnout}}}| ]] }} | ||
+ | {{#if:{{{effect|}}}| [[effect::{{{effect}}}| ]] }} | ||
+ | {{#if:{{{description|}}}| [[description::{{{description}}}| ]] }} | ||
+ | {{#if:{{{fabCount|}}}| [[fabCount::{{{fabCount}}}| ]] }} | ||
+ | {{#if:{{{fabTime|}}}| [[fabTime::{{{fabTime}}}| ]] }} | ||
+ | {{#if:{{{fabMatter|}}}| [[fabMatter::{{{fabMatter}}}| ]] }} | ||
+ | {{#if:{{{fabComponents|}}}| [[fabComponents::{{{fabComponents}}}| ]] }} | ||
+ | }}</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. | ||
== Usage == | == 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. | 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. | ||
Line 99: | Line 185: | ||
|integrity=55 | |integrity=55 | ||
|coverage=60 | |coverage=60 | ||
− | |energyUpkeep= | + | |energyUpkeep=0 |
− | |matterUpkeep= | + | |matterUpkeep=0 |
|heatUpkeep=+7 | |heatUpkeep=+7 | ||
|powerSupply=+11 | |powerSupply=+11 | ||
|powerStorage=190 | |powerStorage=190 | ||
− | |||
− | |||
|fabTime=90 | |fabTime=90 | ||
|fabMatter=35 | |fabMatter=35 | ||
Line 122: | Line 206: | ||
|integrity=55 | |integrity=55 | ||
|coverage=60 | |coverage=60 | ||
− | |energyUpkeep= | + | |energyUpkeep=0 |
− | |matterUpkeep= | + | |matterUpkeep=0 |
|heatUpkeep=+7 | |heatUpkeep=+7 | ||
|powerSupply=+11 | |powerSupply=+11 | ||
|powerStorage=190 | |powerStorage=190 | ||
− | |||
− | |||
|fabTime=90 | |fabTime=90 | ||
|fabMatter=35 | |fabMatter=35 | ||
Line 144: | Line 226: | ||
|type=Flight Unit | |type=Flight Unit | ||
|slot=Propulsion | |slot=Propulsion | ||
− | |mass= | + | |mass=N/A |
|rating=*2 | |rating=*2 | ||
|integrity=40 | |integrity=40 | ||
|coverage=15 | |coverage=15 | ||
|energyUpkeep=-1 | |energyUpkeep=-1 | ||
− | |matterUpkeep= | + | |matterUpkeep=0 |
|heatUpkeep=+1 | |heatUpkeep=+1 | ||
|propTime=30 | |propTime=30 | ||
Line 157: | Line 239: | ||
|propSupport=8 | |propSupport=8 | ||
|propPenalty=35 | |propPenalty=35 | ||
− | |propBurnout= | + | |propBurnout=N/A |
|fabTime=90 | |fabTime=90 | ||
|fabMatter=46 | |fabMatter=46 | ||
Line 170: | Line 252: | ||
|type=Flight Unit | |type=Flight Unit | ||
|slot=Propulsion | |slot=Propulsion | ||
− | |mass= | + | |mass=N/A |
|rating=*2 | |rating=*2 | ||
|integrity=40 | |integrity=40 | ||
|coverage=15 | |coverage=15 | ||
|energyUpkeep=-1 | |energyUpkeep=-1 | ||
− | |matterUpkeep= | + | |matterUpkeep=0 |
|heatUpkeep=+1 | |heatUpkeep=+1 | ||
|propTime=30 | |propTime=30 | ||
Line 183: | Line 265: | ||
|propSupport=8 | |propSupport=8 | ||
|propPenalty=35 | |propPenalty=35 | ||
− | |propBurnout= | + | |propBurnout=N/A |
|fabTime=90 | |fabTime=90 | ||
|fabMatter=46 | |fabMatter=46 | ||
Line 204: | Line 286: | ||
|coverage=8 | |coverage=8 | ||
|energyUpkeep=-1 | |energyUpkeep=-1 | ||
− | |matterUpkeep= | + | |matterUpkeep=0 |
− | |heatUpkeep= | + | |heatUpkeep=0 |
|effect=Increases matter storage capacity by 200 (stacks) | |effect=Increases matter storage capacity by 200 (stacks) | ||
|fabTime=60 | |fabTime=60 | ||
Line 223: | Line 305: | ||
|coverage=8 | |coverage=8 | ||
|energyUpkeep=-1 | |energyUpkeep=-1 | ||
− | |matterUpkeep= | + | |matterUpkeep=0 |
− | |heatUpkeep= | + | |heatUpkeep=0 |
|effect=Increases matter storage capacity by 200 (stacks) | |effect=Increases matter storage capacity by 200 (stacks) | ||
|fabTime=60 | |fabTime=60 | ||
Line 232: | Line 314: | ||
<br style="clear:both"> | <br style="clear:both"> | ||
− | === Example | + | === Example Gun === |
{{Part | {{Part | ||
|name=Light Assault Rifle | |name=Light Assault Rifle | ||
Line 249: | Line 331: | ||
|shotHeat=+20 | |shotHeat=+20 | ||
|shotRecoil=1 | |shotRecoil=1 | ||
− | |shotTargeting= | + | |shotTargeting=0% |
|shotDelay=-20 | |shotDelay=-20 | ||
− | |shotStability= | + | |shotStability=N/A |
− | |shotWaypoints= | + | |shotWaypoints=N/A |
+ | |projectileCount=1 | ||
|projectileDamage=6-10 | |projectileDamage=6-10 | ||
|projectileType=Kinetic | |projectileType=Kinetic | ||
|projectileCritical=1% | |projectileCritical=1% | ||
− | |projectilePenetration= | + | |projectilePenetration=x0 |
− | |projectileDisruption= | + | |projectileDisruption=0% |
− | |projectileSalvage= | + | |projectileSalvage=0 |
|fabTime=60 | |fabTime=60 | ||
|fabMatter=20 | |fabMatter=20 | ||
Line 280: | Line 363: | ||
|shotHeat=+20 | |shotHeat=+20 | ||
|shotRecoil=1 | |shotRecoil=1 | ||
− | |shotTargeting= | + | |shotTargeting=0% |
|shotDelay=-20 | |shotDelay=-20 | ||
− | |shotStability= | + | |shotStability=N/A |
− | |shotWaypoints= | + | |shotWaypoints=N/A |
+ | |projectileCount=1 | ||
|projectileDamage=6-10 | |projectileDamage=6-10 | ||
|projectileType=Kinetic | |projectileType=Kinetic | ||
|projectileCritical=1% | |projectileCritical=1% | ||
− | |projectilePenetration= | + | |projectilePenetration=x0 |
− | |projectileDisruption= | + | |projectileDisruption=0% |
− | |projectileSalvage= | + | |projectileSalvage=0 |
|fabTime=60 | |fabTime=60 | ||
|fabMatter=20 | |fabMatter=20 | ||
+ | |fabComponents=None | ||
+ | }} | ||
+ | </nowiki> | ||
+ | |||
+ | <br style="clear:both"> | ||
+ | === Example Launcher === | ||
+ | {{Part | ||
+ | |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 | ||
+ | }} | ||
+ | <nowiki> | ||
+ | {{Part | ||
+ | |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 | |fabComponents=None | ||
}} | }} | ||
Line 303: | Line 454: | ||
|symbol=/ | |symbol=/ | ||
|color=green | |color=green | ||
− | |type=Impact | + | |type=Impact Weapon |
|slot=Weapon | |slot=Weapon | ||
|mass=3 | |mass=3 | ||
Line 310: | Line 461: | ||
|coverage=20 | |coverage=20 | ||
|attackEnergy=-5 | |attackEnergy=-5 | ||
− | |attackMatter= | + | |attackMatter=0 |
|attackHeat=+5 | |attackHeat=+5 | ||
− | |attackTargeting= | + | |attackTargeting=0% |
|attackDelay=+100 | |attackDelay=+100 | ||
|hitDamage=14-42 | |hitDamage=14-42 | ||
|hitType=Impact | |hitType=Impact | ||
− | |hitCritical= | + | |hitCritical=0% |
− | |hitSalvage= | + | |hitSalvage=0 |
|fabTime= | |fabTime= | ||
|fabMatter= | |fabMatter= | ||
Line 328: | Line 479: | ||
|symbol=/ | |symbol=/ | ||
|color=green | |color=green | ||
− | |type=Impact | + | |type=Impact Weapon |
|slot=Weapon | |slot=Weapon | ||
|mass=3 | |mass=3 | ||
Line 335: | Line 486: | ||
|coverage=20 | |coverage=20 | ||
|attackEnergy=-5 | |attackEnergy=-5 | ||
− | |attackMatter= | + | |attackMatter=0 |
|attackHeat=+5 | |attackHeat=+5 | ||
− | |attackTargeting= | + | |attackTargeting=0% |
|attackDelay=+100 | |attackDelay=+100 | ||
|hitDamage=14-42 | |hitDamage=14-42 | ||
|hitType=Impact | |hitType=Impact | ||
− | |hitCritical= | + | |hitCritical=0% |
− | |hitSalvage= | + | |hitSalvage=0 |
|fabTime= | |fabTime= | ||
|fabMatter= | |fabMatter= | ||
Line 348: | Line 499: | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
+ | [[Category:Templates]] | ||
<noinclude> | <noinclude> |
Latest revision as of 02:07, 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 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
Improved Deuterium Engine
{{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=0 |matterUpkeep=0 |heatUpkeep=+7 |powerSupply=+11 |powerStorage=190 |fabTime=90 |fabMatter=35 |fabComponents=None }}
Example Propulsion
Imp. Flight Unit [=]
Improved Flight Unit
{{Part |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
Increases matter storage capacity by 200 (stacks)
High-capacity Matter Storage Unit
{{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
Light Assault Rifle
{{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=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
Missile Launcher []]
Missile Launcher
{{Part |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
Hvy. Flail [/]
Heavy Flail
{{Part |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= }}