Template:Divbox/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Fæ@en.wikipedia.org
Line 27: Line 27:
<div style="{{divstyleplain}}; width:5em; float:left; margin:.3em">plain</div>
<div style="{{divstyleplain}}; width:5em; float:left; margin:.3em">plain</div>
<div style="{{divstylepurple}}; width:5em; float:left; margin:.3em">purple</div>
<div style="{{divstylepurple}}; width:5em; float:left; margin:.3em">purple</div>
<div style="{{divstylelilac}}; width:5em; float:left; margin:.3em">purple</div>
<div style="{{divstylered}}; width:5em; float:left; margin:.3em">red</div>
<div style="{{divstylered}}; width:5em; float:left; margin:.3em">red</div>
<div style="{{divstylewhite}}; width:5em; float:left; margin:.3em">white</div>
<div style="{{divstylewhite}}; width:5em; float:left; margin:.3em">white</div>

Revision as of 12:02, 12 November 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
purple
red
white
yellow
fawn
greenv
grayh
tt
wordperfect


See also


Template:Mbox templates see also