Template:Message box: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
m (Vinifera7 moved page Template:Mbox to Template:Message box)

Revision as of 07:07, 29 July 2014

Script error: No such module "Message box".

Template documentation[view] [edit] [history] [purge]
Shortcut

This template is used to create standardised message boxes. It is most often used as the base for various types of notice templates.

Usage

All parameters are optional.

{{Message box
|type  = 
|full  = 
|class = 
|style = 
|image = 
|title = 
|text  = 
}}

Parameters

Parameter Description
type Determines the colors of the message box. See § Type for details.
full Set this option to yes to expand the message box to the full width of the page. This is used primarily for editnotice templates.
class Additional CSS classes applied to the message box
style Inline CSS styles applied to the message box
image If passed the name of an image file, it will be displayed as an icon with a standard width. If passed a file link, it will be displayed as given.
title The title displayed at the top of the message box
text The text displayed after the title

Type

The type parameter determines the colors of the message box.

Type Example
warning Script error: No such module "Message box".
action Script error: No such module "Message box".
content Script error: No such module "Message box".
style Script error: No such module "Message box".
info Script error: No such module "Message box".
proposal Script error: No such module "Message box".
lock Script error: No such module "Message box".
legal Script error: No such module "Message box".
(default) Script error: No such module "Message box".