Template:Color box striped
For the templates that display text in a colored box, see {{Divbox }} or Template:Mbox templates see also.
Usage
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Color box striped
Visual effect | Markup |
---|---|
{{color box striped|Green}}
| |
{{color box striped|Yellow|Green}}
| |
{{color box striped|Blue|Green|degrees=180}}
| |
{{color box striped|Blue|Red|striped =2}}
| |
Using X11 color names | {{color box striped|SteelBlue|Gold|'''Using X11 color names'''}}
|
Using RGB hex triplets | {{color box striped|#012345|#FEDCBA|''Using RGB hex triplet''}}
|
Red | {{color box striped|Gray|Yellow|Red|#f00|border=#f00}}
|
bordercolor like wikitable | {{color box striped|purple||bordercolor like wikitable|border=#A2A9B1}}
|
Variants
Template | Description | Example |
---|---|---|
{{Color box }} | Color box size with black borders and text color. Standard size. | or ORANGE |
{{Color box striped }} | Striped color box. Standard size. | |
{{RouteBox }} | Borderless color box with text color and wikilinks. | ORANGE |
{{Colorbull }} | Colored bullet with wikilinks. | ■ |
{{Legend inline }} | Color box size with black borders. Standard size. | |
{{Color sample }} | Color box size with black borders. Smaller size. | |
{{Swatch inline }} | orange | |
{{Background color }} | orange | |
{{Rail color box }} | 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". |
{{Diagonal split color box }} | Color box split diagonally. Standard size. |
Supporting template
See also
- {{Infobox color }}, an infobox for the detailed description of a color.
- {{Legend }}