Template:Messagebox

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<center><div style="width:600px;border: 1px {{{border|white}}} solid;border-left-width:5px;padding:4px;margin:6px;background-color: {{{bg|#fffff7}}}"> <div style="display:tabl...")
 
Line 26: Line 26:
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
 +
Result:
 
{{messagebox
 
{{messagebox
 
|text=Alert
 
|text=Alert

Revision as of 16:45, 27 July 2012

Use this template to place message boxes on a page.

Usage:

{{messagebox
| text = Message text
| small = Small message text (optional)
| picture = picture (optional)
| color = textcolor (optional)
| border = border color
| bg = background color (optional)
| category = page categoty (optional)
}}

Example:

{{messagebox
|text=Alert
|small=Small alert message
|picture=[[File:important.png|alt=|link=]]
|color=black
|border=gray
|bg=#ffffff9
}}

Result:

Alert
Small alert message
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox