模板:Equation box 1

来自集智百科 - 复杂系统|人工智能|复杂科学|复杂网络|自组织
薄荷讨论 | 贡献2021年1月18日 (一) 00:07的版本 (建立内容为“{{documentation subpage}} Displays an equation in a box. The full syntax is: {{tnull|Equation box 1|indent|title|equation|ref|cellpadding|border|border colour|…”的新页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

Displays an equation in a box.

The full syntax is:

模板:Tnull

Parameters

  1. Indent: Type colon (:) to indent the box from the left side of the page. Leave blank for no indentation.
  2. Title: Title/name of equation. Leave blank for no title.
  3. Equation: The equation in whatever form, usually <math> equation in LaTeX ... </math>. Leave blank to get an equation showing the general form of a complex number, [math]\displaystyle{ z=re^{i\phi}=x+iy \,\! }[/math] (only useful for examples).
  4. Ref: Reference label. Calls {{EquationRef}} with provided value as the parameter. Leave blank for no reference label.
  5. Cellpadding: Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation, margins). Default is 5.
  6. Border: Thickness of the border line in pixels (do not include "px"; it will be added). Default is 2.
  7. Border colour: Colour code (colour name or hex triplet) for the colour of the border line of the box. Default is #50C878, a nuance of green called emerald green.
  8. Background colour: Colour code for the background area of the box. Default is #ECFCF4, a light grayish cyan.

See list of colours for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.

Examples

Black/white theme


Displays an equation in a box.

The full syntax is:

模板:Tnull

Parameters

  1. Indent: Type colon (:) to indent the box from the left side of the page. Leave blank for no indentation.
  2. Title: Title/name of equation. Leave blank for no title.
  3. Equation: The equation in whatever form, usually <math> equation in LaTeX ... </math>. Leave blank to get an equation showing the general form of a complex number, [math]\displaystyle{ z=re^{i\phi}=x+iy \,\! }[/math] (only useful for examples).
  4. Ref: Reference label. Calls {{EquationRef}} with provided value as the parameter. Leave blank for no reference label.
  5. Cellpadding: Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation, margins). Default is 5.
  6. Border: Thickness of the border line in pixels (do not include "px"; it will be added). Default is 2.
  7. Border colour: Colour code (colour name or hex triplet) for the colour of the border line of the box. Default is #50C878, a nuance of green called emerald green.
  8. Background colour: Colour code for the background area of the box. Default is #ECFCF4, a light grayish cyan.

See list of colours for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.

Examples

Black/white theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|title='''[[Complex number]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}
Green theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}} 
}}
Blue theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}
With reference

检查到模板循环:模板:Equation box 1

{{Equation box 1 |equation = {{math|1=2 × 2 = 4}} |ref=1}}

TemplateData

这是用于新版-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-及其他工具的-{zh-cn:模板数据;zh-tw:模板資料}--{zh-cn:文档;zh-tw:文件;}-。

Equation box 1-{zh-cn:模板数据;zh-tw:模板資料}-

<templatedata> { "params": { "indent": { "label": "Indent", "description": "One or two colons for an indent from the left, OR a valid CSS margin value. Leave blank for no indent.", "example": ":", "type": "string" }, "cellpadding": { "label": "Cellpadding (margin)", "description": "Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation; margins). Default is 5.", "default": "5", "example": "4", "type": "number" }, "border": { "label": "Border thickness", "description": "Thickness of border line in pixels. Default is 2.", "example": "3", "type": "number", "default": "2" }, "border colour": { "label": "Border colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the border line of the box. Default is #50C878, a nuance of green called emerald green.", "type": "string", "default": "#50C878" }, "background colour": { "label": "Background colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the background colour of the box. Default is #ECFCF4, a light grayish cyan.", "type": "string", "default": "#ECFCF4", "example": "#FFCC00" }, "title": { "label": "Title/name", "description": "Title/name of equation. Can be left blank for no title.", "type": "line", "example": "Time-dependent Schrödinger equation in position basis
(single nonrelativistic particle)", "suggested": true }, "equation": { "label": "Equation", "description": "The equation in whatever form, usually [math]\displaystyle{ equation in LaTeX... }[/math]. The default equation is the general form of a complex number.", "type": "content", "example": "[math]\displaystyle{ z = e^{i \\phi} = x + iy }[/math]", "required": true }, "ref": { "label": "Reference label", "description": "Label for the equation for later reference. Calls {{{1}}} with provided value as the parameter.", "example": "1", "type": "string" } }, "description": "Displays an equation in a box." } </templatedata>

{{Equation box 1
|title='''[[Complex number]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}
Green theme


Displays an equation in a box.

The full syntax is:

模板:Tnull

Parameters

  1. Indent: Type colon (:) to indent the box from the left side of the page. Leave blank for no indentation.
  2. Title: Title/name of equation. Leave blank for no title.
  3. Equation: The equation in whatever form, usually <math> equation in LaTeX ... </math>. Leave blank to get an equation showing the general form of a complex number, [math]\displaystyle{ z=re^{i\phi}=x+iy \,\! }[/math] (only useful for examples).
  4. Ref: Reference label. Calls {{EquationRef}} with provided value as the parameter. Leave blank for no reference label.
  5. Cellpadding: Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation, margins). Default is 5.
  6. Border: Thickness of the border line in pixels (do not include "px"; it will be added). Default is 2.
  7. Border colour: Colour code (colour name or hex triplet) for the colour of the border line of the box. Default is #50C878, a nuance of green called emerald green.
  8. Background colour: Colour code for the background area of the box. Default is #ECFCF4, a light grayish cyan.

