Template:Math theorem/doc
Template:Documentation subpage Template:Uses TemplateStyles
使用
{{math theorem
| <math>|a+b| < |a|+|b|</math>
| name = 系理
| note = 絕對值
}}
第一個參數 Template:Para 是定理的內容,第二個參數 Template:Para 是對定理的稱謂(預設值為"定理")。
例子
{{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>
}}
產生:
Template:Math theorem
參見
模板資料
<templatedata> { "params": { "math_statement": { "aliases": ["1"], "description": "定理內容", "type": "string", "required": true }, "name": { "aliases": ["2"], "description": "定理的稱謂",
"example": "命題、系理",
"default": "定理",
"type": "line" }, "note": { "description": "定理稱謂後的小補充", "type": "line" }, "style": { "description": "額外的 CSS 樣式", "type": "line" } }, "description": "Format a statement of mathematical theorem or conjecture in box", "format": "block", "paramOrder": [ "math_statement", "name", "note", "style" ] } </templatedata>