Template:Color swatch/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Color swatch. It contains usage information, categories and other content that is not part of the original template page. |
Samples[edit source]
{{color swatch|#0000FF|Blue}} creates:
Blue
#0000FF
We strongly recommend adding a <ref></ref> to the main title, e.g.:
{{color swatch|#0000FF|Blue<ref>[http://www.w3.org/TR/REC-html40/types.html#h-6.5 HTML 4.01 Specification]</ref>}} creates:
Blue[1]
#0000FF
Optional parameters – floating left, and an internal caption:
{{color swatch|#0000FF|Blue|left|#0000FF}} creates:
#0000FF
Blue
#0000FF
Change the internal caption's color with a fifth value:
{{color swatch|#0000FF|Blue|left|#0000FF|white}} creates:
#0000FF
Blue
#0000FF
Note[edit source]
External links[edit source]
- Template:Color swatch/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.