Template:Message box

From Path of Exile Wiki
Revision as of 16:52, 28 May 2013 by Vinifera7 (talk | contribs)
Jump to navigation Jump to search

Template:Ombox/core

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 Template:Ombox/core
action Template:Ombox/core
content Template:Ombox/core
style Template:Ombox/core
info Template:Ombox/core
proposal Template:Ombox/core
lock Template:Ombox/core
legal Template:Ombox/core
(default) Template:Ombox/core