Template:Math table

From Space Engineers Wiki
Jump to navigation Jump to search
Template Documentation:
Note: the template above may sometimes be partially or fully invisible.
Documentation controls: [purge] [edit] [view] (Help with documentation)

Description

This template is used to display math using TeX. Specifically, it provides a framework to then include elements using Template:Math formula, Template:Math define, and Template:Math step. Some combination of the other math templates are required.

Syntax

This template always takes the following form.

{{Math table
|formulas=
<Math formula templates>
|definitions=
<Math define templates>
|steps=
<Math step templates>
}}

If not using a particular type of sub-template, you may leave that section out.

Parameters

All parameters to this template are named.

  • align: Horizontal of the table within the page. (Defaults to center)
  • formulas: Elements to include in the formulas section. (Use Template:Math formula)
  • definitions: Elements to include in the definitions section. (Use Template:Math define)
  • steps: Elements to include in the definitions section. (Use Template:Math step)


Example

From the thruster mechanics page,

{{Math table
|formulas=
{{Math formula|1=a=\frac {(L_n L_f + S_n S_f)} {m} }}
|definitions=
{{Math define|a|Acceleration (m/s<sup>2</sup>)}}
{{Math define|L_n|Number of large thrusters}}
{{Math define|L_f|Force of each large thruster (N)}}
{{Math define|S_n|Number of small thrusters}}
{{Math define|S_f|Force of each small thruster (N)}}
}}

results in...


Where:
: Acceleration (m/s2)
: Number of large thrusters
: Force of each large thruster (N)
: Number of small thrusters
: Force of each small thruster (N)


See also