Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23395397acfcb43

Jump to content

Template:Coltit/doc

From Wikipedia, the free encyclopedia

Coltit is short for "color title". This template colors the background of a table cell and displays the background color's hex code triplet as a tooltip when the mouse pointer is located in the cell. The second parameter specifies the text color.

Usage

[edit]

{{Coltit|RGB hex triplet of background color|RGB hex triplet of color|alignment letter|x=individual text}}

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.
The parameter x= specifies a title text header different from its default value (color#).

No tooltip

[edit]

The parameter x= by itself will suppress the tooltip.

Example

[edit]
{| class="wikitable"
|{{Coltit|F00|0FF}}'''red''' and complementary color
|{{Coltit|#0ff|#f00}}'''turq''' and complementary color
|{{Coltit|rgb=12,34,56|color=75%,50%,25%}} using absolute 8-bit decimal and percentage RGB notation
|{{Coltit}} no parameters, all defaults
|{{Coltit|ffee11}}
|{{Coltit|ffee11|x=yellow background colour}}
|}

results in

red and complementary color turq and complementary color using absolute 8-bit decimal and percentage RGB notation no parameters, all defaults

In the first five columns you can move the mouse pointer to the table cell to see the background color value. In the last column you will see instead the value of parameter x=

See also

[edit]

Sibling projects

[edit]
  • {{Coltit}} (some differences, in German Wikipedia)
  • {{Coltit}} (more differences, in Wikimedia Commons)