FANDOM


[edit] [purge] Template-info.svg Template documentation

This template is used to create coloured text background.

Usage

{{divbox|color of box|Headtitle|Message}}

Example

{{divbox|purple|An example|This is only an example of how this template works.}}

Writing this code will give you...

The color names are case-dependent; they will not work if upper-case letters are used.

Available styles

amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
red
white
yellow
fawn
greenv
grayh
tt
wordperfect


See also


There are several meta-templates in the mbox family:

  • {{ambox}} – For article message boxes.
  • {{tmbox}} – For talk page message boxes.
  • {{imbox}} – For file (image) page message boxes.
  • {{cmbox}} – For category message boxes.
  • {{ombox}} – For other pages message boxes.
  • {{mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.

Closely related meta-templates:

  • {{fmbox}} – For header and footer message boxes.
  • {{dmbox}} – For disambiguation and set index message boxes.
  • {{asbox}} – For article stub message boxes.
Community content is available under CC-BY-SA unless otherwise noted.