Template:Infobox UK station

From Wikipedia, the free encyclopedia

{{{name}}}
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  

Portal:Infobox UK station
UK Railways Portal
[edit] Template documentation

[edit] Data sources

[edit] Syntax

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

[edit] 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 |           
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)

[edit] Start dates

start     = Opened 2001
starting  = Opening 2010

[edit] Additional events

original  = [[Glasgow Central Railway]]
pregroup  = [[Caledonian Railway]]  
events1   = [[Lanarkshire and Dunbartonshire Railway|L&AR]] to Clydebank opened
years2    = [[10 August]] [[1896]]
events2   = [[Glasgow Central Railway|GCR]] services commenced through to Glassgow 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

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

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

[edit] Option fields for stations within the Transport for london area

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

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

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

[edit] Microformats

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

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

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.