|
|
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> |