Template:ColorSample
Jump to navigation
Jump to search
This documentation is transcluded from Template:ColorSample/doc.
No description yet available.
Usage
{{ColorSample |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Usage
This template creates a box filled with a color of choice, optionally followed by a label. It may prove useful when listing colors used in a hand-made computer drawing, saving readers/users from having to use a color picker-like tool in their favorite picture editor.
Examples
This code... | Yields... |
---|---|
{{ColorSample|purple|This is the purplest purple ever}}
|
This is the purplest purple ever: purple |
{{ColorSample|purple}}
|
|
{{ColorSample|#E00|Warnings are usually colored like this}}
|
Warnings are usually colored like this: #E00 |
{{ColorSample|#000}}{{ColorSample|#006}}{{ColorSample|#039}}{{ColorSample|#36C}}{{ColorSample|#69F}}{{ColorSample|#9CF}}{{ColorSample|#CEF}}{{ColorSample|#DFF}}{{ColorSample|#FFF}}{{ColorSample|transparent}}
|