Template:Color box
From Wikipedia, the free encyclopedia
Page Template:Legend/styles.css has no content.
Page Module:Documentation/styles.css has no content.
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Page Module:Shortcut/styles.css has no content.
Page Module:Hatnote/styles.css has no content.
Template:Uses TemplateStyles Script error: No such module "High-use".
Usage
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Template:Template parameter usage
Script error: No such module "Format TemplateData".
TemplateData for Color box
| Visual effect | Markup |
|---|---|
| Page Template:Legend/styles.css has no content. | {{color box|Green}}
|
| Page Template:Legend/styles.css has no content. Default color for this text | {{color box|Yellow|Default color for this text}}
|
| Page Template:Legend/styles.css has no content. Default color for this text | {{color box|Blue|Default color for this text}}
|
| Page Template:Legend/styles.css has no content. Using X11 color names | {{color box|SteelBlue|'''Using X11 color names'''|Gold}}
|
| Page Template:Legend/styles.css has no content. Using RGB hex triplets | {{color box|#012345|''Using RGB hex triplet''|#FEDCBA}}
|
| Page Template:Legend/styles.css has no content. Red | {{color box|Yellow|Red|#f00|border=#f00}}
|
| Page Template:Legend/styles.css has no content. bordercolor like wikitable | {{color box|white|bordercolor like wikitable|border=#A2A9B1}}
|
Variants
| Template | Description | Example |
|---|---|---|
| Template:Tl | Color box size with black borders and text color. Standard size. | Page Template:Legend/styles.css has no content. or Page Template:Legend/styles.css has no content. ORANGE |
| Template:Tl | Striped color box. Standard size. | Template:Color box striped |
| Template:Tl | Borderless color box with text color and wikilinks. | ORANGE |
| Template:Tl | Colored bullet with wikilinks. | <span style="color:orange; font-size:100%; line-height:1;" title="Lua error in package.lua at line 80: module 'Module:GetParameters' not found.">■ |
| Template:Tl | Color box size with black borders. Standard size. | Page Template:Legend/styles.css has no content. |
| Template:Tl | Color box size with black borders. Smaller size. | <span style="display:inline-block;border:1.62px solid black;vertical-align:text-top;" title="Lua error in package.lua at line 80: module 'Module:GetParameters' not found."> |
| Template:Tl | orange | |
| Template:Tl | orange | |
| Template:Tl | A version with more display options. Part of Module:Adjacent stations | Script error: No such module "Adjacent stations"., Script error: No such module "Adjacent stations". |
| Template:Tl | Color box split diagonally. Standard size. | Template:Diagonal split color box |
Supporting template
See also
- Template:Tl, an infobox for the detailed description of a color.
- Template:Tl