Template:TL color
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
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.
The above documentation is transcluded from Template:TL color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |