Template:Colorbox
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This template supersedes {{legend3}}.
Usage
{{colorbox|color|text|Wikilink}}
color is passed to the css background-color property. HTML color names (e.g. "#FF0000") or the color name (e.g. "red") can be used.
text is any text to be rendered inside the colorbox.
Wikilink is the Wikilink for the Wikipedia page the text should point to.
Examples
- Empty colorbox
For a colorbox with no text, use
{{colorbox|color}}
renders:
- Legends and keys
For a legend or key using color and a text-based marker such as aCaret (^), dagger/obelisk (†), double dagger/diesis (‡), or asterisk (*), use
{{colorbox|color|^}}{{colorbox|color|†}}{{colorbox|color|‡}} {{colorbox|color|*}}
which renders:
^ † ‡ *
Notes:
- Do not use a black shaded colorbox with text markers as the text will not be visible.
- The HTML coding
*
must be used to create the asterisk as Wikipedia will treat the a typed asterisk as an indented bullet point
- like this.
- Linkable text
To create linkable text inside the colorbox, use
{{colorbox|color|text|Wikilink}}
which renders:
Note:
- Do not use a blue or red shaded colorbox with wikilinks as the text will not be visible.
Related pages
🔥 Top keywords: Main PageSpecial:SearchSupreme Court of the United StatesList of UEFA European Championship finalsWikipedia:AboutList of U.S. statesHelp:ContentsHelp:IntroductionKnights of the Round TableList of Disney moviesBlackSpecial:RecentChangesGodzilla X Kong: The New EmpireList of people who have walked on the MoonList of U.S. states and territories by time zoneUnited StatesThe Garfield MovieEducation24-hour clockEid al-AdhaGolden EdgeQueen (band)List of countries by continentsAviciiBig Mac IndexAdolf Hitler UunonaUmro Ayyar - A New BeginningMurder of Junko FurutaHelp:Authority controlCristiano RonaldoBismillahir Rahmanir Raheem19 Kids and CountingSOLID (object-oriented design)Jude BellinghamXXXTentacionLisa SparxxxPeriodic tableList of fruitsBTS