Difference between revisions of "Template:Part/sandbox"
Jump to navigation
Jump to search
Sideriver81 (talk | contribs) |
Sideriver81 (talk | contribs) |
||
Line 10: | Line 10: | ||
{{#if:{{{rating|}}}| {{ Datum | Rating | <nowiki />{{{rating}}} }} | {{#if:{{{rating|}}}| {{ Datum | Rating | <nowiki />{{{rating}}} }} | ||
}}{{#if:{{{integrity|}}}| {{ Datum | Integrity | {{#if:{{{noRepairs|}}} |<nowiki>*</nowiki>}}{{{integrity}}} }} | }}{{#if:{{{integrity|}}}| {{ Datum | Integrity | {{#if:{{{noRepairs|}}} |<nowiki>*</nowiki>}}{{{integrity}}} }} | ||
− | }} {{#if:{{{coverage|}}}| {{ Datum | Coverage | {{{coverage}}} }} | + | }}{{#if:{{{coverage|}}}| {{ Datum | Coverage | {{{coverage}}} }} |
− | }} | + | }}{{#if:{{{energyUpkeep|}}}{{{matterUpkeep|}}}{{{heatUpkeep|}}}| |
+ | {{Dataheader|Active Upkeep}} | ||
+ | {{ Datum | Energy | {{#ifeq:{{{energyUpkeep|}}}|0|-}}{{{energyUpkeep|-0}}} | -0 }} | ||
+ | {{ Datum | Matter | {{#ifeq:{{{matterUpkeep|}}}|0|-}}{{{matterUpkeep|-0}}} | -0 }} | ||
+ | {{ Datum | Heat | {{#ifeq:{{{heatUpkeep|}}}|0|+}}{{{heatUpkeep|+0}}} | +0 }} | ||
+ | }}{{#ifeq:{{{slot}}}|Power| | ||
+ | {{Dataheader|Power}} | ||
+ | {{ Datum | Supply | {{{powerSupply|}}} }} | ||
+ | {{ Datum | Storage | {{{powerStorage|0}}} | 0 }} | ||
+ | {{ Datum | Stability | {{{powerStability|N/A}}} | N/A }} | ||
+ | }} | ||
{{#if:{{{shotRange|}}}{{{shotEnergy|}}}| | {{#if:{{{shotRange|}}}{{{shotEnergy|}}}| | ||
Line 60: | Line 70: | ||
{{ Datum | Disruption | {{{hitDisruption|0%}}} | 0% }} | {{ Datum | Disruption | {{{hitDisruption|0%}}} | 0% }} | ||
{{ Datum | Salvage | {{{hitSalvage|+0}}} | 0 }} | {{ Datum | Salvage | {{{hitSalvage|+0}}} | 0 }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{#ifeq:{{{slot}}}|Propulsion| | }}{{#ifeq:{{{slot}}}|Propulsion| | ||
{{Dataheader|Propulsion}} | {{Dataheader|Propulsion}} |
Revision as of 00:26, 23 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/
Imp. Deuterium Engine [ File:Engine Rating4.png ] [ File:Engine ASCII.png ]
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 }}