Difference between revisions of "Template:BR colour/doc"
Jump to navigation
Jump to search
imported>Useddenim (Category) |
imported>Banztrakv |
||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | This template can be used to call the color of [[British | + | This template can be used to call the color of [[British Rail]]ways 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 <code> #{{BR Color|<i>region</i>}}</code> is used (where ''region'' is replaced by the region's abbreviation). Note that this template is not case sensitive: i.e. <code><nowiki>{{BR Color|ScR}}</nowiki></code> produces the same result as <code><nowiki>{{BR Color|scr}}</nowiki></code>. | In order to call a region's color, the code <code> #{{BR Color|<i>region</i>}}</code> is used (where ''region'' is replaced by the region's abbreviation). Note that this template is not case sensitive: i.e. <code><nowiki>{{BR Color|ScR}}</nowiki></code> produces the same result as <code><nowiki>{{BR Color|scr}}</nowiki></code>. | ||
| Line 10: | Line 10: | ||
| [[Eastern Region of British Railways]] | | [[Eastern Region of British Railways]] | ||
{{Color template doc|L|LM|LMR}} | {{Color template doc|L|LM|LMR}} | ||
| − | | [[London Midland Region | + | | [[London Midland Region of British Railways]] |
{{Color template doc|N|NE|NER}} | {{Color template doc|N|NE|NER}} | ||
| [[North Eastern Region of British Railways]] | | [[North Eastern Region of British Railways]] | ||
Revision as of 05:14, 6 June 2019
| This is a documentation subpage for Template:BR colour. It contains usage information, categories and other content that is not part of the original template page. |
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 |