Template:Background color/doc
This is a documentation subpage for Template:Background color. It may contain usage information, categories and other content that is not part of the original template page. |
Usage[edit]
Examples[edit]
{{Background color|yellow|foo}}
= Hello, world!{{bg|#FFA8A8|foo}}
= Hello, world!{{bgc|#FFA8A8|foo|m}}
= Hello, world!
Parameters[edit]
- 1st or
c
= color - 2nd or
t
= text m
= monospace font
Color suggestions[edit]
{{bgc|#ff6db6|foobar}}
= foobar{{bgc|#ffb6db|foobar}}
= foobar{{bgc|#b66dff|foobar}}
= foobar{{bgc|#6db6ff|foobar}}
= foobar{{bgc|#b6dbff|foobar}}
= foobar{{bgc|#db6d00|foobar}}
= foobar{{bgc|#24ff24|foobar}}
= foobar{{bgc|#ffff6d|foobar}}
= foobar
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}}