Difference between revisions of "Template:Equation box"

 
m
Line 2: Line 2:
 
== Template Preview ==</noinclude>
 
== Template Preview ==</noinclude>
 
{| class="wikitable" align="center"
 
{| class="wikitable" align="center"
| style="border: 1px solid #e5e5e5; background: #f9f9f9; padding: 8px;" | {{{equation|<math>(a+b)^2 = a^2+b^2+2ab</math>}}}
+
| style="border: 1px solid #e5e5e5; background: #f9f9f9; padding: 8px;" | {{{equation|<math>\text{equation placeholder}</math>}}}
 
|}<noinclude>
 
|}<noinclude>
 
== Explanation ==
 
== Explanation ==

Revision as of 14:45, 3 November 2016

Template Preview

[math]\text{equation placeholder}[/math]

Explanation

This template is used when you need to display an equation inside a box. This template is used to distinguish equations that are significant from the others. The most common case to use this template is for the equation that is the result of a derivation.

Frequently Asked Questions

How to use this template?

When you are required to display an equation, say [math]e = mc^2[/math] inside a box, simply type it as follows.

{{Equation box|equation=<math>e=mc^2</math>}}

When you save the page, the resulting equation will be rendered as below.

[math]e=mc^2[/math]