Template:Color
Jump to navigation
Jump to search
This template lets you color text in different colors.
Documentation
Usage: {{color|COLOR|TEXT}}
where COLOR is a color (blue, #0000FF, #faf...). TEXT can be anything, but it can't contain a vertical pipe | or an equals sign =. To escape equals signs do 2=MESSAGE, and use {{!}} for vertical pipes.
This template is identical to {{colour}}.
Here are a few examples:
{{color|red|TEXT}}, looks like: TEXT{{color|purple|Purp}}, looks like: Purp{{color|lime|Lorem Ipsum}}, looks like: Lorem Ipsum
Advanced examples include:
- Partially coloring certain text:
This word is {{color|blue|blue}} for some reason., looks like: This word is blue for some reason.
- Formatting colors (for this example, it's bolded):
<b>{{color|indigo|BOLDED POWERRRRR!}}</b>, looks like: BOLDED POWERRRRR!
- Using hex codes:
<b>{{color|#A7DBB9|hex me}}</b>, looks like: hex me