Template:Divbox/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 5: Line 5:


== Example ==
== Example ==
  <nowiki>{{divbox|purple|An example|This is only an example of how this template works.}}</nowiki>
  <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|purple|An example|This is only an example of how this template works.}}
{{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


Template:Mbox templates see also