See list of colours for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.

Examples

Black/white theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|title='''[[Complex number]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}
Green theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}} 
}}
Blue theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}
With reference

检查到模板循环:模板:Equation box 1

{{Equation box 1 |equation = {{math|1=2 × 2 = 4}} |ref=1}}

TemplateData

这是用于新版-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-及其他工具的-{zh-cn:模板数据;zh-tw:模板資料}--{zh-cn:文档;zh-tw:文件;}-。

Equation box 1-{zh-cn:模板数据;zh-tw:模板資料}-

<templatedata> { "params": { "indent": { "label": "Indent", "description": "One or two colons for an indent from the left, OR a valid CSS margin value. Leave blank for no indent.", "example": ":", "type": "string" }, "cellpadding": { "label": "Cellpadding (margin)", "description": "Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation; margins). Default is 5.", "default": "5", "example": "4", "type": "number" }, "border": { "label": "Border thickness", "description": "Thickness of border line in pixels. Default is 2.", "example": "3", "type": "number", "default": "2" }, "border colour": { "label": "Border colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the border line of the box. Default is #50C878, a nuance of green called emerald green.", "type": "string", "default": "#50C878" }, "background colour": { "label": "Background colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the background colour of the box. Default is #ECFCF4, a light grayish cyan.", "type": "string", "default": "#ECFCF4", "example": "#FFCC00" }, "title": { "label": "Title/name", "description": "Title/name of equation. Can be left blank for no title.", "type": "line", "example": "Time-dependent Schrödinger equation in position basis
(single nonrelativistic particle)", "suggested": true }, "equation": { "label": "Equation", "description": "The equation in whatever form, usually [math]\displaystyle{ equation in LaTeX... }[/math]. The default equation is the general form of a complex number.", "type": "content", "example": "[math]\displaystyle{ z = e^{i \\phi} = x + iy }[/math]", "required": true }, "ref": { "label": "Reference label", "description": "Label for the equation for later reference. Calls {{{1}}} with provided value as the parameter.", "example": "1", "type": "string" } }, "description": "Displays an equation in a box." } </templatedata>

{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}} 
}}
Blue theme


Displays an equation in a box.

The full syntax is:

模板:Tnull

Parameters

  1. Indent: Type colon (:) to indent the box from the left side of the page. Leave blank for no indentation.
  2. Title: Title/name of equation. Leave blank for no title.
  3. Equation: The equation in whatever form, usually <math> equation in LaTeX ... </math>. Leave blank to get an equation showing the general form of a complex number, [math]\displaystyle{ z=re^{i\phi}=x+iy \,\! }[/math] (only useful for examples).
  4. Ref: Reference label. Calls {{EquationRef}} with provided value as the parameter. Leave blank for no reference label.
  5. Cellpadding: Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation, margins). Default is 5.
  6. Border: Thickness of the border line in pixels (do not include "px"; it will be added). Default is 2.
  7. Border colour: Colour code (colour name or hex triplet) for the colour of the border line of the box. Default is #50C878, a nuance of green called emerald green.
  8. Background colour: Colour code for the background area of the box. Default is #ECFCF4, a light grayish cyan.

See list of colours for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.

Examples

Black/white theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|title='''[[Complex number]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}
Green theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}} 
}}
Blue theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}
With reference

