Template:TL color

FF5AA4

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is used to call the colour of Govia Thameslink Railway Thameslink lines.

The "background" option is provided for use behind black text in infoboxes, etc, and is compliant with MOS:CONTRAST requirements for colour difference (576) and contrast ratio (9.47:1) at both small and large font sizes. Call this colour with the code #{{TL colour|background}}.

Usage

In order to call a line's colour, the code #{{TL color|name}} is used (where name is replaced by the actual route name). Note that this template is not case sensitive: i.e. {{TL color|Luton}} produces the same result as {{TL color|luton}}.

{{TL color|Bedford}} or …|B}} Sample:   ff5aa4
{{TL color|Luton}} or …|L}} Sample:   ff5aa4
{{TL color|#default}} Sample:   ff5aa4
{{TL color|background}} Sample:   f88cbc
  • When adding a new colour to the template, be sure to add a corresponding row to the sample box above.
  • After saving an amendment, purge this page to refresh the colour samples.