Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Added fuelconverter efficiency.) |
Vox Serico (talk | contribs) m (Moved the efficiency expression to the right place) |
||
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;">{{#if:{{{fuelconverterefficiency|}}} | | + | <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}}}} | {{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"> <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;">{{Componentbox/Idle Power Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{powerstandby|0}}}</div></div> |