Template:Math theorem/doc

来自testwiki
imported>范2023年10月24日 (二) 08:21的版本 WP:MARKUP
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

Template:Documentation subpage Template:Uses TemplateStyles

使用

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

產生: Template:Math theorem

第一個參數 Template:Para 是定理的內容,第二個參數 Template:Para 是對定理的稱謂(預設值為"定理")。

例子

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

產生: Template:Math theorem

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

產生:

Template:Math theorem

參見

模板資料

Template:TemplateData header

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