<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>http://wiki.hanyu123.cn/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=209.85.170.136</id>
	<title>汉语教学技术研究与应用 - 用户贡献 [zh-cn]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.hanyu123.cn/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=209.85.170.136"/>
	<link rel="alternate" type="text/html" href="http://wiki.hanyu123.cn/wiki/%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/209.85.170.136"/>
	<updated>2026-06-21T16:21:44Z</updated>
	<subtitle>用户贡献</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://wiki.hanyu123.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Mbox/doc&amp;diff=4429</id>
		<title>模板:Mbox/doc</title>
		<link rel="alternate" type="text/html" href="http://wiki.hanyu123.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Mbox/doc&amp;diff=4429"/>
		<updated>2008-07-22T01:32:26Z</updated>

		<summary type="html">&lt;p&gt;209.85.170.136：​&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{high-use| 300,000+ | Wikipedia talk:Article message boxes }}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|ambox}} or &#039;&#039;&#039;article message box&#039;&#039;&#039; meta-template.&lt;br /&gt;
&lt;br /&gt;
It is used to build &#039;&#039;article message box&#039;&#039; templates such as {{tl|wikify}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.&lt;br /&gt;
&lt;br /&gt;
This meta-template uses the ambox CSS classes in [[MediaWiki:Common.css]]. The classes can also be used directly in a [[Help:Table|wikitable]] if special functionality is needed. See the [[Wikipedia:Ambox CSS classes|how-to guide]] for that.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
Simple usage example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ambox | text = Some text.}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ambox | text = Some text.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complex example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| type      = style&lt;br /&gt;
| image     = [[Image:Emblem-question-yellow.svg|40px]]&lt;br /&gt;
| style     = width: 400px; &lt;br /&gt;
| textstyle = color: red; font-weight: bold; font-style: italic;&lt;br /&gt;
| text      = The message body text.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| type      = style&lt;br /&gt;
| image     = [[Image:Emblem-question-yellow.svg|40px]]&lt;br /&gt;
| style     = width: 400px; &lt;br /&gt;
| textstyle = color: red; font-weight: bold; font-style: italic;&lt;br /&gt;
| text      = The message body text.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Article message box types ===&lt;br /&gt;
&lt;br /&gt;
The following examples use different &#039;&#039;&#039;type&#039;&#039;&#039; parameters but use no image parameters thus they use the default images for each type.&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = speedy&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;speedy&amp;lt;/u&amp;gt; – Speedy deletion issues, such as {{tl|db-g1}} and {{tl|db-g3}}.&lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = delete&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;delete&amp;lt;/u&amp;gt; – Deletion issues, such as {{tl|afd}} and {{tl|prod}}.&lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = content&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;content&amp;lt;/u&amp;gt; – Content issues, such as {{tl|POV}} and {{tl|globalize}}.&lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = style&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;style&amp;lt;/u&amp;gt; – Style issues, such as {{tl|cleanup}} and {{tl|wikify}}. &lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = notice&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;notice&amp;lt;/u&amp;gt; – Article notices, such as {{tl|current}} and {{tl|inuse}}. &lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = move&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;move&amp;lt;/u&amp;gt; – Merge, split and transwiki proposals, such as {{tl|split}} and {{tl|copy to wiktionary}}. &lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = protection&lt;br /&gt;
| text  = type=&amp;lt;u&amp;gt;protection&amp;lt;/u&amp;gt; – Protection notices, such as {{tl|pp-vandalism}} and {{tl|pp-semi-protected}}.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Other images ===&lt;br /&gt;
&lt;br /&gt;
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the &#039;&#039;&#039;image&#039;&#039;&#039; parameter to specify an image other than the default images.&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = content&lt;br /&gt;
| image = [[Image:Unbalanced scales.svg|40px]]&lt;br /&gt;
| text  = type = content &amp;lt;br&amp;gt; image = &amp;lt;nowiki&amp;gt;[[Image:Unbalanced scales.svg|40px]]&amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt; This image is often used for {{tl|POV}} and similar issues.&lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = style&lt;br /&gt;
| image = [[Image:Wikitext.svg|50px]]&lt;br /&gt;
| text  = type = style &amp;lt;br&amp;gt; image = &amp;lt;nowiki&amp;gt;[[Image:Wikitext.svg|50px]]&amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt; This image is often used for {{tl|wikify}} etc.&lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = move&lt;br /&gt;
| image = [[Image:Merge-arrows.svg|50px]]&lt;br /&gt;
| text  = type = move &amp;lt;br&amp;gt; image = &amp;lt;nowiki&amp;gt;[[Image:Merge-arrows.svg|50px]]&amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt; This image is used for {{tl|merge}} etc. &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Special ===&lt;br /&gt;
&lt;br /&gt;
Some other parameter combinations.&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| text  = No type and no image given (&#039;&#039;&#039;default&#039;&#039;&#039;)&lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| image = blank&lt;br /&gt;
| text  = No type and &#039;&#039;&#039;image=blank&#039;&#039;&#039; – Causes a blank area the same size as a default image. Makes the text line up well with other message boxes. &lt;br /&gt;
}}&lt;br /&gt;
{{ambox&lt;br /&gt;
| image = none&lt;br /&gt;
| text  = No type and &#039;&#039;&#039;image=none&#039;&#039;&#039; – No image is used and the &#039;&#039;&#039;text&#039;&#039;&#039; uses the whole message box area.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| image = [[Image:Gnome globe current event.svg|42px]]&lt;br /&gt;
| imageright = [[Image:Nuvola apps bookcase.svg|40px]]&lt;br /&gt;
| text  = image = &amp;lt;nowiki&amp;gt;[[Image:Gnome globe current event.svg|42px]]&amp;lt;/nowiki&amp;gt; &amp;lt;br&amp;gt; imageright = &amp;lt;nowiki&amp;gt;[[Image:Nuvola apps bookcase.svg|40px]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| image = [[Image:Gnome globe current event.svg|42px]]&lt;br /&gt;
| imageright = [[Image:Shuttle.svg|20px]]&lt;br /&gt;
| text  = &#039;&#039;&#039;This article or section documents a current [[spaceflight]].&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;Content may change as the mission progresses.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
List of all parameters:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| type  = delete / content / style / notice / move / protection&lt;br /&gt;
| image = none / blank / [[Image:Some image.svg|40px]]&lt;br /&gt;
| imageright = [[Image:Some image.svg|40px]]&lt;br /&gt;
| style = CSS value&lt;br /&gt;
| textstyle = CSS value&lt;br /&gt;
| text  = The message body text. &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;type&#039;&#039;&#039;&lt;br /&gt;
:If no &#039;&#039;&#039;type&#039;&#039;&#039; parameter is given the template defaults to type &#039;&#039;&#039;notice&#039;&#039;&#039;. That means it gets a blue side bar.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;image&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;No parameter&#039;&#039;&#039;  If no &#039;&#039;&#039;image&#039;&#039;&#039; parameter is given the template uses a default image. Which default image it uses depends on the &#039;&#039;&#039;type&#039;&#039;&#039; parameter. &lt;br /&gt;
:&#039;&#039;&#039;An image&#039;&#039;&#039; = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (Images over 52 pixels width will cause padding problems.) For example: &lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;image = [[Image:Unbalanced scales.svg|40px]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&#039;&#039;&#039;none&#039;&#039;&#039; = Means that no image is used.&lt;br /&gt;
:&#039;&#039;&#039;blank&#039;&#039;&#039; = Means that no image is used but an empty area the same size as a default image is used, which means that text in the message box gets aligned well with other article message boxes. (See the &amp;quot;special&amp;quot; examples above.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;imageright&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;No parameter&#039;&#039;&#039; = If no &#039;&#039;&#039;imageright&#039;&#039;&#039; parameter is given then no image is shown on the right side.&lt;br /&gt;
:&#039;&#039;&#039;An image&#039;&#039;&#039; = Should be an image with usual wiki notation. 40px - 50px width are usually about right depending on the image height to width ratio. (Images over 52 pixels width will cause padding problems.) For example: &lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;imageright = [[Image:Nuvola apps bookcase.png|40px]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&#039;&#039;&#039;Anything&#039;&#039;&#039; = Any other object that you want to show on the right side.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;style&#039;&#039;&#039;&lt;br /&gt;
:An optional [[Cascading Style Sheets|CSS]] value used by the entire article message box table. Without quotation marks &amp;lt;code&amp;gt;&amp;quot; &amp;quot;&amp;lt;/code&amp;gt;. For example:&lt;br /&gt;
::&amp;lt;code&amp;gt;style = margin-bottom: 0.5em;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;textstyle&#039;&#039;&#039;&lt;br /&gt;
:An optional [[Cascading Style Sheets|CSS]] value used by the text cell. For example:&lt;br /&gt;
::&amp;lt;code&amp;gt;textstyle = text-align: center;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;text&#039;&#039;&#039;&lt;br /&gt;
:The message body text.&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
If you need to use special characters in the text parameter then you need to escape them like this: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Equal sign = and a start and end brace { } work fine as they are. &lt;br /&gt;
But here is a pipe {{!}} and two end braces &amp;amp;lt;nowiki&amp;gt;}}&amp;amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
And now a pipe and end braces &amp;amp;lt;nowiki&amp;gt;|}}&amp;amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{ambox&lt;br /&gt;
| text  = &amp;lt;div&amp;gt;&lt;br /&gt;
Equal sign = and a start and end brace { } work fine as they are. &lt;br /&gt;
But here is a pipe {{!}} and two end braces &amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
And now a pipe and end brace&lt;/div&gt;</summary>
		<author><name>209.85.170.136</name></author>
	</entry>
</feed>