Template:Color
Jump to navigation
Jump to search
Color the text.
Usage
- color
- The color to use (in format supported by CSS, e.g.
#ff0000,rgb(255, 0, 0)). - Can also be set as positional argument 0.
- text (argv 1)
- The text to color.
- Can also be set as positional argument 1.
Example
{{color|#ff0000|Text}}
{{color|color=#00ff00|text=Text}}
{{color|color=rgb(0,0,255)|text=Text}}
Output
Text
Text
Text