Template:Divbox/doc: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Example == | == Example == | ||
<nowiki>{{divbox| | <nowiki>{{divbox|bloodred|An example|This is only an example of how this template works.}}</nowiki> | ||
Writing this code will give you... | Writing this code will give you... | ||
{{divbox| | {{divbox|bloodred|An example|This is only an example of how this template works.}} | ||
The color names are case-dependent; they will not work if upper-case letters are used. | The color names are case-dependent; they will not work if upper-case letters are used. |
Revision as of 19:05, 5 July 2010
This template is used to create coloured text background.
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)
Template:Mbox templates see also