Template:TL color/doc
This is a documentation subpage for Template:TL color. It contains usage information, categories and other content that is not part of the original template page. |
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, to refresh the colour samples.