Difference between revisions of "Template:Gray/doc"

From blackwiki
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

Usage

My {{gray|color}} text. Produces:

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

Template parameters

ParameterDescriptionTypeStatus
Text1

The text that should be colored gray.

Stringrequired

See also

Template:Text color templates see also