< 模板:Red
This is a documentation subpage for 模板:Red. It may contain usage information, categories and other content that is not part of the original 模板 page. |
This template is used on approximately 154,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. 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. See a monthly parameter usage report for Template:Red in articles based on its TemplateData.
TemplateData for Red
This template changes the color of any supplied text to red
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Text | 1 | The text that should be colored red. | 字符串 | 必需 |
See also
- Background coloring:
{{Background color}}
or{{bg}}
template code | color palette |
---|---|
{{aqua}} |
|
{{azure}} |
|
{{black}} |
|
{{blue}} |
|
{{brown}} |
|
{{burgundy}} |
|
{{cyan}} |
|
{{dark red}} |
|
{{fuchsia}} |
|
{{gold (color)}} |
|
{{gray}} or {{grey}} |
|
{{green}} |
|
{{lime}} |
|
{{link blue}} |
|
printer's {{magenta}} |
|
{{maroon}} |
|
{{navy (color)}} |
|
{{olive}} |
|
{{orange}} |
|
hot {{pink}} |
|
{{purple}} |
|
{{red}} |
|
{{silver (color)}} |
|
{{teal}} |
|
{{white}} |
|
{{yellow}} |
Color templates
{{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 (0)