Template:Infobox GB station

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Infobox GB station
Location
Place{{{locale}}}
Local authority{{{borough}}}
Operations
Managed by{{{manager}}}
Platforms in use{{{platforms}}}
National Rail - UK railway stations
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Template documentation[view] [edit] [history] [purge]

Scope[change source]

This template is intended for currently-open stations that are part of the National Rail network.

Data sources[change source]

Syntax[change source]

{{Infobox GB station                    
| name        = Crewe                   
| manager     = [[Virgin Trains]]       
| locale      = [[Crewe]]               
| borough     = [[Crewe and Nantwich]]  
| platforms   = 12                      
}}

Optional fields[change source]

| image       = [[Image:Crewe station platform12.jpg|265px]] | 
| image_name  = Crewe station platform12.jpg |

Note: only one of these image fields should be used. 'image' allows an image width to be specified, while 'image_name' automatically sets the width to 265px (preferred).

| caption     = Crewe                     
| owner       = [[Network Rail]]        
| code        = CRE                     
| usage0203   = 0.764           
| usage0405   = 0.764           
| usage0506   = 0.764           
| usage0607   = 0.764           
| years       = 1861                     
| events      = Opened                  
| latitude    = 53.089                  
| longitude   = -2.437                  
| gridref     = SJ710547                  

Note: latitude must be present if longitude is present, and vice versa, and they should have the same number of decimal places (trailing zeroes are significant)

Start dates[change source]

| start     = Opened 2001
| starting  = Opening 2010

Additional events[change source]

| original  = [[Glasgow Central Railway]]
| pregroup  = [[Caledonian Railway]] 
| postgroup = [[London Midland and Scottish Railway]] 
| years1    = 5 May 1896 
| events1   = [[Lanarkshire and Dunbartonshire Railway|L&AR]] to Clydebank opened
| years2    = 10 August 1896
| events2   = [[Glasgow Central Railway|GCR]] services commenced through to Glasgow Central
| years3    = 3 August 1959
| events3   = Station closed to passengers
| years4    = 10 August 1964
| events4   = Line closed to all traffic
| years5    = 5 November 1979
| events5   = Re-opened as '''Finnieston'''
| years6    = 1986
| events6   = Renamed as '''Exhibition Centre'''
| years7    =                
| events7   =                
| years8    =                
| events8   =                
| years9    =                
| events9   =                

If you enter a station code, the template will automatically link to National Rail Enquiries Live Departure Board

Option fields for stations within a passenger transport executive area[change source]

| pte         = [[West Midlands Passenger Transport Executive|West Midlands]]  
| zone        = 1   

Option fields for stations within the Transport for London area[change source]

| tfl         = [[Transport for London|London]]   
| zone        = 6   

Option field for stations with Welsh/Gaelic/etc names[change source]

| other_name  = <span lang="CY">Caerdydd Canolog</span>          

Microformats[change source]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[change source]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[change source]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.