Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
(changed icon size to tiny from 16) |
(changed icon size for partof to small) |
||
Line 73: | Line 73: | ||
<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|}}} | | |}}{{#if: {{{partof|}}} | | ||
− | <div style="width:100%;background-color:#659bb7;position:relative;height:27px"> <div style="float:left;padding: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;">{{icon|{{{partof}}}| | + | <div style="width:100%;background-color:#659bb7;position:relative;height:27px"> <div style="float:left;padding: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;">{{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}}} |