Wiki.png
FFWiki: Quote here.
Text here.

Template:Mbox (message box) is a meta template used for the standardized presentation of messages, such as notices, disclaimers, or warnings. All message boxes are dismissible via the × symbol in the top right.

A typical mbox on the Final Fantasy Wiki follows the same format, with a well-known character from the Final Fantasy series giving a quote, an associated image of the character to the left. They should are normally used to automatically add a hidden category onto the pages on which they are placed. This can be set with <includeonly>[[Category:CATEGORY NAME HERE|{{PAGENAME}}]]</includeonly>.

For the full documentation of the technical aspects of the mbox system, see dev:Mbox. The parameters listed below are used for the Final Fantasy Wiki's implementation specifically.

This template depends on Module:Mbox
This template uses Lua. To make adjustments to this template, edit the module page.

Usage

{{mbox
|image=
|charname=
|charlink=
|charquote=
|text=
}}

Parameters

Required

image

The file name and extension of the image of the character declaring the quote.

Required

imagewidth
(default: "75" )

The width of the image in pixels. This generally does not need to be changed.

Semi-required

charlink

The link to the character page of the character giving the quote. If the character page has a surname, or a tag, in the title, use charname to only display the first name.

Semi-required

charname

The name of the character giving the quote. This is the display text for the link to the character page, and only required if charlink contains a surname or tag in the title.

Required

quote

The quote of the Final Fantasy cbaracter, used as the header text of the mbox. This quote must be relevant to the notice of the mbox at hand.

Optional

text

The text content of the message box, presented below the header.

Semi-required

text

The text content of the message box, presented below the header. This is where one would describe the notice in detail.

Optional

class

A class used for the mbox if it is to be themed differently, such as the delete class for {{delete}}.

Examples

Simple

{{mbox
|image=FF7 - Tifa Portrait.png
|charname=Tifa Lockhart
|charlink=Tifa
|charquote=Be strong.
|text=This page is currently weak. Please strengthen this page.
}}

produces:

FF7 - Tifa Portrait.png
Tifa Lockhart: Be strong.
This page is currently weak. Please strengthen this page.

Complex examples

{{mbox
|image=Userbox ff7-cloud.png
|charname=Cloud Strife
|charlink=Cloud
|charquote=I couldn't finish 'em. Looks like this's gonna get complicated.
|text=The following tables are incomplete and require the {{{1}}} areas to be filled. If you wish, please examine the table and add anything missing. Remove this notice upon completion.
}}
Userbox ff7-cloud.png
Cloud Strife: I couldn't finish 'em. Looks like this's gonna get complicated.
The following sections are incomplete and require the {{{1}}} areas to be filled. If you wish, please examine the table and add anything missing. Remove this notice upon completion.
This template does not really differ. Its main difference is that it uses its own parameters within it, meaning that, assuming the mbox was titled "unfinishedsection", using {{unfinishedsection|[whatever needs to be added to fill the section]}} would be optimal.
Community content is available under CC-BY-SA unless otherwise noted.