Jump to content

ထႅမ်းပလဵတ်ႉ:UK-railway-routemap/doc

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

လွင်ႈၸႂ်ႉတိုဝ်း

[မႄးထတ်းငဝ်ႈငႃႇ]

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: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.

ထႅမ်းပလဵတ်ႉ:RyrmSeeAlso