Template:Infobox UK disused station
| Infobox UK disused station | |
|---|---|
| Location | |
| Operations | |
| History | |
| Disused railway stations in the United Kingdom | |
| Closed railway stations in Britain A B C D–F G H–J K–L M–O P–R S T–V W–Z |
| This template uses Lua: |
Usage[edit]
{{Infobox UK disused station
| name =
| logo =
| locale =
| borough =
| image_name =
| imagesize =
| image_upright =
| alt =
| caption =
| original =
| pregroup =
| postgroup =
| platforms =
| coordinates = <!-- {{coord|lat|lon|display=inline,title}} -->
| gridref =
| years = {{Start date|YYYY|MM|DD|df=yes}}
| events =
| 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 =
| other_name =
| listing_grade =
| listing_detail =
| listing_start =
| listing_amended =
| listing_entry =
| listing_reference =
}}
Optional fields[edit]
When an operational station is closed, the usage figures will come across to this template via these fields. In general they will have already been added as part of the {{Infobox GB station}}
| usage0203 = 0.764 | usage0405 = 0.764 | usage0506 = 0.764 | usage0607 = 0.764 | usage0708 = 0.764 | usage0809 = 0.764 | usage0910 = 0.764 | usage1011 = 0.764 | usage1112 = 0.764 | usage1213 = 0.764 | usage1314 = 0.764 | usage1415 = 0.764 | usage1516 = 0.764 | usage1617 = 0.764 | usage1718 = 0.764 | lowusage0203= 5,250 | lowusage0405= 5,250 | lowusage0506= 5,250 | lowusage0607= 5,250 | lowusage0708= 5,250 | lowusage0809= 5,250 | lowusage0910= 5,250 | lowusage1011= 5,250 | lowusage1112= 5,250 | lowusage1213= 5,250 | lowusage1314= 5,250 | lowusage1415= 5,250 | lowusage1516= 5,250 | lowusage1617= 5,250 | lowusage1718= 5,250
Note: either the 'usage' or the 'lowusage' fields may be used, but not both sets. For 'usage', figures should be expressed in millions, whilst for 'lowusage', figures should be in units.
Alternative forms[edit]
| image = | image_size = | line = | manager = | owner = | start = | end =
- The
|image=parameter allows the full image syntax to be used.|image=[[File:Example.jpg|265px]]is exactly equivalent to|image_name=Example.jpg - The
|manager=and|owner=parameters are equivalent to|pregroup=and|postgroup=respectively. - Note that if both alternative and equivalent are given, both will be displayed.
- Previously,
|line=was similarly treated as equivalent to|original=, but it now displays as Line. As a temporary measure, the use of|line=will place the article in hidden Category:Unusual parameters of Infobox station template so that they can be evaluated whether|original=was intended.
Example[edit]
{{Infobox UK disused station
| name = [[Uplawmoor]]
| locale = [[Uplawmoor]]
| borough = [[Renfrewshire]]
| image_name = Uplawmoorstation11.JPG
| caption = Uplawmoor station site in 2007
| original = [[Lanarkshire and Ayrshire Railway]]
| pregroup = [[Caledonian Railway]]
| postgroup = [[London Midland and Scottish Railway]]
| platforms = 2
| coordinates =
| gridref =
| image = [[Image:Uplawmoorstation11.JPG|265px]]
| line = [[Lanarkshire and Ayrshire Railway]]
| manager = [[Caledonian Railway]]
| owner = [[London Midland and Scottish Railway]]
}}
- borough - this should be the lowest level of local government for the place where the station was situated, and should be the modern local authority, not a historic area.
- For England, refer to the hierarchical list of regions, counties and districts, and use the entry in the rightmost column.
- For Scotland, use the relevant council area
- For Wales, use the relevant principal area
- In each case, use a wikilink, piped where necessary in order to hide text like "Metropolitan Borough of ", " (district)", etc. Examples:
|borough=[[Rutland]];|borough=[[Bedford Borough|Bedford]];|borough=[[Epping Forest District|Epping Forest]];|borough=[[Highland (council area)|Highland]];|borough=[[Bridgend County Borough|Bridgend]]
When displaying an image either 'image' or 'image_name' should be used, not both. The 'image' field allows an image width to be specified, while 'image_name' automatically sets the width to 265px (preferred).
When identifying the original company and pre-grouping company 'original' and ' pregroup' should be used. In the event that the station is reopened (for example - Alloa railway station, it will not conflict with the infobox for open stations. The 'line' and ' manager' fields refer to the initial setup of the template and should be avoided to prevent this possible conflict.
The 'original' field refers to the company that originally founded the station if different from the 'manager' field.
The 'pregroup' field refers to the historical railway company that owned and/or maintained the station prior to the 1923 grouping.
The 'postgroup' field refers to the Big Four company that took over after the 1923 grouping.
Note: when using the {{coord}} template in the |coordinates= parameter, the latitude and longitude should have the same number of decimal places (including trailing zeroes). Four decimal places are recommended for disused stations as, in a lot of cases, a former station site may be difficult to locate.
By default, coordinates are displayed in the infobox only, this is useful where an article has more than one infobox. To show coordinates both in the infobox and at upper right, add |display=inline,title to the Coord template.
Legacy fields[edit]
- The 'line' field refers to the company that originally founded the station if different from the 'manager' field.
- The 'manager' field refers to the historical railway company that owned and/or maintained the station prior to the 1923 grouping.
- The 'owner' field refers to the Big Four company that took over after the 1923 grouping.
Additional events[edit]
| years = 1 May 1903 | events = Opened | years1 = 1 January 1917 | events1 = Closed | years2 = 1 February 1919 | events2 = Reopened | years3 = | events3 = | years4 = 2 April 1962 | events4 = Closed to regular services | years5 = | events5 = | years6 = | events6 = | years7 = | events7 = | years8 = | events8 = | years9 = | events9 = | years10 = | events10 = | years11 = | events11 = | years12 = | events12 = | years13 = | events13 = | years14 = | events14 = | years15 = | events15 =
Microformats[edit]
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 Wikis, 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[edit]
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[edit]
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[edit]
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.
Tracking categories[edit]
- Category:Unusual parameters of Infobox station template (0)
- Use of one or more unrecognised parameters will place the page in Category:Pages using Infobox UK disused station with unknown parameters (0).
See also[edit]
| The above documentation is transcluded from Template:Infobox UK disused station/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |