Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Undo revision 23543 by Vox Serico (talk) - caused errors) |
Vox Serico (talk | contribs) (Display cubic meters instead of MW for hydrogen thrusters' power usage, take 2.) |
||
Line 64: | Line 64: | ||
|}}{{#if: {{{materialefficiency|}}} | | |}}{{#if: {{{materialefficiency|}}} | | ||
<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|}}} | {{#if {{{fuelconverterefficiency|}}} | |
− | <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;">{{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> | |
− | |}}{{#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/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;">{{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: {{{powerstandby|}}} | {{#if {{{fuelconverterefficiency|}}} | |
+ | <div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{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> | | ||
+ | <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>}} | ||
|}}{{#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> |