Template:Theorem: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
Note: To include the character <code>|</code>, it must be escaped as <code><nowiki>{{!}}</nowiki></code>, unless it appears inside preformatted text (such as a <nowiki><syntaxhighlight></nowiki> or <nowiki><math></nowiki> tag). | Note: To include the character <code>|</code>, it must be escaped as <code><nowiki>{{!}}</nowiki></code>, unless it appears inside preformatted text (such as a <nowiki><syntaxhighlight></nowiki> or <nowiki><math></nowiki> tag). | ||
== See also == | |||
* [[Template:Proof]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:27, 8 February 2024
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.
Only the contents parameter is obligatory.
Note: To include the character |, it must be escaped as {{!}}, unless it appears inside preformatted text (such as a <syntaxhighlight> or <math> tag).