Difference between revisions of "Template:Colorsample"
From SME Server
Jump to navigationJump to searchm (Created Template:Colorsample to display color samples) |
(No difference)
|
Revision as of 23:48, 15 January 2009
Usage
{{Colorsample|COLOR}} or {{Colorsample|COLOR|text=TEXT|border=BORDER}}
All the named parameters are optional.
COLOR can be any CSS specification for a color.
Default values:
- border: 1px solid black
- text:
Examples
{{Colorsample|RED}} produces
{{Colorsample|#00FF00|text=foreground}} produces foreground
{{Colorsample|{{rgb|bronze}}}} produces