الگوی ویکیمدیا From Wikipedia, the free encyclopedia
This template supersedes {{legend3}}.
{{colorbox|color|text|wikilink}}
Visual effect | Markup |
---|---|
{{colorbox|Red}} | |
Default color for this text | {{colorbox|Fuchsia|Default color for this text}} |
Wikilink to the article on Wikipedia | {{colorbox|Yellow|Wikilink to the article on Wikipedia|Wikipedia}} |
Using an X11 color name | {{colorbox|Chartreuse|'''Using an X11 color name'''|Wikipedia}} |
Using RGB hex triplet | {{colorbox|#FEDCBA|''Using RGB hex triplet''|Wikipedia}} |
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.
The colorbox
template is widely used to annotate complex tables in which editors have used color to group like entries. The editor uses the background-color
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 caret (^), dagger/obelisk (†), double dagger/diesis (‡), or asterisk (*) to call attention to the different meanings.
Visual effect | Markup |
---|---|
^ | {{colorbox|#CEF2E0|^}} |
† | {{colorbox|#CEDFF2|†}} |
‡ | {{colorbox|#DDCEF2|‡}} |
* | {{colorbox|#F2E0CE|*}} |
NOTE:
*
must be used to create the asterisk as Wikipedia will treat the typed asterisk as an indented bullet point.{{Color box}} — Alternative, black-bordered version.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.