Difference between revisions of "Template:Gray/doc"
Jump to navigation
Jump to search
imported>Telpardec (avoid redirect - grey → gray) |
imported>John Broughton (Adding Template data using the same format as for Template:Red) |
||
| Line 6: | Line 6: | ||
My {{gray|color}} text. | My {{gray|color}} text. | ||
| + | |||
| + | == Template data == | ||
| + | {{TemplateDataHeader}} | ||
| + | <TemplateData> | ||
| + | { | ||
| + | "description": "This template changes the color of any supplied text to gray", | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Text", | ||
| + | "description": "The text that should be colored gray.", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </TemplateData> | ||
== See also == | == See also == | ||
Revision as of 17:12, 21 August 2014
| 40px | This is a documentation subpage for Template:Gray. It contains usage information, categories and other content that is not part of the original template page. |
Usage
My text. Produces:
{{gray|color}}
My color text.
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 Gray
This template changes the color of any supplied text to gray
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text that should be colored gray. | String | required |
See also
Template:Text color templates see also