Difference between revisions of "Template:Font colour"

From Team Fortress Wiki
Jump to: navigation, search
(Added nameplate)
(Please don't make duplicate entries)
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<font color="{{#switch:{{{1}}}
+
<font color="{{#switch:{{lc:{{{1}}}}}
| normal = #B2B2B2
+
| normal | stock = #B2B2B2
 
| unique = #FFD700
 
| unique = #FFD700
 
| vintage = #476291
 
| vintage = #476291
Line 12: Line 12:
 
| valve = #A50F79
 
| valve = #A50F79
 
| nameplate = #EBE2CA
 
| nameplate = #EBE2CA
 +
| red team | team spirit red =  #B8383B
 +
| blu team | blue team | team spirit blue | team spirit blu = #5885A2
 +
| a color similar to slate | color similar to slate = #2F4F4F
 +
| a deep commitment to purple | deep commitment to purple = #7D4071
 +
| a distinctive lack of hue | distinctive lack of hue = #141414
 +
| a mann's mint | mann's mint = #BCDDB3
 +
| after eight = #2D2D24
 +
| aged moustache grey = #7E7E7E
 +
| an extraordinary abundance of tinge | extraordinary abundance of tinge = #E6E6E6
 +
| australium gold = #E7B53B
 +
| color no. 216-190-216 | color number 216-190-216 = #D8BED8
 +
| dark salmon injustice = #E9967A
 +
| drably olive = #808000
 +
| indubitably green = #729E42
 +
| mann co. orange = #CF7336
 +
| muskelmannbraun = #A57545
 +
| noble hatter's violet = #51384A
 +
| peculiarly drab tincture = #C5AF91
 +
| pink as hell = #FF69B4
 +
| radigan conagher brown = #694D3A
 +
| the bitter taste of defeat and lime | bitter taste of defeat and lime = #32CD32
 +
| the color of a gentlemann's business pants | color of a gentlemann's business pants = #F0E68C
 +
| ye olde rustic colour | ye olde rustic color = #7C6C57
 +
| zepheniah's greed = #424F3B
 +
| an air of debonair red | air of debonair red = #654740
 +
| an air of debonair blue | air of debonair blu = #28394D
 +
| balaclavas are forever red = #3B1F23
 +
| balaclavas are forever blue | balaclavas are forever blu = #18233D
 +
| cream spirit red = #C36C2D
 +
| cream spirit blue | cream spirit blu = #B88035
 +
| operator's overalls red = #483838
 +
| operator's overalls blue | operator's overalls blu = #384248
 +
| the value of teamwork red | value of teamwork red = #803020
 +
| the value of teamwork blue | value of teamwork blu = #256D8D
 +
| waterlogged lab coat red = #A89A8C
 +
| waterlogged lab coat blue | waterlogged lab coat blu = #839FA3
 
| #default = {{ucfirst:{{{1|black}}}}}
 
| #default = {{ucfirst:{{{1|black}}}}}
 
}}">{{{2}}}</font><noinclude>
 
}}">{{{2}}}</font><noinclude>
 
{{Doc begin}}
 
{{Doc begin}}
Template for changing font colours. By default supports all item qualities in TF2. Otherwise accepts hex and text (e.g. "red").
+
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 ==
 
== Usage ==
Line 21: Line 57:
  
 
; 1
 
; 1
: Accepts colours and hex values, as well as item quality names (must be in all lowercase). Defaults to black.
+
: Accepts colours and hex values, as well as item quality, paint can colours, and team names. Defaults to black. Not case sensitive.
  
 
; 2  
 
; 2  
Line 29: Line 65:
 
<code><nowiki>{{Font colour|green|Hello Wiki!}}</nowiki></code> produces:
 
<code><nowiki>{{Font colour|green|Hello Wiki!}}</nowiki></code> produces:
 
{{Font colour|green|Hello Wiki!}}
 
{{Font colour|green|Hello Wiki!}}
 +
 +
<code><nowiki>{{Font colour|E52A6F|Goodbye Wiki!}}</nowiki></code> produces:
 +
{{Font colour|E52A6F|Goodbye Wiki!}}
  
 
<code><nowiki>{{Font colour|strange|Strange items}}</nowiki></code> produces:
 
<code><nowiki>{{Font colour|strange|Strange items}}</nowiki></code> produces:
 
{{Font colour|strange|Strange items}}
 
{{Font colour|strange|Strange items}}
  
<code><nowiki>{{Font colour|E52A6F|Goodbye Wiki!}}</nowiki></code> produces:
+
<code><nowiki>{{Font colour|red team|RED Team}}</nowiki></code> produces:
{{Font colour|E52A6F|Goodbye Wiki!}}
+
{{Font colour|red team|RED Team}}
 +
 
 +
<code><nowiki>{{Font colour|blu team|BLU Team}}</nowiki></code> produces:
 +
{{Font colour|blu team|BLU Team}}
 +
 
 +
<code><nowiki>{{Font colour|pink as hell|Pink as Hell}}</nowiki></code> produces:
 +
{{Font colour|pink as hell|Pink as Hell}}
 +
 
 +
<code><nowiki>{{Font colour|waterlogged lab coat red|Waterlogged Lab Coat (RED)}}</nowiki></code> produces:
 +
{{Font colour|waterlogged lab coat red|Waterlogged Lab Coat (RED)}}
 +
 
 +
<code><nowiki>{{Font colour|waterlogged lab coat blue|Waterlogged Lab Coat (BLU)}}</nowiki></code> produces:
 +
{{Font colour|waterlogged lab coat blue|Waterlogged Lab Coat (BLU)}}
  
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:27, 23 March 2025

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