Difference between revisions of "Template:Part/sandbox"

From Grid Sage Wiki
Jump to navigation Jump to search
Line 166: Line 166:
 
=== Example Power Source ===
 
=== Example Power Source ===
 
{{Part/sandbox
 
{{Part/sandbox
|name=Improved Deuterium Engine
+
|name=Makeshift Power Source
|shortName=Imp. Deuterium Engine
+
|shortName=Mak. Power Source
|symbol=*
 
|color=yellow
 
 
|type=Engine
 
|type=Engine
 
|slot=Power
 
|slot=Power
|mass=10
+
|mass=4
 
|rating=4
 
|rating=4
|integrity=55
+
|integrity=50
|coverage=60
+
|noRepairs=1
 +
|coverage=50
 
|energyUpkeep=0
 
|energyUpkeep=0
 
|matterUpkeep=0
 
|matterUpkeep=0
 
|heatUpkeep=+7
 
|heatUpkeep=+7
|powerSupply=+11
+
|powerSupply=+10
|powerStorage=190
+
|powerStorage=70
|fabTime=90
+
|powerStability
|fabMatter=35
+
|fabCount=2
|fabComponents=None
+
|fabTime=84/42/28
 +
|fabMatter=168
 +
|fabComponents
 
}}
 
}}
 
<pre>
 
<pre>
 
{{Part/sandbox
 
{{Part/sandbox
|name=Improved Deuterium Engine
+
|name=Makeshift Power Source
|shortName=Imp. Deuterium Engine
+
|shortName=Mak. Power Source
|symbol=*
 
|color=yellow
 
 
|type=Engine
 
|type=Engine
 
|slot=Power
 
|slot=Power
|mass=10
+
|mass=4
 
|rating=4
 
|rating=4
|integrity=55
+
|integrity=50
|coverage=60
+
|noRepairs=1
 +
|coverage=50
 
|energyUpkeep=0
 
|energyUpkeep=0
 
|matterUpkeep=0
 
|matterUpkeep=0
 
|heatUpkeep=+7
 
|heatUpkeep=+7
|powerSupply=+11
+
|powerSupply=+10
|powerStorage=190
+
|powerStorage=70
|fabTime=90
+
|powerStability
|fabMatter=35
+
|fabCount=2
|fabComponents=None
+
|fabTime=84/42/28
 +
|fabMatter=168
 +
|fabComponents
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 00:38, 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/
Overview
Type
Slot
Mass
4
Rating
4
Integrity
*50
Coverage
50
Active Upkeep
Energy
-0
Matter
-0
Heat
+7
Power
Supply
+10
Storage
70
Stability
N/A
Fabrication (x2)
Time
84/42/28
Matter
168
Components
None
(Makeshift Power Source)
X
{{Part/sandbox
|name=Makeshift Power Source
|shortName=Mak. Power Source
|type=Engine
|slot=Power
|mass=4
|rating=4
|integrity=50
|noRepairs=1
|coverage=50
|energyUpkeep=0
|matterUpkeep=0
|heatUpkeep=+7
|powerSupply=+10
|powerStorage=70
|powerStability
|fabCount=2
|fabTime=84/42/28
|fabMatter=168
|fabComponents
}}