This template creates a box filled with a color of choice, optionally filled with a label which can be a wikilink.
This code... |
Yields...
|
{{ColorBox|purple}} (no 2nd parameter)
|
|
{{ColorBox|green|}} (blank 2nd parameter)
|
|
{{ColorBox|blue|fred|#FF0}} (text as the 2nd parameter, text color as 3rd parameter)
|
fred
|
{{ColorBox|#EE0000|[[:category:Esoteric templates| ]]}} (a wikilink as the 2nd parameter)
|
|
{ColorBox|black|{{C|Black| }}}} {{ColorBox|red|{{C|Red| }}}}
{{ColorBox|green|[[:category:green| ]]}}
{{ColorBox|blue|{{C|Blue| }}}} {{ColorBox|white|{{C|White| }}}}
|
|
or see {{ColorString|/B/black/red/green/blue/white}} blackredgreenbluewhite
|
{{ColorBox|#069|#069|#FCF| css=border:1px solid #666;width:3.6em;display:inline-block;text-align:center" title="#006699}}
|
#069
|