Difference between revisions of "Template:Calculate InventoryVolume"

From Space Engineers Wiki
Jump to: navigation, search
m (Vox Serico moved page Template:Calculate inventoryvolume to Template:Calculate InventoryVolume: CamelCase consistency)
m (Corrected volume link)
Line 1: Line 1:
<includeonly>{{#if:{{#vardefineecho:MaxVolume|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-}}}}|{{#var:MaxVolume}}|{{Calculate volume|InventorySize}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{#vardefineecho:MaxVolume|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-}}}}|{{#var:MaxVolume}}|{{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.
  
Usage <code><nowiki>{{Calculate inventorysize}}</nowiki></code> where both <code>InventorySize</code> is defined.
+
Usage <code><nowiki>{{Calculate InventorySize}}</nowiki></code> where both <code>InventorySize</code> is defined.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 22:03, 1 April 2020


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

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