Template:Ambox/doc

From Dota 2 Wiki
Jump to: navigation, search

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[edit]

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

Example[edit]

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[edit]

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Colorcolor background

Defines the highlight color.

Example
#F3F3F3
Stringsuggested
Imageimage

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

Example
Imagefile.png
Filesuggested
Soundsound

A soundfile that fits the theme.

Example
Soundfile.mp3
Filesuggested
Quotequote

A dota-related quote that fits the theme.

Stringsuggested
Subjectsubject

The main topic this message is about.

Stringrequired
Optionaloptional

Some optional text that may or may not be used.

Stringsuggested
Foornotefootnote

Some space for a small sized foot note.

Stringsuggested