跳转到内容

模板:Ambox/doc:修订间差异

来自天灾之下:危险连接资料站
wiki>Veritas Sapientiae
小 Reverted edits by ~2025-47132-5 (talk) to last version by Ankermast
 
小 导入1个版本
 
(没有差异)

2025年12月16日 (二) 16:39的最新版本

This is the {{Ambox }} or Article message box meta-template.

MobileFrontend will treat this template as a "page issue". If you don't want that to occur, you may use a different message box template (listed here, but basically any template that does not identify itself as an "ambox" is not an issue). See Reading/Web/Projects/Mobile Page Issues.

Parameters

type

The type parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.

If no type parameter is given the template defaults to |type=notice.

small=left

See also

Other pages:

TemplateData

[<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Ambox

This is the specialized version of the {{mbox}} or "multi-namespace message box" meta-template.

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
Typetype

Adjusts border and background for the appropriate use-case. Default <code>notice</code> is gray with a blue border.

推荐值
notice style content delete speedy protection move
默认值
notice
自动值
notice
字符串推荐
Image (left)image

无描述

推荐值
none
默认值
Depends on the “type” parameter.
内容推荐
Image (right)imageright

无描述

内容可选
CSS Stylestyle

无描述

字符串可选
Text CSS Styletextstyle

无描述

字符串可选
Texttext

无描述

内容推荐
Small?small

无描述

推荐值
{{{small|}}} left yes 1
默认值
0
布尔可选
Small Image (left)smallimage

无描述

推荐值
none
默认值
{{{image}}}
内容可选
Small Image (right)smallimageright

无描述

推荐值
none
默认值
{{{imageright}}}
内容可选
Small Textsmalltext

无描述

默认值
{{{text}}}
内容可选