Template:Mbox: Difference between revisions

m>Jim.belk
No edit summary
m>Jim.belk
Line 13: Line 13:
===Dealing with equations===
===Dealing with equations===
Because of Wikipedia limitations on templates, mbox doesn't function as stated above if the math contains an equals sign.  In this case, the following syntax should be used:
Because of Wikipedia limitations on templates, mbox doesn't function as stated above if the math contains an equals sign.  In this case, the following syntax should be used:
<pre>{{mbox|eq= 2''x'' + 3''y'' + 5''z'' = 7}}</pre>
<pre>{{mbox|= 2''x'' + 3''y'' + 5''z'' = 7}}</pre>
This longer syntax also works for non-equations.
This longer syntax also works for non-equations.
</noinclude>
</noinclude>
Anonymous user