Difference between revisions of "Template:BlockVolume"

From Space Engineers Wiki
Jump to: navigation, search
m (Calculate 0.5)
m (Corrected 0.5 and 2.5 multipliers to their cubes)
Line 7: Line 7:
 
Displays block dimensions and calculates its volume.
 
Displays block dimensions and calculates its volume.
  
Usage:
+
Usage:<pre>{{BlockVolume|Block name|size}}</pre>
<pre>{{BlockVolume|Block name|size}}</pre>
 
 
Where ''Block name'' is the page of the block and ''size'' is ''small'' or ''large'' for respective the block size.
 
Where ''Block name'' is the page of the block and ''size'' is ''small'' or ''large'' for respective the block size.
 
<pre>{{BlockVolume|Large Thruster|small}}</pre>
 
<pre>{{BlockVolume|Large Thruster|small}}</pre>

Revision as of 15:09, 27 March 2020

Displays block dimensions and calculates its volume.

Usage:
{{BlockVolume|Block name|size}}

Where Block name is the page of the block and size is small or large for respective the block size.

{{BlockVolume|Large Thruster|small}}

Gives ×× (Expression error: Unexpected * operator. m3)

{{BlockVolume|Large Thruster|large}}

Gives ×× (Expression error: Unexpected * operator. m3)