Difference between revisions of "Template:BR colour"
Jump to navigation
Jump to search
imported>Useddenim (→NEW) |
imported>Useddenim (added alternates) |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
| e|er = 0505c2 | | e|er = 0505c2 | ||
| − | | lm| | + | | l|lm|lmr = ba0003 |
| − | | ne| | + | | n|ne|ner = ff9900 |
| − | | sc = 0099ff | + | | sc|scr = 0099ff |
| s|sr = 10971e | | s|sr = 10971e | ||
| w|wr = 783c1c | | w|wr = 783c1c | ||
Latest revision as of 21:52, 18 October 2015
This template can be used to call the color of British Railways regions, in line with the templates used for other railways in the British Isles. The following are included in this template.
In order to call a region's color, the code #{{BR Color|region}} is used (where region is replaced by the region's abbreviation). Note that this template is not case sensitive: i.e. {{BR Color|ScR}} produces the same result as {{BR Color|scr}}.
{{BR colour|E}} or …|ER}}
|
Sample: | 0505c2
|
Eastern Region of British Railways | |
{{BR colour|L}} or …|LM}} or …|LMR}}
|
Sample: | ba0003
|
London Midland Region of British Railways | |
{{BR colour|N}} or …|NE}} or …|NER}}
|
Sample: | ff9900
|
North Eastern Region of British Railways | |
{{BR colour|Sc}} or …|ScR}}
|
Sample: | 0099ff
|
Scottish Region of British Railways | |
{{BR colour|S}} or …|SR}}
|
Sample: | 10971e
|
Southern Region of British Railways | |
{{BR colour|W}} or …|WR}}
|
Sample: | 783c1c
|
Western Region of British Railways |
| The above documentation is transcluded from Template:BR colour/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. |