Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
(Undo revision 15431 by Westeastnorth (talk)) |
(not sure what broke mass calc) |
||
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:Arial;height: | + | <div style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Arial;height:auto;position:relative"> |
<div style="float:left;">{{icon|{{#switch: {{NAMESPACE}} |Mod|Faction|User={{NAMESPACE}}_{{#titleparts:{{PAGENAME}}|1}}_|#default=|}}{{{item|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{type|l}}} | <div style="float:left;">{{icon|{{#switch: {{NAMESPACE}} |Mod|Faction|User={{NAMESPACE}}_{{#titleparts:{{PAGENAME}}|1}}_|#default=|}}{{{item|No Image}}}|medium}}</div><div style="float:right">{{icon|{{#switch: {{{type|l}}} | ||
| l = Large Ship | | l = Large Ship | ||
Line 18: | Line 18: | ||
| m = Material | | m = Material | ||
}}{{lang}}}}</div> | }}{{lang}}}}</div> | ||
− | {{#if: {{{translation|}}} | {{{translation|}}} | {{{item|No Item}}} }}</div | + | {{#if: {{{translation|}}} | {{{translation|}}} | {{{item|No Item}}} }}</div> |
<div style="background:#659bb7;width:100%;height:3px;position:relative;"> </div> | <div style="background:#659bb7;width:100%;height:3px;position:relative;"> </div> | ||
{{#switch:{{{type|}}}|m|r|#default= | {{#switch:{{{type|}}}|m|r|#default= |