Difference between revisions of "Template:Componentbox"
From Space Engineers Wiki
(+minor tweek - to clear up confusion) |
(+moved sinkgroup and sourcegroup to last for better formatting.) |
||
Line 58: | Line 58: | ||
|}}{{#if: {{{movementcoefficient|}}} | | |}}{{#if: {{{movementcoefficient|}}} | | ||
<div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Movement coefficient{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{movementcoefficient|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/Movement coefficient{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{movementcoefficient|0}}}</div></div> | ||
− | + | |}}{{#if: {{{forcemagnitude|}}} | | |
− | |||
− | |||
<div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/Force magnitude{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{forcemagnitude|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/Force magnitude{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{forcemagnitude|0}}}</div></div> | ||
|}}{{#if: {{{virtualmass|}}} | | |}}{{#if: {{{virtualmass|}}} | | ||
Line 72: | Line 70: | ||
|}}{{#if: {{{airtightness|}}} | | |}}{{#if: {{{airtightness|}}} | | ||
<div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/airtightness{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#switch: {{{airtightness}}}|yes = Always[[Category:Airtight Block]]|sometimes = Not Always - depends on orientation[[Category:Airtight Block]]| No}}</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/airtightness{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#switch: {{{airtightness}}}|yes = Always[[Category:Airtight Block]]|sometimes = Not Always - depends on orientation[[Category:Airtight Block]]| No}}</div></div> | ||
− | |}}<!--these parts should be LAST-->{{#if: {{{height|}}} | | + | |}}<!-- these parts should be LAST -->{{#if: {{{resourcesinkgroup|}}} | |
+ | <div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/resourcesinkgroup{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{resourcesinkgroup|0}}}</div></div> | ||
+ | |}}{{#if: {{{resourcesourcegroup|}}} | | ||
+ | <div style="width:100%;position:relative;height:27px"> <div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/resourcesourcegroup{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{resourcesourcegroup|0}}}</div></div> | ||
+ | |}}{{#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|}}} | | |}}{{#if: {{{partof|}}} | |