Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Added PCU cost to template) |
Vox Serico (talk | contribs) (Display m<sup>3</sup> instead of MW for hydrogen thrusters' power usage) |
||
Line 65: | Line 65: | ||
<div style="width:100%;position:relative;height:27px"> <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"> <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"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{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"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#if: {{{fuelconverterefficiency|}}} | {{Componentbox/Max Fuel Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#expr: {{{fuelconverterefficiency|0}}}*{{{powerconsumption|0}}}}}</div></div> | {{Componentbox/Active Power Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerconsumption|0}}}</div></div>}} |
|}}{{#if: {{{powerstandby|}}} | | |}}{{#if: {{{powerstandby|}}} | | ||
− | <div style="width:100%;position:relative;height:27px"> <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"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#if {{{fuelconverterefficiency|}}} | {{Componentbox/Idle Fuel Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#expr: {{{fuelconverterefficiency|0}}}*{{{powerstandby|0}}}}}</div></div> | {{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: {{{maxpoweroutput|}}} | | |}}{{#if: {{{maxpoweroutput|}}} | | ||
<div style="width:100%;position:relative;height:27px"> <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"> <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> |