Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Attempted fix for Unexpected * operator) |
Vox Serico (talk | contribs) m (Undo revision 23546 by Vox Serico (talk)) |
||
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 {{{fuelconverterefficiency|}}} | | |}}{{#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/Max Fuel Consumption{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#expr: | + | <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> | |
<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/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 {{{fuelconverterefficiency|}}} | | |}}{{#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: | + | <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>}} | <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|}}} | |