Template:MessageBox/doc: Difference between revisions

From IdleOn MMO Wiki
(Created page with "The MessageBox template is used to create customizable message boxes which can be added to articles. == Examples == MessageBox examples can be found Category:MessageBox Templates == Parameters == <templatedata> { "params": { "class": { "label": "CSS Classes", "description": "CSS classes to add to this message box.", "type": "string" }, "style": { "label": "CSS Styles", "description": "Inline CSS styles to apply to the m...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Examples ==
== Examples ==
MessageBox examples can be found [[Category:MessageBox Templates]]
MessageBox examples can be found [[:Category:MessageBox Templates|here]].


== Parameters ==
== Parameters ==

Latest revision as of 08:32, 15 June 2024

The MessageBox template is used to create customizable message boxes which can be added to articles.

Examples

MessageBox examples can be found here.

Parameters

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
CSS Classesclass

CSS classes to add to this message box.

Stringoptional
CSS Stylesstyle

Inline CSS styles to apply to the message box.

Stringoptional
Imageimage

The name of the image to display on the side of the message box. Does not include square brackets or the File: prefix.

Stringoptional
Labellabel

A textual label to display where the image would be.

Stringoptional
Titletitle

The text to display at the top of the message box.

Stringrequired
Contentcontent

The main content of the message box, displayed below the title.

Stringrequired