Template:Font colour

From Team Fortress Wiki
(Redirected from Template:Font color)
Jump to: navigation, search

{{{2}}}

Documentation for Font colour

Template for changing font colours. By default supports all item qualities in TF2. Otherwise accepts hex and text (e.g. "red").

Usage

{{Font colour|1|2}}

1
Accepts colours and hex values, as well as item quality names (must be in all lowercase). Defaults to black.
2
Text to display in the aforementioned colour.

Example

{{Font colour|green|Hello Wiki!}} produces: Hello Wiki!

{{Font colour|strange|Strange items}} produces: Strange items

{{Font colour|E52A6F|Goodbye Wiki!}} produces: Goodbye Wiki!