Template:Font colour

From Team Fortress Wiki
Revision as of 22:27, 23 March 2025 by GrampaSwood (talk | contribs) (Please don't make duplicate entries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{{2}}}

Documentation for Font colour

Template for changing font colours. By default supports all item qualities, paint can colours, and team colours 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, paint can colours, and team names. Defaults to black. Not case sensitive.
2
Text to display in the aforementioned colour.

Example

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

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

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

{{Font colour|red team|RED Team}} produces: RED Team

{{Font colour|blu team|BLU Team}} produces: BLU Team

{{Font colour|pink as hell|Pink as Hell}} produces: Pink as Hell

{{Font colour|waterlogged lab coat red|Waterlogged Lab Coat (RED)}} produces: Waterlogged Lab Coat (RED)

{{Font colour|waterlogged lab coat blue|Waterlogged Lab Coat (BLU)}} produces: Waterlogged Lab Coat (BLU)