Template:Infobox GB station/doc

< Template:Infobox GB station


Scope

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

Data sources

Syntax

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

Optional fields

| 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

| start     = Opened 2001
| starting  = Opening 2010

Additional events

| 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

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

Option fields for stations within the Transport for London area

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

Option field for stations with Welsh/Gaelic/etc names

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

Microformats

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

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

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

Please do not remove instances of these sub-templates.

Classes

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

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