Difference between revisions of "Template:Componentbox"

From Space Engineers Wiki
Jump to: navigation, search
(+i changed partof - it now has an expensive parser, talk to me if it's too costily)
m (+fixing slight oversight)
Line 73: Line 73:
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Dimensions{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{width|0}}} x {{{height|0}}} x {{{depth|0}}}</div></div>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Dimensions{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{width|0}}} x {{{height|0}}} x {{{depth|0}}}</div></div>
 
|}}{{#if: {{{partof|}}} |
 
|}}{{#if: {{{partof|}}} |
<div style="width:100%;background-color:#659bb7;position:relative;height:37px">&nbsp;<div style="float:left;padding:7px 2px;color:white;font-size:1em;font-weight:bold;font-family:Arial;">{{Componentbox/partof{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#ifexist: {{{partof}}} Icon.png|{{icon|{{{partof}}}|small}}|}}[[{{{partof|None}}}]]</div></div>
+
<div style="width:100%;background-color:#659bb7;position:relative;height:37px">&nbsp;<div style="float:left;padding:7px 2px;color:white;font-size:1em;font-weight:bold;font-family:Arial;">{{Componentbox/partof{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#ifexist:File:{{{partof}}} Icon.png|{{icon|{{{partof}}}|small}}|}}[[{{{partof|None}}}]]</div></div>
 
|}}<!--end stats--></div>
 
|}}<!--end stats--></div>
 
</div>{{#if: {{NAMESPACE}} | | {{#if: {{{nocat|}}} | |<includeonly>[[Category:{{#switch: {{{type|l}}}
 
</div>{{#if: {{NAMESPACE}} | | {{#if: {{{nocat|}}} | |<includeonly>[[Category:{{#switch: {{{type|l}}}

Revision as of 14:24, 12 March 2016

No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Item
 
Components
Required

 

 
 
Mass (kg):
0