Template:Yellow/doc
Appearance
This is a documentation subpage for Template:Yellow. It contains usage information, categories, and other content that is not part of the original template page. |
Usage
[edit]Use this template to make color of this text. Note that you can also use {{color}} for any arbitrary color:
{{color|name of color or hex code of color|Text}}
For example:
{{color|red|Hello, world!}}
results in Hello, world!
{{color|#00F000|Hello, world!}}
results in Hello, world!
See w:Web colors#HTML color names for a list of colors.
Use {{color block|name of color or hex code of color|block content}}
where the content to be colored extends over a number of paragraphs.
See also
[edit]There are individual (inline) templates for the most common colors and Web colors. Don't create more without a compelling reason:
- {{maroon}} (Example)
- {{red}} (Example)
- {{orange}} (Example)
- {{yellow}} (Example)
- {{lime}} (Example)
- {{green}} (Example)
- {{olive}} (Example)
- {{teal}} (Example)
- {{aqua}} (Example)
- {{blue}} (Example)
- {{navy}} (Example)
- {{indigo}} (Example)
- {{violet}} (Example)
- {{fuchsia}} (Example)
- {{purple}} (Example)
- {{RebeccaPurple}} (Example)
- {{black}} (Example)
- {{greyed}} (Example)
- {{silver}} (Example)
- {{white}} (Example)