Template:TL color
Appearance
FF5AA4
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
[edit]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, to refresh the colour samples.