检查到模板循环:模板:Equation box 1

{{Equation box 1 |equation = {{math|1=2 × 2 = 4}} |ref=1}}

TemplateData

这是用于新版-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-及其他工具的-{zh-cn:模板数据;zh-tw:模板資料}--{zh-cn:文档;zh-tw:文件;}-。

Equation box 1-{zh-cn:模板数据;zh-tw:模板資料}-

<templatedata> { "params": { "indent": { "label": "Indent", "description": "One or two colons for an indent from the left, OR a valid CSS margin value. Leave blank for no indent.", "example": ":", "type": "string" }, "cellpadding": { "label": "Cellpadding (margin)", "description": "Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation; margins). Default is 5.", "default": "5", "example": "4", "type": "number" }, "border": { "label": "Border thickness", "description": "Thickness of border line in pixels. Default is 2.", "example": "3", "type": "number", "default": "2" }, "border colour": { "label": "Border colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the border line of the box. Default is #50C878, a nuance of green called emerald green.", "type": "string", "default": "#50C878" }, "background colour": { "label": "Background colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the background colour of the box. Default is #ECFCF4, a light grayish cyan.", "type": "string", "default": "#ECFCF4", "example": "#FFCC00" }, "title": { "label": "Title/name", "description": "Title/name of equation. Can be left blank for no title.", "type": "line", "example": "Time-dependent Schrödinger equation in position basis
(single nonrelativistic particle)", "suggested": true }, "equation": { "label": "Equation", "description": "The equation in whatever form, usually [math]\displaystyle{ equation in LaTeX... }[/math]. The default equation is the general form of a complex number.", "type": "content", "example": "[math]\displaystyle{ z = e^{i \\phi} = x + iy }[/math]", "required": true }, "ref": { "label": "Reference label", "description": "Label for the equation for later reference. Calls {{{1}}} with provided value as the parameter.", "example": "1", "type": "string" } }, "description": "Displays an equation in a box." } </templatedata>

{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}
With reference


Displays an equation in a box.

The full syntax is:

模板:Tnull

Parameters

  1. Indent: Type colon (:) to indent the box from the left side of the page. Leave blank for no indentation.
  2. Title: Title/name of equation. Leave blank for no title.
  3. Equation: The equation in whatever form, usually <math> equation in LaTeX ... </math>. Leave blank to get an equation showing the general form of a complex number, [math]\displaystyle{ z=re^{i\phi}=x+iy \,\! }[/math] (only useful for examples).
  4. Ref: Reference label. Calls {{EquationRef}} with provided value as the parameter. Leave blank for no reference label.
  5. Cellpadding: Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation, margins). Default is 5.
  6. Border: Thickness of the border line in pixels (do not include "px"; it will be added). Default is 2.
  7. Border colour: Colour code (colour name or hex triplet) for the colour of the border line of the box. Default is #50C878, a nuance of green called emerald green.
  8. Background colour: Colour code for the background area of the box. Default is #ECFCF4, a light grayish cyan.

See list of colours for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.

Examples

Black/white theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|title='''[[Complex number]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}
Green theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}} 
}}
Blue theme

检查到模板循环:模板:Equation box 1

{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}
With reference

检查到模板循环:模板:Equation box 1

{{Equation box 1 |equation = {{math|1=2 × 2 = 4}} |ref=1}}

TemplateData

这是用于新版-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-及其他工具的-{zh-cn:模板数据;zh-tw:模板資料}--{zh-cn:文档;zh-tw:文件;}-。

Equation box 1-{zh-cn:模板数据;zh-tw:模板資料}-

<templatedata> { "params": { "indent": { "label": "Indent", "description": "One or two colons for an indent from the left, OR a valid CSS margin value. Leave blank for no indent.", "example": ":", "type": "string" }, "cellpadding": { "label": "Cellpadding (margin)", "description": "Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation; margins). Default is 5.", "default": "5", "example": "4", "type": "number" }, "border": { "label": "Border thickness", "description": "Thickness of border line in pixels. Default is 2.", "example": "3", "type": "number", "default": "2" }, "border colour": { "label": "Border colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the border line of the box. Default is #50C878, a nuance of green called emerald green.", "type": "string", "default": "#50C878" }, "background colour": { "label": "Background colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the background colour of the box. Default is #ECFCF4, a light grayish cyan.", "type": "string", "default": "#ECFCF4", "example": "#FFCC00" }, "title": { "label": "Title/name", "description": "Title/name of equation. Can be left blank for no title.", "type": "line", "example": "Time-dependent Schrödinger equation in position basis
(single nonrelativistic particle)", "suggested": true }, "equation": { "label": "Equation", "description": "The equation in whatever form, usually [math]\displaystyle{ equation in LaTeX... }[/math]. The default equation is the general form of a complex number.", "type": "content", "example": "[math]\displaystyle{ z = e^{i \\phi} = x + iy }[/math]", "required": true }, "ref": { "label": "Reference label", "description": "Label for the equation for later reference. Calls {{{1}}} with provided value as the parameter.", "example": "1", "type": "string" } }, "description": "Displays an equation in a box." } </templatedata>

{{Equation box 1 |equation = {{math|1=2 × 2 = 4}} |ref=1}}


TemplateData

这是用于新版-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-及其他工具的-{zh-cn:模板数据;zh-tw:模板資料}--{zh-cn:文档;zh-tw:文件;}-。

Equation box 1-{zh-cn:模板数据;zh-tw:模板資料}-

<templatedata> { "params": { "indent": { "label": "Indent", "description": "One or two colons for an indent from the left, OR a valid CSS margin value. Leave blank for no indent.", "example": ":", "type": "string" }, "cellpadding": { "label": "Cellpadding (margin)", "description": "Number of pixels to be used as padding of the box around the equation (how much the box wraps around the equation; margins). Default is 5.", "default": "5", "example": "4", "type": "number" }, "border": { "label": "Border thickness", "description": "Thickness of border line in pixels. Default is 2.", "example": "3", "type": "number", "default": "2" }, "border colour": { "label": "Border colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the border line of the box. Default is #50C878, a nuance of green called emerald green.", "type": "string", "default": "#50C878" }, "background colour": { "label": "Background colour", "description": "Colour code (colour name or hex triplet in the format #RRGGBB) for the background colour of the box. Default is #ECFCF4, a light grayish cyan.", "type": "string", "default": "#ECFCF4", "example": "#FFCC00" }, "title": { "label": "Title/name", "description": "Title/name of equation. Can be left blank for no title.", "type": "line", "example": "Time-dependent Schrödinger equation in position basis
(single nonrelativistic particle)", "suggested": true }, "equation": { "label": "Equation", "description": "The equation in whatever form, usually [math]\displaystyle{ equation in LaTeX... }[/math]. The default equation is the general form of a complex number.", "type": "content", "example": "[math]\displaystyle{ z = e^{i \\phi} = x + iy }[/math]", "required": true }, "ref": { "label": "Reference label", "description": "Label for the equation for later reference. Calls {{{1}}} with provided value as the parameter.", "example": "1", "type": "string" } }, "description": "Displays an equation in a box." } </templatedata>