Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
(+added gascapacity.) |
(+added new field - partof) |
||
Line 72: | Line 72: | ||
|}}{{#if: {{{height|}}} | | |}}{{#if: {{{height|}}} | | ||
<div style="width:100%;position:relative;height:27px"> <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"> <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|}}} | | ||
+ | <div style="width:100%;background-color:#659bb7;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/partof{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{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}}} |