Difference between revisions of "Template:Componentbox"

From Space Engineers Wiki
Jump to: navigation, search
(Added fuelconverter efficiency.)
m (Moved the efficiency expression to the right place)
Line 65: Line 65:
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Material Efficiency{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{materialefficiency|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/Material Efficiency{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{materialefficiency|0}}}</div></div>
 
|}}{{#if: {{{powerconsumption|}}} |
 
|}}{{#if: {{{powerconsumption|}}} |
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#if:{{{fuelconverterefficiency|}}} | {{#expr:{{{fuelconverterefficiency|0}}}*{{Componentbox/Max Fuel Consumption{{lang}}}}}} | {{Componentbox/Active Power Consumption{{lang}}}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerconsumption|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;">{{#if:{{{fuelconverterefficiency|}}} | {{Componentbox/Max Fuel Consumption{{lang}}}} | {{Componentbox/Active Power Consumption{{lang}}}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#expr:{{{fuelconverterefficiency|1}}}{{{powerconsumption|0}}}}}</div></div>
 
|}}{{#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>

Revision as of 08:15, 26 March 2020

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

 

 
 
Mass (kg):
0