Template:Infobox closed London station

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

Usage[change source]

{{Infobox closed London station
|name           = 
|image          = 
|image_name     = 
|imagesize      = 
|image_alt      = 
|caption        = 
|latitude       = 
|longitude      = 
|map_type       = 
|label_position = 
|coord_region   = 
|gridref        = 
|owner          = 
|planner        = 
|locale         = 
|borough        = 
|coordinates    = 
|platforms      = 
|start          = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|end            = 
|replace        = 
|railstation    = 
|original       = 
|pregroup       = 
|postgroup      = 
|years1         = 
|events1        = 
|years2         = 
|events2        = 
|years3         = 
|events3        = 
|years4         = 
|events4        = 
|years5         = 
|events5        = 
|years6         = 
|events6        = 
|years7         = 
|events7        = 
|years8         = 
|events8        = 
|years9         = 
|events9        = 
|years10        = 
|events10       = 
|years11        = 
|events11       = 
|years12        = 
|events12       = 
|years13        = 
|events13       = 
|years14        = 
|events14       = 
|years15        = 
|events15       = 

Parameters[change source]

Data field Description
start date station was opened; use {{Start date}}
end only appears if start has been used
replace if station did not open leave out
image use the full image syntax, but for consistency between articles, do not specify type, location, alignment, or caption. E.g.
|image=[[File:Example.jpg|240px|alt=A railway station with two platforms. There is a train at the left-hand platform]]
these provide an alternative method of specifying the image. If |imagesize= is omitted, the default is 240px. The |image_alt= parameter is used for alternative image text. E.g.
|image_alt=A railway station with two platforms. There is a train at the left-hand platform
caption caption for the image, used whether |image= or |image_name= is specified.
Generates a map. Default is Greater London. Outside London it can be set to the local county.
For latitudes between 51.4866 and 51.5369 with longitudes between -0.1994 and -0.0686 set |map_type=Central London for larger-scale map.
Label position can be altered using |label_position= where needed, valid values are bottom, left, right, top; default is bottom.
When giving coordinates, please don't be overly precise.
The {{decdeg}} template may be used to convert coordinates in degree/minute/second format into decimal degrees.
coord_region When |latitude= and |longitude= are provided, a link to mapping services is generated upper right. By default this link has region:GB; use |coord_region= to alter that. Codes should comply with ISO 3166-2:GB, e.g. use |coord_region=GB-BNE for the London Borough of Barnet.
gridref OS grid reference.
railstation=yes Only needed for stations with national rail services. Forces the UK Railways Portal link to appear
Railway companies that originally opened the station, owning company at the time of 1923 Grouping, and successor company after the 1923 Grouping
years1 events1
years2 events2
years3 events3
years15 events15
Key events in station history. Up to 15 pairs may be used.

All parameters are optional.

For stations such as Brockley Hill which never opened some of these parameters should be left blank.

Owner should be shown as the company that originally opened the station or, if it never opened, it should be "Never Opened" and the planner parameter should show the name of the company that planned to open it.

Example[change source]

Aldwych tube station.jpg
Entrance to Aldwych (formerly Strand) station
Aldwych is located in Central London
Location of Aldwych in Central London
Place Aldwych
Local authority City of Westminster
Opened by Great Northern, Piccadilly & Brompton Railway
Platforms 2
Key dates Opened 1907 (1907)
Closed 1940
Reopened 1946
Closed 1994
Replaced by none
Coordinates: 51°30′44″N 0°06′57″W / 51.5123°N 0.1158°W / 51.5123; -0.1158
{{Infobox closed London station
|name           = Aldwych
|image_name     = Aldwych tube station.jpg
|imagesize      = x240px
|caption        = Entrance to Aldwych (formerly Strand) station
|latitude       = 51.5123
|longitude      = -0.1158
|map_type       = Central London
|label_position = top
|coord_region   = GB-LND<!-- City of London -->
|owner          = [[Piccadilly Line|Great Northern, Piccadilly & Brompton Railway]]
|planner        =
|locale         = [[Aldwych]]
|borough        = [[City of Westminster]]
|platforms      = 2
|start          = {{Start date|1907}}<br>Closed 1940<br>Reopened 1946
|end            = 1994
|replace        = none
|railstation    = 

Coordinates[change source]

Use {{coord}} with region:GB_type:railwaystation|display=inline,title

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.

TemplateData[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox closed London station

See also[change source]