Template:Messagebox

From Free Hosting Wiki
Revision as of 00:14, 8 January 2012 by Skizzerz (Talk | contribs)

Jump to: navigation, search

Adds a banner to the page. You would usually place this at the top of the page or header to warn the user about something in the following content. This is a meta-template and chances are that a more specific template would suit your needs.

Usage

{{Messagebox
|content=Content of message (required) - The first unnamed parameter is used if content is not specified
|border-color=Color of border (optional) - Default is #c5c5c5
|background-color=Color of background (optional) - Default is #f9f9f9
|border=Style of border, overrides border-color (optional)
}}

Examples

{{Messagebox|content=Sample Messagebox 1}}
Sample Messagebox 1
{{Messagebox|Sample Messagebox 2}}
Sample Messagebox 2
{{Messagebox|Sample Messagebox 3 ''with [[Main Page|wiki]] markup''}}
Sample Messagebox 3 with wiki markup
{{Messagebox|Sample Messagebox 4|border-color=#ff5555|background-color=#ffcccc}}
Sample Messagebox 4

Specific Templates

{{Prime}}
The following content applies to our Prime package and as such may not be relevant for Free Hosting.
{{Illuminated}}
The following content applies to our Illuminated package and as such may not be relevant for Free Hosting.
{{Premium}}
The following content applies to our Premium package and as such may not be relevant for Free Hosting.
Personal tools
Namespaces

Variants
Actions