Template:Red/doc: Difference between revisions
From Black Cat Studios
Jump to navigationJump to search
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{High-use}} __NOTOC__ == Usage == <code>My {{tlp|red|color}} text.</code> produces: My {{red|color}} text. == Template data == {{TemplateDataHeader}} <TemplateData> { "description": "This template changes the color of any supplied text to red", "params": { "1": {...") |
(No difference)
|
Latest revision as of 17:15, 19 June 2023
| This is a documentation subpage for Template:Red. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on many 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
My {{red|color}} text. produces:
My color text.
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Red
This template changes the color of any supplied text to red
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text that should be colored red. | String | required |
See also
- Background coloring: {{Background color}} or {{bg}}
| template code | color palette | |
|---|---|---|
|
– | |
|
– | |
| – | ||
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– | |
|
– |
Color templates
- {{Background color}} or {{bg}} - sets background color
- {{Color}} or {{Red}} etc. – sets text color
- {{Font color}} – sets both text and background color
- {{Color contrast ratio}}
- {{Talk quote inline}}
- Category:Color templates (2)