Difference between revisions of "Template:Font colour"

From Team Fortress Wiki
Jump to: navigation, search
(+ cat)
(Added nameplate)
 
Line 11: Line 11:
 
| self-made | selfmade | self made | community = #70B04A
 
| self-made | selfmade | self made | community = #70B04A
 
| valve = #A50F79
 
| valve = #A50F79
 +
| nameplate = #EBE2CA
 
| #default = {{ucfirst:{{{1|black}}}}}
 
| #default = {{ucfirst:{{{1|black}}}}}
 
}}">{{{2}}}</font><noinclude>
 
}}">{{{2}}}</font><noinclude>

Latest revision as of 16:16, 23 November 2024

{{{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!