Difference between revisions of "Template:Calculate InventoryVolume"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Removed test code) |
Vox Serico (talk | contribs) m (Corrected usage instruction) |
||
(2 intermediate revisions by the same user not shown) | |||
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>{{#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. | ||
− | Usage <code><nowiki>{{Calculate | + | Usage <code><nowiki>{{Calculate InventoryVolume}}</nowiki></code> where <code>InventorySize</code> or <code>Size</code> is defined. |
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 15:13, 27 October 2020
Calculates a block's inventory volume based on the current page.
Usage {{Calculate InventoryVolume}}
where InventorySize
or Size
is defined.