Template:Theorem: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Inthar (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 14: Line 14:
ne pas enlever le saut de ligne suivant
ne pas enlever le saut de ligne suivant
-->
-->
</div></includeonly><noinclude>Formats math theorems, for example:
</div></includeonly><noinclude>
<pre> {{theorem|note=Existence of an irrational number|contents=<math>\sqrt{2}</math> is irrational.}}</pre>
This template formats mathematical theorems.
yields


{{theorem|note=Existence of an irrational number|contents=<math>\sqrt{2}</math> is irrational.}}
{{doc}}
 
Only the <code>contents</code> parameter is obligatory.
 
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]]
</noinclude>
</noinclude>

Revision as of 03:06, 22 May 2024

This template formats mathematical theorems.

Template:Doc