Template:Ambox

来自Dota 2 Wiki
跳转至: 导航搜索

Template:Ambox的文档 [ 查看 | 编辑 | 净化 ]

An article message box, or ambox, can be added to notify users of specific messages regarding the article. The {{cleanup}} template is an example of an ambox.

Usage

{{Ambox
| color = 
| image = 
| sound = 
| quote = 
| subject = 
| optional = 
| footnote = 
}}

Example

This can be used literally everywhere, but in most cases serves maintenance.

{{Ambox
| color = orange
| image = Unknown.png
| sound = Slark shiwiz 01.mp3
| quote = Shitty wizard!
| subject = This message serves as example.
| optional = This is optimal supplementary text.
| footnote = Value information what to do now. For example [[Template:Ambox/doc|improve]] the documentation.
}}

Unknown.png
▶️ Shitty wizard!
This message serves as example.
This is optimal supplementary text.
Value information what to do now. For example improve the documentation.


TemplateData

无描述。

模板参数

此模板首选参数换行格式。

参数说明类型状态
Colorcolorbackground

Defines the highlight color.

例子
#F3F3F3
字符串推荐
Imageimage

Places an image on the left of the message box. Size is fixed to 56px.

例子
Imagefile.png
文件推荐
Soundsound

A soundfile that fits the theme.

例子
Soundfile.mp3
文件推荐
Quotequote

A dota-related quote that fits the theme.

字符串推荐
Subjectsubject

The main topic this message is about.

字符串必填
Optionaloptional

Some optional text that may or may not be used.

字符串推荐
Foornotefootnote

Some space for a small sized foot note.

字符串推荐