<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.swarma.org/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AEquation_box_1</id>
	<title>模板:Equation box 1 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.swarma.org/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AEquation_box_1"/>
	<link rel="alternate" type="text/html" href="https://wiki.swarma.org/index.php?title=%E6%A8%A1%E6%9D%BF:Equation_box_1&amp;action=history"/>
	<updated>2026-11-06T18:24:39Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.swarma.org/index.php?title=%E6%A8%A1%E6%9D%BF:Equation_box_1&amp;diff=20967&amp;oldid=prev</id>
		<title>薄荷：页面内容被替换为“&lt;div class=&quot;equation-box&quot; style=&quot;margin: {{#switch: {{{indent|}}} | :=0 0 0 1.6em | ::=0 0 0 3.2em | {{{indent|0}}}}};&lt;!-- --&gt;padding: {{{cellpadding|5}}}px; border-…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.swarma.org/index.php?title=%E6%A8%A1%E6%9D%BF:Equation_box_1&amp;diff=20967&amp;oldid=prev"/>
		<updated>2021-01-17T16:07:58Z</updated>

		<summary type="html">&lt;p&gt;页面内容被替换为“&amp;lt;div class=&amp;quot;equation-box&amp;quot; style=&amp;quot;margin: {{#switch: {{{indent|}}} | :=0 0 0 1.6em | ::=0 0 0 3.2em | {{{indent|0}}}}};&amp;lt;!-- --&amp;gt;padding: {{{cellpadding|5}}}px; border-…”&lt;/p&gt;
&lt;a href=&quot;https://wiki.swarma.org/index.php?title=%E6%A8%A1%E6%9D%BF:Equation_box_1&amp;amp;diff=20967&amp;amp;oldid=20966&quot;&gt;显示更改&lt;/a&gt;</summary>
		<author><name>薄荷</name></author>
	</entry>
	<entry>
		<id>https://wiki.swarma.org/index.php?title=%E6%A8%A1%E6%9D%BF:Equation_box_1&amp;diff=20966&amp;oldid=prev</id>
		<title>薄荷：建立内容为“{{documentation subpage}} Displays an equation in a box.   The full syntax is:  {{tnull|Equation box 1|indent|title|equation|ref|cellpadding|border|border colour|…”的新页面</title>
		<link rel="alternate" type="text/html" href="https://wiki.swarma.org/index.php?title=%E6%A8%A1%E6%9D%BF:Equation_box_1&amp;diff=20966&amp;oldid=prev"/>
		<updated>2021-01-17T16:07:03Z</updated>

		<summary type="html">&lt;p&gt;建立内容为“{{documentation subpage}} Displays an equation in a box.   The full syntax is:  {{tnull|Equation box 1|indent|title|equation|ref|cellpadding|border|border colour|…”的新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
Displays an equation in a box. &lt;br /&gt;
&lt;br /&gt;
The full syntax is:&lt;br /&gt;
&lt;br /&gt;
{{tnull|Equation box 1|indent|title|equation|ref|cellpadding|border|border colour|background colour}}&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
&lt;br /&gt;
#'''Indent''': Type colon (:) to indent the box from the left side of the page. Leave blank for no indentation.&lt;br /&gt;
#'''Title''': Title/name of equation. Leave blank for no title.&lt;br /&gt;
#'''Equation''': The equation in [[WP:«math»|whatever form]], usually [[Help:Displaying a formula|&amp;lt;kbd&amp;gt;&amp;amp;lt;math&amp;gt;&amp;lt;/kbd&amp;gt;]] ''equation in LaTeX ...'' &amp;lt;kbd&amp;gt;&amp;amp;lt;/math&amp;gt;&amp;lt;/kbd&amp;gt;. Leave blank to get an equation showing the general form of a complex number, &amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt; (only useful for examples).&lt;br /&gt;
#'''Ref''': Reference label. Calls {{tl|EquationRef}} with provided value as the parameter. Leave blank for no reference label.&lt;br /&gt;
#'''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.&lt;br /&gt;
#'''Border''': Thickness of the border line in pixels (do not include &amp;quot;px&amp;quot;; it will be added). Default is 2.&lt;br /&gt;
#'''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]].&lt;br /&gt;
#'''Background colour''': Colour code for the background area of the box. Default is #ECFCF4, a light grayish cyan.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=Examples=&lt;br /&gt;
&lt;br /&gt;
;Black/white theme&lt;br /&gt;
&lt;br /&gt;
{{Equation box 1&lt;br /&gt;
|title='''[[Complex number]]'''&lt;br /&gt;
|indent=:&lt;br /&gt;
|equation=&amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|cellpadding = 6&lt;br /&gt;
|border = 1&lt;br /&gt;
|border colour = black&lt;br /&gt;
|background colour=white}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;moin&amp;quot;&amp;gt;{{Equation box 1&lt;br /&gt;
|title='''[[Complex number]]'''&lt;br /&gt;
|indent=:&lt;br /&gt;
|equation=&amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|cellpadding = 6&lt;br /&gt;
|border = 1&lt;br /&gt;
|border colour = black&lt;br /&gt;
|background colour=white}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Green theme&lt;br /&gt;
&lt;br /&gt;
{{Equation box 1&lt;br /&gt;
|indent=:&lt;br /&gt;
|equation=&amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|cellpadding&lt;br /&gt;
|border&lt;br /&gt;
|border colour = #50C878&lt;br /&gt;
|background colour = #ECFCF4}} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot;&amp;gt;{{Equation box 1&lt;br /&gt;
|indent=:&lt;br /&gt;
|equation=&amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|cellpadding&lt;br /&gt;
|border&lt;br /&gt;
|border colour = #50C878&lt;br /&gt;
|background colour = #ECFCF4}} &lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Blue theme&lt;br /&gt;
&lt;br /&gt;
{{Equation box 1&lt;br /&gt;
|indent =:&lt;br /&gt;
|title=&lt;br /&gt;
|equation = &amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|cellpadding= 6&lt;br /&gt;
|border&lt;br /&gt;
|border colour = #0073CF&lt;br /&gt;
|background colour=#F5FFFA}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;tex&amp;quot;&amp;gt;{{Equation box 1&lt;br /&gt;
|indent =:&lt;br /&gt;
|title=&lt;br /&gt;
|equation = &amp;lt;math&amp;gt;z=re^{i\phi}=x+iy \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|cellpadding= 6&lt;br /&gt;
|border&lt;br /&gt;
|border colour = #0073CF&lt;br /&gt;
|background colour=#F5FFFA}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; With reference&lt;br /&gt;
&lt;br /&gt;
{{Equation box 1&lt;br /&gt;
|equation = {{math|1=2 × 2 = 4}}&lt;br /&gt;
|ref=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Equation box 1&lt;br /&gt;
|equation = {{math|1=2 × 2 = 4}}&lt;br /&gt;
|ref=1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Mathematical formatting templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;indent&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Indent&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;One or two colons for an indent from the left, OR a valid CSS margin value. Leave blank for no indent.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;:&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;cellpadding&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Cellpadding (margin)&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;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.&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;5&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;4&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;border&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Border thickness&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Thickness of border line in pixels. Default is 2.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;3&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;2&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;border colour&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Border colour&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;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.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;#50C878&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;background colour&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Background colour&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;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.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;#ECFCF4&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;#FFCC00&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Title/name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Title/name of equation. Can be left blank for no title.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;'''Time-dependent Schrödinger equation in position basis'''&amp;lt;br/&amp;gt;''(single [[relativistic quantum mechanics|nonrelativistic]] particle)''&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;equation&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Equation&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The equation in whatever form, usually &amp;lt;math&amp;gt;equation in LaTeX...&amp;lt;/math&amp;gt;. The default equation is the general form of a complex number.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;&amp;lt;math&amp;gt; z = e^{i \\phi} = x + iy &amp;lt;/math&amp;gt;&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;ref&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Reference label&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Label for the equation for later reference. Calls {{EquationRef}} with provided value as the parameter.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Displays an equation in a box.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>薄荷</name></author>
	</entry>
</feed>