Difference between revisions of "Template:Componentbox"

From Space Engineers Wiki
Jump to: navigation, search
(+adding new fields for tools)
(Added PCU cost to template)
Line 90: Line 90:
 
|}}{{#if: {{{height|}}} |
 
|}}{{#if: {{{height|}}} |
 
<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: {{{pcu|}}} |
 +
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/PCU Cost{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{pcu|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:File:{{{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>

Revision as of 16:17, 15 March 2020

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

 

 
 
Mass (kg):
0