模板:Math theorem

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

使用[编辑]

{{math theorem 
  | <math>|a+b| < |a|+|b|</math>
  | name = 系理
  | note = 絕對值
}}

产生:

系理 (绝对值) — 

第一个参数 |math_statement= 是定理的内容,第二个参数 |name= 是对定理的称谓(预设值为"定理")。

例子[编辑]

{{math_theorem|name=愚人定理|math_statement=<math>1+1=3</math>}}

产生:

愚人定理 — 

 {{math_theorem|任意[[實數]] <math>a</math> 和  <math>b</math> 必滿足以下其中之一:
* <math>a = b</math> 
* <math>a > b</math>
* <math>a < b</math>
 }}

产生:

定理 — 任意实数 必满足以下其中之一:

参见[编辑]

模板资料[编辑]

以下是该模板的模板数据,适用于可视化编辑器等工具。

Math theorem模板数据

Format a statement of mathematical theorem or conjecture in box

模板参数[编辑模板数据]

此模板首选参数换行的代码块格式。

参数描述类型状态
math_statementmath_statement 1

定理内容

字符串必需
namename 2

定理的称谓

默认值
定理
示例值
命题、系理
单行文本可选
notenote

定理称谓后的小补充

单行文本可选
stylestyle

额外的 CSS 样式

单行文本可选