ထႅမ်းပလဵတ်ႉ:Equation
{{{1}}}
This template, whose format is
{{Equation|formula|number (optional)|alignment (left by default)}}
allows equations to be offset from the main text, numbered, and anchored for later referencing using the template {{Eqnref|x}} (see final note), where x is the number of the equation. The equation is offset 10px from the text above and below. For example,
- {{Equation|<math> x^2 + y^2 = z^2 </math>|1}}
results in:
(1)
The number is optional and can be omitted as in
- {{Equation|<math> x^2 + y^2 = z^2 </math>}}
which gives:
The third variable acts to align the equation to the left, center, or right (this last alignment is not recommended, but is available) and with an indentation of 5% of the width of the page. For example:
- {{Equation|<math> x^2 + y^2 = z^2 </math>|2|left}}
results in:
(2)
and
- {{Equation|<math> x^2 + y^2 = z^2 </math>|3=right}}
results in:
Note: The equations are anchored by number for use with Template:Eqnref
- {{Eqnref|1}} {{Eqnref|2}}
results in:
- ( ) ( )
Clicking on (
) or ( ) jumps to the correspondingly numbered equation.