Template:Messagebox

From The Remnant 2 Wiki
Jump to navigation Jump to search
Documentation icon Template Documentation

This template is used to display important information to the user in the form of a message box, typically at the top of the page or right before the relevant content.

Can be called without parameters.

Usage[edit source]

{{Messagebox
|title=Example info message box
|text=Example message box text goes here.
|img=[[File:Utility Perk.png|link=|50px]]
|type=info
}}

Example[edit source]

Example info message box
Example message box text goes here.

Displays important information at the top of the page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
typetype

An optional parameter specifying the type of infobox, effecting the color.

Suggested values
warn info protect legal
Example
info
Stringsuggested
stylestyle

Inline css styling

Example
background-color: #000
Stringoptional
imgimg

An image file call to use within the message.

Example
[[File:Utility Perk.png|link=|50px]]
Fileoptional
titletitle

Larger upper text

Stringsuggested
texttext

Body text

Stringsuggested