Template:Colorbox/doc

Usage
Colorbox is widely used in most Wikipedias.


 * Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See  for details.
 * Text is optional; it is displayed using the default style foreground color as prescribed by . For most users this is black.
 * The wikilink parameter is also optional and specifies the to the article to which the text should point.
 * The optional parameter  can replace parameter 1 (color) for.


 * with Color also the color of the text can be defined (by the 1 parameter) - default like above
 * gives the same as
 * gives the same as
 * gives the same as

NOTE: Using a blue, purple, or red colorbox obscures unvisited, visited, and missing wikilinks, respectively, as these are the default link colors for most users.

Legends and keys
The  template is widely used to annotate complex tables in which editors have used color to group like entries. The editor uses the  style to color individual cells in the table and then adds a legend consisting of colorboxes at the beginning or end of the table explaining the meanings behind the color scheme. The editor may also add symbols like a (^),  (†),  (‡), or  (*) to call attention to the different meanings.

NOTE:
 * 1) Using a black colorbox with text markers obscures the text as the default style foreground color for most users is black.
 * 2) The HTML code  must be used to create the asterisk as Wikipedia will treat the typed asterisk as an indented bullet point.