Template:Black/doc
This is a documentation subpage for Template:Black. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
My {{black|color}}
text. Produces:
My color text.
How it works
The code <span style="color:black"> </span>
is placed around the text entered with this template.
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for Black
This template changes the color of any supplied text to black
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The text that should be colored black. | String | required |
See also
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
- {{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}}