Difference between revisions of "Template:Componentbox"

From Space Engineers Wiki
Jump to: navigation, search
m (+trying make, 'sometimes' more concise.)
m (+made this template a little more flexible (will also make this translatable too soon!))
Line 69: Line 69:
 
<div style="width:100%;position:relative;height:27px">&nbsp;<div style="float:left;padding:2px;color:black;font-size:1em;font-family:Arial;">{{Componentbox/gascapacity{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{gascapacity|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/gascapacity{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{{gascapacity|0}}}</div></div>
 
|}}{{#if: {{{airtightness|}}} |
 
|}}{{#if: {{{airtightness|}}} |
<div style="width:100%;position:relative;height:27px">&nbsp;<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 = Yes - <small>depends on orientation</small>[[Category:Airtight Block]]| No}}</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/airtightness{{lang}}}}:</div><div style="float:right;padding:2px;color:black;font-size:1em;font-family:Arial;">{{#switch: {{{airtightness}}}|yes|Yes|y = Always[[Category:Airtight Block]]|sometimes|Sometimes = Yes - <small>depends on orientation</small>[[Category:Airtight Block]]| No}}</div></div>
 
|}}<!-- these parts should be LAST -->{{#if: {{{resourcesinkgroup|}}} |
 
|}}<!-- these parts should be LAST -->{{#if: {{{resourcesinkgroup|}}} |
 
<div style="width:100%;position:relative;height:27px">&nbsp;<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>
 
<div style="width:100%;position:relative;height:27px">&nbsp;<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>

Revision as of 05:38, 18 March 2016

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

 

 
 
Mass (kg):
0