From WikiTemp, the GBAtemp wiki
< Template:Ombox
Revision as of 13:52, 4 January 2011 by tj_cool (talk | contribs) (Docu)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page of Template:Ombox. Please add the documentation for this Template below.

This is the basic Template for Other Message Boxes. Normally, this template isn't used directly on a page, but is implemented by other Templates instead. You should only use this Template in the following Namespaces:

  • User
  • WikiTemp
  • MediaWiki
  • Template
  • Help

It is recommended to base your Templates on Template:Mbox instead of this template.

Parameters

  • color = Color of the border.
  • background = Background color of the box, default = #F8EABA.
  • width = The width of the box, default = 80%
  • image = The image to use (can be entered with or without preceding Image:), default = Image:Ambox_notice.png.
  • imagewidth = To change the width of the Image.
  • text = The text to appear in the box.

Example Usage

{{Ombox
|color = red
|background = #EEE
|image = Image:Warning.png
|imagewidth = 40px
|text = WARNING: This is just an example!
}}

This produces:

Warning.png WARNING: This is just an example!