Template:Ambox/doc

From Hearthstone Wiki
Jump to navigation Jump to search
Template-info.png Documentation

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 source]

{{Ambox
| background =
| color = 
| icon = 
| sound = 
| quote = 
| subject = 
| optional = 
| footnote = 
}}

Example[edit source]

{{Ambox
| color = orange
| icon = Icon-stub.png{{!}}48px
| sound = C'Thun, the Shattered Play 02.mp3
| quote = My awakening brings upon a new age.
| subject = This subject of article/section.
| optional = This is optimal supplementary text.
| footnote = Value information what to do now. For example [[Template:Ambox/doc|improve]] the documentation.
}}
Result
My awakening brings upon a new age.
This subject of article/section.
This is optimal supplementary text.
Value information what to do now. For example improve the documentation.

TemplateData[edit source]

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Backgroundbackground

Defines the background color.

Example
#fdf0d9
Stringsuggested
Colorcolor

Defines the highlight color.

Example
orange
Stringsuggested
iconicon

Places an image on the left of the message box. Must include size.

Example
Stub.png{{!}}48px
Filesuggested
formatformat

Image format, alternative use if no size is included.

Example
tiny
Filesuggested
Soundsound

A soundfile that fits the theme.

Example
Imp Patron Play 01.mp3
Filesuggested
Quotequote

Soundfile's quote.

Stringsuggested
Subjectsubject type

The main topic this message is about.

Stringrequired
Optionaloptional info

Some optional text that may or may not be used.

Stringsuggested
Foornotefootnote

Some space for a small sized foot note.

Stringsuggested

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.