Template:Messagebox/doc

From Free Hosting Wiki
< Template:Messagebox(Difference between revisions)
Jump to: navigation, search
(Created page with "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 ch...")
 
 
Line 31: Line 31:
 
</pre>
 
</pre>
 
{{Messagebox|Sample Messagebox 4|border-color=#ff5555|background-color=#ffcccc}}
 
{{Messagebox|Sample Messagebox 4|border-color=#ff5555|background-color=#ffcccc}}
 +
 +
==Specific Templates==
 +
<pre>
 +
{{Prime}}
 +
</pre>
 +
{{Prime}}
 +
 +
<pre>
 +
{{Illuminated}}
 +
</pre>
 +
{{Illuminated}}
 +
 +
<pre>
 +
{{Premium}}
 +
</pre>
 +
{{Premium}}

Latest revision as of 00:32, 8 January 2012

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.

[edit] 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)
}}

[edit] 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

[edit] 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