Difference between revisions of "Template:Componentbox"

From Space Engineers Wiki
Jump to: navigation, search
(+expanding For Weapons)
m (Removed Fuel consumption replacement label of Power consumption. It is not a 1:1 ratio.)
 
(17 intermediate revisions by 2 users not shown)
Line 33: Line 33:
 
{{componentbox/itemrow|{{{component10|}}}|{{{component10amt|0}}}}}{{#switch:{{{type|}}}|d=<!-- blank -->|#default=<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:2px;position:relative">&nbsp;</div><!--End components display-->
 
{{componentbox/itemrow|{{{component10|}}}|{{{component10amt|0}}}}}{{#switch:{{{type|}}}|d=<!-- blank -->|#default=<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:2px;position:relative">&nbsp;</div><!--End components display-->
 
<!--start stats-->
 
<!--start stats-->
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Mass{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{mass|0}}}</div></div>}}{{#if: {{{volume|}}} |
+
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Mass{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{mass|0}}}</div></div>}}{{#if: {{{integrity|}}} |
 +
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Integrity{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{integrity|0}}}</div></div>
 +
|}}{{#if: {{{volume|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Volume{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{volume|0}}} l</div></div>|}}{{#if: {{{refinetime|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Volume{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{volume|0}}} l</div></div>|}}{{#if: {{{refinetime|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine time{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refinetime|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine time{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refinetime|0}}}</div></div>
Line 50: Line 52:
 
|}}{{#if: {{{ROF|}}} |
 
|}}{{#if: {{{ROF|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/ROF{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{ROF|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/ROF{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{ROF|0}}}</div></div>
|}}{{#if: {{{ShotDeviation|}}} |
+
|}}{{#if: {{{shotdeviation|}}} |
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/ShotDeviation{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{ShotDeviation|0}}}</div></div>
+
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Shot Deviation{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{shotdeviation|0}}}</div></div>
|}}{{#if: {{{Ammo|}}} |
+
|}}{{#if: {{{ammo|}}} |
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Ammo{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{Ammo|0}}}</div></div>
+
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Ammo{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{ammo|0}}}</div></div>
 +
|}}{{#if: {{{speedmult|}}} |
 +
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Speed Multiplier{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{speedmult|0}}}</div></div>
 +
|}}{{#if: {{{reachmult|}}} |
 +
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Reach Multiplier{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{reachmult|0}}}</div></div>
 
|}}{{#if: {{{refinespeed|}}} |
 
|}}{{#if: {{{refinespeed|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine Speed{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refinespeed|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Refine Speed{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{refinespeed|0}}}</div></div>
Line 62: Line 68:
 
|}}{{#if: {{{powerstandby|}}} |
 
|}}{{#if: {{{powerstandby|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Idle Power Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerstandby|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Idle Power Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerstandby|0}}}</div></div>
|}}{{#if: {{{integrity|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Integrity{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{integrity|0}}}</div></div>
 
 
|}}{{#if: {{{maxpoweroutput|}}} |
 
|}}{{#if: {{{maxpoweroutput|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Max power output{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{maxpoweroutput|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Max power output{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{maxpoweroutput|0}}}</div></div>
Line 86: Line 90:
 
|}}{{#if: {{{height|}}} |
 
|}}{{#if: {{{height|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Dimensions{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{width|0}}} x {{{height|0}}} x {{{depth|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Dimensions{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{width|0}}} x {{{height|0}}} x {{{depth|0}}}</div></div>
 +
|}}{{#if: {{{pcu|}}} |
 +
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/PCU Cost{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{pcu|0}}}</div></div>
 
|}}{{#if: {{{partof|}}} |
 
|}}{{#if: {{{partof|}}} |
 
<div style="width:100%;background-color:#659bb7;position:relative;height:37px">&nbsp;<div style="float:left;padding:7px 2px;color:white;font-size:1em;font-weight:bold;font-family:Arial;">{{Componentbox/partof{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#ifexist:File:{{{partof}}} Icon.png|{{icon|{{{partof}}}|small}}|}}[[{{{partof|None}}}]]</div></div>
 
<div style="width:100%;background-color:#659bb7;position:relative;height:37px">&nbsp;<div style="float:left;padding:7px 2px;color:white;font-size:1em;font-weight:bold;font-family:Arial;">{{Componentbox/partof{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#ifexist:File:{{{partof}}} Icon.png|{{icon|{{{partof}}}|small}}|}}[[{{{partof|None}}}]]</div></div>

Latest revision as of 14:10, 31 March 2020

No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0