Template:Black/doc
Appearance
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. |
This template is used on approximately 10,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]My {{black|color}}
text. Produces:
My color text.
How it works
[edit]The code <span style="color:black"> </span>
is placed around the text entered with this template.
Template data
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Black in articles based on its TemplateData.
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
[edit]template code | color palette |
---|---|
{{aqua}} | |
{{azure}} | |
{{black}} | |
{{blue}} | |
{{brown}} | |
{{burgundy}} | |
{{cyan}} | |
{{dark red}} | |
{{fuchsia}} | |
{{gold}} | |
{{gray}} or {{grey}} | |
{{green}} | |
{{verdyre}} | |
{{lime}} | |
{{link blue}} | |
printer's {{magenta}} | |
{{maroon}} | |
{{navy (color)}} | |
{{olive}} | |
{{orange}} | |
hot {{pink}} | |
{{purple}} | |
{{red}} | |
{{silver}} | |
{{teal}} | |
{{white}} | |
{{yellow}} |
Color templates
[edit]- {{Background color}} or {{bg}} - sets background color
- {{Color}} or {{Red}} etc. – sets text color
- {{Colored link}} – sets link color
- {{Font color}} – sets both text and background color
- {{Color contrast ratio}}
- {{Talk quote inline}}
- Category:Color templates (126)