Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Categories  







2 See also  














Template:UK-railway-routemap







Cymraeg
فارسی
Bahasa Indonesia
Bahasa Melayu
Scots
Simple English
 

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This is a route-map template for a UK railway.

  • For pictograms used, see Commons:BSicon/Catalogue.
  • 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:


    Categories

    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.
    Lor LON or London Category:Templates for railway lines of London … a London-area railway.
    NorNI Category:Templates for railway lines of Northern Ireland … a Northern Ireland railway.
    Sor Scotland Category:Templates for railway lines of Scotland … a Scottish railway line and/or company.
    Wor Wales Category:Templates for railway lines of Wales … a Welsh railway line and/or company.
    Tor TfL Category:Templates for Transport for London … a Transport for London service or facility.
    Bor 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.

    See also

    General
    Specific

    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:UK-railway-routemap&oldid=1197966304"

    Category: 
    Templates for railway lines of the United Kingdom
    Hidden category: 
    Wikipedia semi-protected templates
     



    This page was last edited on 22 January 2024, at 16:31 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki