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">{{{2|No Item}}}<div style="float:left">{{icon|{{{ | + | <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|{{{item|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{type|r}}} |
| l = Large Ship | | l = Large Ship | ||
| s = Small Ship | | s = Small Ship | ||
Line 9: | Line 9: | ||
}}|medium}}</div></div> | }}|medium}}</div></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:{{{ | + | {{#ifeq:{{{type|}}}|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> | ||
| |