Template:Theorem
Formats math theorems, for example:
{{theorem|note=Existence of an irrational number|contents=<math>\sqrt{2}</math> is irrational.}}
yields
Theorem (Existence of an irrational number) — [math]\displaystyle{ \sqrt{2} }[/math] is irrational.
Note: To include the character |
, it must be escaped as {{!}}
, unless it appears inside preformatted text (such as a <syntaxhighlight> or <math> tag).