Template:Gray/doc: Difference between revisions
Appearance
Content deleted Content added
m Migrating 3 interwiki links, now provided by Wikidata on d:Q6965961 |
No edit summary |
||
(9 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-use}} |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
{{template shortcut|Grey}} |
|||
== Usage == |
== Usage == |
||
My |
My {{tlx|gray|color}} text. Produces: |
||
My {{ |
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 == |
|||
<!-- categories --> |
|||
{{Text color templates see also}} |
|||
<includeonly>{{Sandbox other||<!-- |
|||
<!-- interwiki --> |
|||
⚫ | |||
</includeonly> |
|||
[[Category:Text color templates]] |
|||
⚫ |
Latest revision as of 03:04, 6 November 2023
This is a documentation subpage for Template:Gray. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 42,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 {{gray|color}}
text. Produces:
My color text.
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:Gray in articles based on its TemplateData.
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
[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 (127)