Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
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"> | + | <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"> |
+ | <div style="float:left;">{{icon|{{{item|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{type|l}}} | ||
| l = Large Ship | | l = Large Ship | ||
| s = Small Ship | | s = Small Ship | ||
Line 7: | Line 8: | ||
| t = Tool | | t = Tool | ||
| r = Raw | | r = Raw | ||
− | }}|medium}}</div></div> | + | }}|medium}}</div> |
+ | <div style="font-size:0.5em;width=50%">{{#switch: {{{type|l}}} | ||
+ | | l = Large Ship / Station | ||
+ | | s = Small Ship | ||
+ | | c = Component | ||
+ | | t = Tool | ||
+ | | r = Raw | ||
+ | }}</div> | ||
+ | {{{item|No Item}}}</div> | ||
<div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:20px;position:relative"> </div> | <div style="background:#659bb7;width:100%;height:3px;text-align:center;margin-top:20px;position:relative"> </div> | ||
{{#ifeq:{{{type|}}}|r|| | {{#ifeq:{{{type|}}}|r|| |