Difference between revisions of "Template:Calculate InventoryVolume"

From Space Engineers Wiki
Jump to: navigation, search
m
m (Bugfix)
Line 1: Line 1:
<includeonly>{{#if:{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#if:{{#show:{{FULLPAGENAME}}|?InventorySize#-n}}|{{Calculate Volume|InventorySize}}|{{Calculate Volume}}}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#if:{{#show:{{FULLPAGENAME}}|?InventorySize#-n}}|{{Calculate Volume|InventorySize|page={{FULLPAGENAME}}}}|{{Calculate Volume|page={{FULLPAGENAME}}}}}}}}</includeonly><noinclude>
 
Calculates a block's inventory volume based on the current page.
 
Calculates a block's inventory volume based on the current page.
  

Revision as of 16:50, 5 April 2020

Calculates a block's inventory volume based on the current page.

Usage {{Calculate InventorySize}} where InventorySize or Size is defined.