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  Additional codes  





1.2  Optional parameters  





1.3  Categories  







2 See also  














Template:Railway-routemap






العربية
تۆرکجه

Bikol Central
فارسی
Føroyskt


Hrvatski
Bahasa Indonesia
Kurdî





Scots

Simple English
Tagalog
ி


اردو
Tiếng Vit

 

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 railway in {{{1}}}.

  • For pictograms used, see Commons:BSicon/Catalogue.
  • This is a universal template for all Route Diagram Templates (RDT). It adds the following text (without the surrounding box) to an RDT:

  • For pictograms used see Wikipedia Commons:BSicon/Catalogue.
  • It will also place the template in the appropriate category (generally Category:Templates for railway lines in countryorCategory:Templates for railway lines of country) if placed in the template namespace.

    Usage

    Country is specified by any valid ISO 3166-1 country code.

    Additional codes

    The template also recognizes these unofficial codes:

    Code Location
    AFR Africa
    AAor ASA Asia
    CTor CAT Catalonia
    EUor EUR Europe
    KO Korea
    NIL Northern Ireland‎
    UK United Kingdom‎

    Optional parameters

    When included, the second (optional) parameter should be the parent article of the diagram.

    {{Railway-routemap|UK|Stockton and Darlington Railway}}

    will change the first line of the template to:


    Including the optional named parameter |type= will change “a railway in Country” to “a alternate text in Country”. For example,

    {{Railway-routemap|FRA|type=high-speed rail line}}

    will change the first line of the template to:

    and,

    {{Railway-routemap|CAN|Yellow Line (Montreal Metro)|type=[[Rapid transit|subway]]}}

    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,

    {{Railway-routemap|NL|the=x|Centraal Station|type=[[railway terminal]]}}

    will change the first line of the template to:


    The optional named parameter |display= will replace the text of the article link. If display is set to either Iori the article link will automatically be italicized. This is useful for named train services. For example,

    {{Railway-routemap|US|Heartland Flyer|display=''Heartland Flyer''|type=[[Amtrak]] train service}} and
    {{Railway-routemap|US|Heartland Flyer|display=i|type=[[Amtrak]] train service}}

    will both change the first line of the template to:


    The optional named parameter |place= will change “a railway in Country” to “a railway in place, Country”. For example,

    {{Railway-routemap|IN|place=[[Bangalore]]}}

    will change the first line of the template to:

    Categories

    By default the template will be included in the appropriate category for that country. However, adding the parameter |cat=no will exclude the template from all categories. Note that this parameter is not case sensitive: i.e. |cat=NO produces the same result as |cat=no.

    Setting |cat=sor=stnor=station will also add the template to either Category:Station layout templates or the appropriate sub-category, and change the first line of the template to:

    Setting |cat=segor=segment will also add the template to Category:Route diagram template segments, and change the first line of the template to:


    For Australia (ISO 3166-1 country code AU or AUS), setting the category to one of the state abbreviations will include the template in the appropriate sub-category:

    |cat= State Category
    NorNT Northern Territory
    NSor NSW New South Wales Category:New South Wales route diagram templates‎
    Qor QLD Queensland Category:Queensland route diagram templates‎
    Vor VIC Victoria Category:Victoria (state) route diagram templates
    SA South Australia
    Tor TAS Tasmania
    WorWA Western Australia

    This parameter is also not case sensitive.


    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:Railway-routemap&oldid=1229039017"

    Category: 
    Rail routemap templates
    Hidden category: 
    Wikipedia extended-confirmed-protected templates
     



    This page was last edited on 14 June 2024, at 14:20 (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