Difference between revisions of "Template:Calculate InventoryVolume"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Strip unit) |
Vox Serico (talk | contribs) (Cargo Containers don't have InventorySize, but seem to go by Size instead.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{Calculate Volume|InventorySize}}}}</includeonly><noinclude> | + | <includeonly>{{#if:{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#show:{{FULLPAGENAME}}|?InventoryMaxVolume#-n}}|{{#if:{{#show:{{FULLPAGENAME}}|?InventorySize#-n}}|{{Calculate Volume|InventorySize}}|{{Calculate Volume|Size}}}}</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 | + | Usage <code><nowiki>{{Calculate InventorySize}}</nowiki></code> where <code>InventorySize</code> or <code>Size</code> is defined. |
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 16:31, 5 April 2020
Calculates a block's inventory volume based on the current page.
Usage {{Calculate InventorySize}}
where InventorySize
or Size
is defined.