Template:Color box/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Color box. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Color box
Script error: No such module "Format TemplateData".
Visual effect | Markup |
---|---|
{{color box|Green}}
| |
Default color for this text | {{color box|Yellow|Default color for this text}}
|
Default color for this text | {{color box|Blue|Default color for this text}}
|
Using X11 color names | {{color box|SteelBlue|'''Using X11 color names'''|Gold}}
|
Using RGB hex triplets | {{color box|#012345|''Using RGB hex triplet''|#FEDCBA}}
|
Red | {{color box|Yellow|Red|#f00|border=#f00}}
|
Variants
- {{Color box}}, a small color box with black borders and text color. (e.g. or ORANGE )
- {{RouteBox}}, a borderless version with text color and wikilinks. (e.g. ORANGE )
- {{Colorbull}}, a colored bullet with wikilinks. (e.g. ■)
- {{legend2}}, another borderless version (e.g., )
- {{Color sample}}, a small color box with black borders. (e.g., )
- {{Swatch inline}}. (e.g., orange)
- {{Background color}}. (e.g., orange)
See also
- {{Infobox color}}, an infobox for the detailed description of a color.
- {{Legend}}