Difference between revisions of "Template:Calculate InventoryVolume"

From Space Engineers Wiki
Jump to: navigation, search
m (Corrected volume link)
m (Removed unnecessary variable definition. Hooray for caching!)
Line 1: Line 1:
<includeonly>{{#if:{{#vardefineecho:MaxVolume|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-}}}}|{{#var:MaxVolume}}|{{Calculate Volume|InventorySize}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-}}|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-}}|{{Calculate Volume|InventorySize}}}}</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 18:31, 3 April 2020

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

Usage {{Calculate InventorySize}} where both InventorySize is defined.