Difference between revisions of "Template:Componentbox"

From Space Engineers Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
<div style="position:relative;width:350px;float:right">
 
<div style="position:relative;width:350px;float:right">
 
<div style="background:#486d82;padding:0.25em;text-align:center;">
 
<div style="background:#486d82;padding:0.25em;text-align:center;">
<div style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;height:30px;position:relative">{{{2|No Item}}}<div style="float:left">{{icon|{{{2|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#ifeq: {{{1}}} | l |Large Ship|Small Ship}}|medium}}</div></div>
+
<div style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;height:30px;position:relative">{{{2|No Item}}}<div style="float:left">{{icon|{{{2|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{1|r}}}
 +
| l = Large Ship
 +
| s = Small Ship
 +
| c = Component
 +
| t = Tool
 +
| r = Raw
 +
}}|medium}}</div></div>
 
<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:20px;position:relative">&nbsp;</div>
 
<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:20px;position:relative">&nbsp;</div>
 +
{{#ifeq:{{{1|}}}|r||
 
<div style="float:left;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;">Components</div><div style="float:right;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;">Required</div>
 
<div style="float:left;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;">Components</div><div style="float:right;padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;">Required</div>
 
&nbsp;
 
&nbsp;
Line 9: Line 16:
 
{{#if: {{{3|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{3|No Image}}}|small}} [[{{{3|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{4|0}}}</div></div>|}}{{#if: {{{5|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{5|No Image}}}|small}} [[{{{5|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{6|0}}}</div></div>|}}{{#if: {{{7|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{7|No Image}}}|small}} [[{{{7|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{8|0}}}</div></div>|}}{{#if: {{{9|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{9|No Image}}}|small}} [[{{{9|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{10|0}}}</div></div>|}}{{#if: {{{11|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{11|No Image}}}|small}} [[{{{11|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{12|0}}}</div></div>|}}{{#if: {{{13|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{13|No Image}}}|small}} [[{{{13|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{14|0}}}</div></div>|}}{{#if: {{{15|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{15|No Image}}}|small}} [[{{{15|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{16|0}}}</div></div>|}}{{#if: {{{17|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{17|No Image}}}|small}} [[{{{17|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{18|0}}}</div></div>|}}{{#if: {{{19|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{19|No Image}}}|small}} [[{{{19|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{20|0}}}</div></div>|}}
 
{{#if: {{{3|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{3|No Image}}}|small}} [[{{{3|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{4|0}}}</div></div>|}}{{#if: {{{5|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{5|No Image}}}|small}} [[{{{5|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{6|0}}}</div></div>|}}{{#if: {{{7|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{7|No Image}}}|small}} [[{{{7|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{8|0}}}</div></div>|}}{{#if: {{{9|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{9|No Image}}}|small}} [[{{{9|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{10|0}}}</div></div>|}}{{#if: {{{11|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{11|No Image}}}|small}} [[{{{11|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{12|0}}}</div></div>|}}{{#if: {{{13|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{13|No Image}}}|small}} [[{{{13|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{14|0}}}</div></div>|}}{{#if: {{{15|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{15|No Image}}}|small}} [[{{{15|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{16|0}}}</div></div>|}}{{#if: {{{17|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{17|No Image}}}|small}} [[{{{17|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{18|0}}}</div></div>|}}{{#if: {{{19|}}} | <div style="width:100%;position:relative;height:30px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Gotham;">{{icon|{{{19|No Image}}}|small}} [[{{{19|No Item}}}]]</div><div style="float:right;padding:5px;color:black;font-size:1em;font-family:Gotham;">{{{20|0}}}</div></div>|}}
 
<!--End components display--></div>
 
<!--End components display--></div>
 +
}}
 
</div><noinclude>[[Category:Templates]]</noinclude>
 
</div><noinclude>[[Category:Templates]]</noinclude>

Revision as of 20:59, 14 March 2014

No Item
No Image Icon.png
Raw Icon.png
 
Components
Required