m (Changed protection level for "Template:Green": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 20:07, 25 October 2021
{{{1}}}
40px | This template is used on approximately 9,300 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 {{green|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 Green
This template changes the color of any supplied text to green
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The text that should be colored green. | String | required |
See also
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}}
- Category:Color templates (0)