Template:Divbox/doc
Jump to navigation
Jump to search
This template is used to create coloured text background.
Contents
Usage
{{divbox|color of box|Headtitle|Message}}
Example
{{divbox|bloodred|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
- {{divhide}} (for hiding things)
There are seven metatemplates in the Module:Message box family:
- {{Ambox}}, for messageboxes on article pages.
- {{Cmbox}}, for messageboxes on category pages.
- {{Imbox}}, for messageboxes on file (image) pages.
- {{Tmbox}}, for messageboxes on talk pages.
- {{Fmbox}}, for header and footer messageboxes.
- {{Ombox}}, for messageboxes on other types of page.
- {{Mbox}}, for messageboxes that are used in different namespaces and change their presentation accordingly.
Closely related metatemplates:
- {{Asbox}}, for messageboxes in article stubs.
- {{Dmbox}}, for messageboxes on disambiguation or set-index pages.
- {{Ivmbox}}, a simple full-width box with default ivory background intended to frame important messages or notices.
Templates intended to be used in conjunction with Mboxes:
- {{Ombox/shortcut}}, an alternative to {{Shortcut}} for use in Mbox templates