This is a route-map template for a UK railway.
This template should be added to all Route Diagram Templates of United Kingdom railways.
It will automatically include the diagram in Category:Templates for railway lines of the United Kingdom.
Adding an optional parameter will include the railway name as a link, for example,
{{UK-railway-routemap|Stockton and Darlington Railway}}
will change the first line of the template to:
Adding an optinal second parameter will change the displayed text of the link, making it a piped link, for example,
>{{UK-railway-routemap|"Little" North Western Railway|North Western Railway}}
will change the first line of the template to:
The optional named parameter |type=
will change “a UK railway” to “a UK alternate text”. For example,
{{UK-railway-routemap|type=[[miniature railway]]}}
will change the first line of the template to:
and,
{{UK-railway-routemap|Ffestiniog Railway|type=[[narrow gauge]] railway}}
will change the first line of the template to:
The optional named parameter |the=
anything will omit the word ‘the’ before the linked page. For example,
{{UK-railway-routemap|the=x|Bristol Temple Meads|type=[[railway station]]}}
will change the first line of the template to:
The optional named parameter |place=
will change “a UK railway” to “a alternate text railway”. For example,
{{UK-railway-routemap|place=Isle of Wight}}
will change the first line of the template to:
and,
{{UK-railway-routemap|the=no|Tramlink|place=[[South London]]|type=[[light rail]] line}}
will change the first line of the template to:
By default the template will be included in Category:Templates for railway lines of the United Kingdom. However, adding the parameter |cat=
provides a shortcut for other categories:
|cat= |
Category | Text |
---|---|---|
no | none | … a UK railway. |
L or LON or London | Category:Templates for railway lines of London | … a London-area railway. |
N or NI | Category:Templates for railway lines of Northern Ireland | … a Northern Ireland railway. |
S or Scotland | Category:Templates for railway lines of Scotland | … a Scottish railway line and/or company. |
W or Wales | Category:Templates for railway lines of Wales | … a Welsh railway line and/or company. |
T or TfL | Category:Templates for Transport for London | … a Transport for London service or facility. |
B or bus | Category:Templates for bus routes of the United Kingdom | … a (place) bus route or line. |
STN or station | Category:United Kingdom station layout templates* | … a (place) railway station. |
* in addition to Category:Templates for railway lines of the United Kingdom
Note that this parameter is not case sensitive: i.e. |cat=NO
produces the same result as |cat=no
.
The optional named parameter |catidx=
will add a sort key to the category.
© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search