Difference between revisions of "Template:Black/doc"
Jump to navigation
Jump to search
imported>DarkFrog (→See also: used the new see also template) |
imported>John Broughton (Adding Template data using the same format as for Template:Red) |
||
| Line 9: | Line 9: | ||
== How it works == | == How it works == | ||
The code <code><nowiki><span style="color:black"> </span></nowiki></code> is placed around the text entered with this template. | The code <code><nowiki><span style="color:black"> </span></nowiki></code> is placed around the text entered with this template. | ||
| + | |||
| + | == Template data == | ||
| + | {{TemplateDataHeader}} | ||
| + | <TemplateData> | ||
| + | { | ||
| + | "description": "This template changes the color of any supplied text to black", | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Text", | ||
| + | "description": "The text that should be colored black.", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </TemplateData> | ||
== See also == | == See also == | ||
Revision as of 17:14, 21 August 2014
| This is a documentation subpage for Template:Black. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
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
Template:Text color templates see also