Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
m (return) |
(+added 10thcomponent) |
||
Line 26: | Line 26: | ||
<div style="background:#b2d5e8;padding:0.25em;text-align:center;"><!--components display-->{{componentbox/itemrow|{{{component1|}}}|{{{component1amt|0}}}}}{{#ifeq: {{{structure}}}|2|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component2|}}}|{{{component2amt|0}}}}}{{#ifeq: {{{structure}}}|3|<div | <div style="background:#b2d5e8;padding:0.25em;text-align:center;"><!--components display-->{{componentbox/itemrow|{{{component1|}}}|{{{component1amt|0}}}}}{{#ifeq: {{{structure}}}|2|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component2|}}}|{{{component2amt|0}}}}}{{#ifeq: {{{structure}}}|3|<div | ||
style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component3|}}}|{{{component3amt|0}}}}}{{#ifeq: {{{structure}}}|4|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component4|}}}|{{{component4amt|0}}}}}{{#ifeq: {{{structure}}}|5|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component5|}}}|{{{component5amt|0}}}}}{{#ifeq: {{{structure}}}|6|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component6|}}}|{{{component6amt|0}}}}}{{#ifeq: {{{structure}}}|7|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component7|}}}|{{{component7amt|0}}}}}{{#ifeq: {{{structure}}}|8|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component8|}}}|{{{component8amt|0}}}}}{{#ifeq: {{{structure}}}|9|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}} | style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component3|}}}|{{{component3amt|0}}}}}{{#ifeq: {{{structure}}}|4|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component4|}}}|{{{component4amt|0}}}}}{{#ifeq: {{{structure}}}|5|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component5|}}}|{{{component5amt|0}}}}}{{#ifeq: {{{structure}}}|6|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component6|}}}|{{{component6amt|0}}}}}{{#ifeq: {{{structure}}}|7|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component7|}}}|{{{component7amt|0}}}}}{{#ifeq: {{{structure}}}|8|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}}{{componentbox/itemrow|{{{component8|}}}|{{{component8amt|0}}}}}{{#ifeq: {{{structure}}}|9|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}} | ||
− | {{componentbox/itemrow|{{{component9|}}}|{{{component9amt|0}}}}}<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:2px;position:relative"> </div><!--End components display--> | + | {{componentbox/itemrow|{{{component9|}}}|{{{component9amt|0}}}}}{{#ifeq: {{{structure}}}|10|<div style="background:#9c0c0c;width:100%;height:2px;text-align:center;margin-top:2px;position:relative"> </div>|}} |
+ | {{componentbox/itemrow|{{{component10|}}}|{{{component10amt|0}}}}}<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:2px;position:relative"> </div><!--End components display--> | ||
<!--start stats--> | <!--start stats--> | ||
<div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Mass{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{mass|0}}}</div></div>{{#if: {{{volume|}}} | | <div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Mass{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{mass|0}}}</div></div>{{#if: {{{volume|}}} | | ||
Line 86: | Line 87: | ||
{{#if: {{{component8|}}} | [[Category:{{{component8|}}}{{lang}}]] }} | {{#if: {{{component8|}}} | [[Category:{{{component8|}}}{{lang}}]] }} | ||
{{#if: {{{component9|}}} | [[Category:{{{component9|}}}{{lang}}]] }} | {{#if: {{{component9|}}} | [[Category:{{{component9|}}}{{lang}}]] }} | ||
+ | {{#if: {{{component10|}}} | [[Category:{{{component10|}}}{{lang}}]] }} | ||
</includeonly>}} }}<noinclude>[[Category:Templates]]</noinclude> | </includeonly>}} }}<noinclude>[[Category:Templates]]</noinclude> |