Template:Math theorem: Difference between revisions
Template page
More actions
Created page with "<includeonly><templatestyles src="Math_theorem/styles.css" /><div class="math_theorem" style="{{{style|}}}"><!-- ne pas enlever le saut de ligne suivant, do not remove the next line break, cf bug 9207, --> {{#if: {{{math_statement|{{{1|}}}}}} | <strong class="theorem-name">{{#if: {{{name|{{{2|}}}}}} | {{{name|{{{1}}}}}} | Theorem }}</strong><!-- -->{{#if:{{{note|}}}| <span class="theorem-note">({{{note}}})</span>|}}<!-- --><span class="theoreme-tiret">&..." |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Math_theorem/styles.css" /><div class="math_theorem" style="{{{style|}}}"><!-- | <includeonly><templatestyles src="Template:Math_theorem/styles.css" /><div class="math_theorem" style="{{{style|}}}"><!-- | ||
ne pas enlever le saut de ligne suivant, do not remove the next line break, cf bug 9207, | ne pas enlever le saut de ligne suivant, do not remove the next line break, cf bug 9207, | ||
--> | --> |
Latest revision as of 01:43, 16 March 2025
This template uses TemplateStyles: |
Usage
{{Math theorem |<math>\dim K_n = n-1</math> |name=foo |note=bar }}
produces:
foo (bar) —
The first argument (or the |1=
and |math_statement=
parameters) is the statement of the theorem. The second argument (or the |2=
and |name=
parameters) is the name of the theorem or alternative type "Proposition", the default is "Theorem".
Examples
{{Math theorem |name=Claim |math_statement=<math>\Gamma(D(f), \mathcal{O}_X) = A[f^{-1}]</math> for any ''f'' in ''A''. }}
Produces:
Claim — for any f in A.
{{Math theorem |Every finite simple group is [[Isomorphism]] to one of the following groups:
* A [[cyclic group]] with prime order;
* ... }}
Produces
Theorem — Every finite simple group is Isomorphism to one of the following groups:
- A cyclic group with prime order;
- ...
See also
- {{Math proof}}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Math theorem in articles based on its TemplateData.
TemplateData for Math theorem
Format a statement of mathematical theorem or conjecture in box
Parameter | Description | Type | Status | |
---|---|---|---|---|
math_statement | math_statement 1 | Mathematical statement | String | required |
name | name 2 | Name of theorem or Proposition, Conjecture etc
| Line | optional |
note | note | Note about theorem | Line | optional |
style | style | Addition CSS style to use | Line | optional |