Template:Theorem/doc: Difference between revisions
ArrowHead294 (talk | contribs) Docpage |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}} | ||
This template formats mathematical theorems. | |||
=== Usage === | === Usage === | ||
For example: | For example: | ||
<pre> | |||
{{theorem | |||
| note=Existence of an irrational number | |||
| contents=<math>\sqrt{2}</math> is irrational. | |||
}} | |||
</pre> | |||
yields | yields | ||
{{ | {{{{ROOTPAGENAME}} | ||
| note=Existence of an irrational number | |||
| contents=<math>\sqrt{2}</math> is irrational. | |||
}} | |||
Only the <code>contents</code> parameter is obligatory. | |||
{{escape notice}} | |||
=== See also === | === See also === | ||
* [[Template:Proof]] | * [[Template:Proof]] |