Template:CSScolor/doc
This is a documentation subpage for Template:CSScolor. It may contain usage information, categories and other content that is not part of the original template page. |
Usage[edit]
This template sanitizes and partially converts color codes and color names into a format supported by CSS. This may be useful, in particular, with hexadecimal tuples which may come with or without an initial hash sign #
, because it may be interpreted as the start of an enumerated list in wikicode.
See also[edit]
This tables shows the various color templates in use. | ||||
---|---|---|---|---|
Color Template | style="background: Color;"
|
{{Background color|Color}}
|
{{Color|Text}}
|
{{Colored link|Color}}
|
{{White}} | Text | Text | Main page | |
{{Silver}} | Text | Text | Main page | |
{{Gray}} or {{Grey}} | Text | Text | Main page | |
{{Black}} | Text | Text | Main page | |
hot {{pink}} | Text | Text | Main page | |
{{red}} | Text | Text | Main page | |
{{darkRed}} | Text | Text | Main page | |
{{maroon}} | Text | Text | Main page | |
{{brown}} | Text | Text | Main page | |
{{orange}} | Text | Text | Main page | |
{{gold}} | Text | Text | Main page | |
{{yellow}} | Text | Text | Main page | |
{{olive}} | Text | olive | Main page | |
{{lime}} | Text | Text | Main page | |
{{green}} | Text | Text | Main page | |
{{aqua}} | Text | Text | Main page | |
{{lime}} | Text | Text | Main page | |
{{cyan}} | Text | Text | Main page | |
{{teal}} | Text | Text | Main page | |
{{azure}} | Text | Text | Main page | |
{{blue}} | Text | Text | Main page | |
{{navy}} | Text | Text | Main page | |
{{purple}} | Text | Text | Main page | |
{{fuchsia}} | Text | Text | Main page | |
{{magenta}} | Text | Text | Main page |
Color templates[edit]
- {{Background color}} or {{bg}} - sets background color
- {{Color}} or {{Red}} etc. – sets text color
- {{Font color}} – sets both text and background color
- {{Talk quote inline}}
- {{CSScolor}} - sanitizes and partially converts color codes and color names into a format supported by CSS.
- {{resize}}