Jump to content

Template:Coltit/doc

From escforumwiki
Revision as of 12:40, 13 November 2011 by en>Sarang (test)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template might be used to color the background of a table cell; by the second parameter the text color can be specified. When the mouse pointer is located at the cell, the background color hex code is shown.

Usage

{{Coltit|RGB hex triplet of background color|RGB hex triplet of color|alignement letter}}

The template needs the colors hex code RGB or RRGGBB (not the color name); the 2nd parameters default value is 000 (black); possible alignement letters are: l (left), r (right) with default value center.

For example:

{| class="wikitable"
|{{Coltit|F00|0FF}}'''red''' and complementary color
|{{Coltit|0FF|F00}}'''turq''' and complementary color
|{{Coltit}} no parameters, all default 
|}

results in

red and complementary color turq and complementary color no parameters, all default

Move the mouse pointer to the table cell to see the background color value

See also

and


MediaWiki spam blocked by CleanTalk.