Difference between revisions of "Template:Part/sandbox"
Jump to navigation
Jump to search
Sideriver81 (talk | contribs) |
Sideriver81 (talk | contribs) |
||
Line 8: | Line 8: | ||
{{ Datum | Slot | {{#ifeq: {{{slot|N/A}}} | N/A | N/A | {{Link color|{{{slot}}}|color=#00b200}} {{#ifeq:{{{slotCount|1}}} | 1 | | x{{{slotCount}}} }} }} | N/A }} | {{ Datum | Slot | {{#ifeq: {{{slot|N/A}}} | N/A | N/A | {{Link color|{{{slot}}}|color=#00b200}} {{#ifeq:{{{slotCount|1}}} | 1 | | x{{{slotCount}}} }} }} | N/A }} | ||
{{ Datum | Mass | {{{mass|N/A}}} | N/A }} | {{ Datum | Mass | {{{mass|N/A}}} | N/A }} | ||
− | {{#if:{{{rating|}}}| {{ Datum | Rating | <nowiki />{{{rating}}} {{#if:{{{category|}}} |<span style="display:inline-block; padding:0em 0.5em; background-color:#00b200; color:black; font-weight:500; text-transform: uppercase;"> {{{category|}}}</span> }} }} | + | {{#if:{{{rating|}}}| {{ Datum | Rating | <nowiki />{{{rating}}} {{#if:{{{category|}}} |<span style="display:inline-block; padding:0em 0.5em; background-color:#00b200; color:black; font-weight:500; text-transform: uppercase; line-height: 1.1em;"> {{{category|}}}</span> }} }} |
}}{{#if:{{{integrity|}}}| {{ Datum | Integrity | {{{integrity}}}{{#if:{{{noRepairs|}}} |<nowiki>*</nowiki>}} }} | }}{{#if:{{{integrity|}}}| {{ Datum | Integrity | {{{integrity}}}{{#if:{{{noRepairs|}}} |<nowiki>*</nowiki>}} }} | ||
}}{{#if:{{{coverage|}}}| {{ Datum | Coverage | {{{coverage}}} }} | }}{{#if:{{{coverage|}}}| {{ Datum | Coverage | {{{coverage}}} }} |
Revision as of 05:07, 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
/Data/
Mak. Power Source [ File:Engine Rating4.png ] [ File:Engine ASCII.png ]
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 |float |name=Makeshift Power Source |shortName=Mak. Power Source |type=Engine |slot=Power |mass=4 |rating=4 |category |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 }}
Example Treads
/Data/
Exp. Biometal Heavy Treads [ File:Treads Rating9.png ] [ File:Treads ASCII.png ]
Overview
Type
Slot
Propulsion x2
Mass
N/A
Rating
9 Prototype
Integrity
850*
Coverage
240
Active Upkeep
Energy
-0
Matter
-0
Heat
+0
Propulsion
Time/Move
135
Drag
40
Energy
-8
Heat
+4
Support
85
Penalty
20
Siege
Standard
Effect
10% chance to crush robots when ramming them. Cannot crush targets of large or greater size, or those with more than 50 core integrity.
<stacks, capped at 35%>
<stacks, capped at 35%>
Fabrication
Time
222/111/74
Matter
417
Components
None
Experimental Biometal Heavy Treads: +4% volley accuracy, -2 recoil from each weapon, and immunity to knockback.
X