模板:Infobox GB station
Infobox GB station | |
---|---|
英国全国铁路 – 英国铁路车站 |
本模板是为兼容已停用模板而建立的、以 {{Infobox station}} 为基础的定制信息框。由于本模板现已停用,新建条目时请尽量使用 {{Infobox station}} 。 |
本模板含有复杂而精密的扩展语法。 编辑本模板前,建议您先熟悉解析器函数与本模板的设计思路、运作原理等。若您的编辑引发了意外的问题,请尽快撤销编辑,因为本模板可能被大量页面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行测试。 |
本模板有内容译自英语维基百科页面“Infobox GB station”(原作者列于其历史记录页)。 |
Scope
This template is intended for currently-open stations within Great Britain but outside the London area.
- For stations in Ireland, use {{Infobox station}}.
- For disused stations, use {{Infobox UK disused station}}.
- For other cases, see below.
Data sources
- Local authorities are listed here: England, Scotland, Wales (PDF Map)
- Usage stats index and notes at Office of Rail Regulation – Station usage estimates
- Usage stats: Spreadsheet 1997/98 (also gives managing TOC)
- Usage stats: Spreadsheet 1998/99 (also gives managing TOC)
- Usage stats: Spreadsheet 1999/00 (also gives managing TOC)
- Usage stats: Spreadsheet 2000/01 (also gives managing TOC)
- Usage stats: Spreadsheet 2001/02 (also gives managing TOC)
- Usage stats: Spreadsheet 2002/3 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2004/5 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2005/6 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2006/7 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2007/8 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2008/9 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2009/10 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2010/11 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2011/12 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2012/13 (also gives managing TOC and UK region)
- Usage stats: Spreadsheet 2013/14 (also gives managing TOC and UK region)
- Station codes: National Rail Enquiries - Station Codes
Syntax
{{Infobox GB station | name = Crewe | manager = [[Virgin Trains]] | locale = [[Crewe]] | borough = [[Crewe and Nantwich]] | platforms = 12 }}
- borough - this should be the lowest level of local government for the place where the station is situated.
- 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]]
Optional fields
| image_name = Crewe station platform12.jpg | imagesize = 265px
The width is automatically set to 265px unless 'imagesize' is specified. For a consistent appearance, |imagesize=
should be omitted when the width/height ratio is between 1:1 and 2.65:1. For images whose width/height ratio is between 2.65:1 and 3:1, set |imagesize=x100px
; for images whose width/height ratio exceeds 3:1, set |imagesize=300px
; and for upright images (width/height ratio less than 1:1), set |imagesize=x265px
.
| caption = Crewe | owner = [[Network Rail]] | code = CRE | symbol = rail | dft_category = B
Note: if you enter a station code, the template will automatically link to National Rail Enquiries Live Departure Board. The symbol parameter is for use by Operation SS to add a symbol to each article.
If 'dft_category' is specified and is a valid category, then the appropriate subcategory of Category:Railway stations by Department for Transport category will be automatically set.
| 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 | 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 | int0203 = 0.764 | int0405 = 0.764 | int0506 = 0.764 | int0607 = 0.764 | int0708 = 0.764 | int0809 = 0.764 | int0910 = 0.764 | int1011 = 0.764 | int1112 = 0.764 | int1213 = 0.764 | int1314 = 0.764 | lowint0203= 5,250 | lowint0405= 5,250 | lowint0506= 5,250 | lowint0607= 5,250 | lowint0708= 5,250 | lowint0809= 5,250 | lowint0910= 5,250 | lowint1011= 5,250 | lowint1112= 5,250 | lowint1213= 5,250 | lowint1314= 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. These rules also apply to 'int' and 'lowint'.
| 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). Three decimal places gives an accuracy of 111米(364英尺), and four decimal places gives an accuracy of 11米(36英尺), so greater precision is unnecessary for something as large as a railway station.
Start dates
One of:
| start = 2001 | starting = 2014 | years = {{Start date|1861}} | events = Opened
Note: use |start=
for stations already open, or |starting=
for stations not yet open. The word "Opened" or "Opening" (respectively) will be inserted automatically.
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 = | years10 = | events10 = | years11 = | events11 =
Option fields for stations within a passenger transport executive area
| pte = [[West Midlands Passenger Transport Executive|West Midlands]] | zone = 1
Note: This template should not be used on stations within the Transport for London area; use {{Infobox London station}}
instead.
Option field for stations with Welsh/Gaelic/etc names
| other_name = {{lang-cy|Caerdydd Canolog}}
Use the relevant language link template for the language concerned. These include:
{{lang-kw}}
(Cornish){{lang-ga}}
(Irish){{lang-gv}}
(Manx){{lang-gd}}
(Scottish Gaelic){{lang-cy}}
(Welsh)
All parameters (blank template)
{{Infobox GB station | name = | symbol = | symbol2 = | manager = | locale = | borough = | platforms = | image_name = | imagesize = | caption = | owner = | code = | dft_category = | usage0203 = | usage0405 = | usage0506 = | usage0607 = | usage0708 = | usage0809 = | usage0910 = | usage1011 = | usage1112 = | usage1213 = | lowusage0203 = | lowusage0405 = | lowusage0506 = | lowusage0607 = | lowusage0708 = | lowusage0809 = | lowusage0910 = | lowusage1011 = | lowusage1112 = | lowusage1213 = | int0203 = | int0405 = | int0506 = | int0607 = | int0708 = | int0809 = | int0910 = | int1011 = | int1112 = | int1213 = | lowint0203 = | lowint0405 = | lowint0506 = | lowint0607 = | lowint0708 = | lowint0809 = | lowint0910 = | lowint1011 = | lowint1112 = | lowint1213 = | latitude = | longitude = | gridref = | start = | starting = | original = | pregroup = | postgroup = | years = | events = | years1 = | events1 = | years2 = | events2 = | years3 = | events3 = | years4 = | events4 = | years5 = | events5 = | years6 = | events6 = | years7 = | events7 = | years8 = | events8 = | years9 = | events9 = | years10 = | events10 = | years11 = | events11 = | pte = | zone = | other_name = }}
Microformats
本模板产生的HTML记号包含了HCard 微格式,能够让电脑解析地点名称和位置,具有可自动将文章分类至适当类别的功能。在HCard中有Geo微格式,能让电脑分析经纬度资料,因此可在地图上查询,或下载至全球定位系统(GPS)装置。关于微格式的更多使用资讯,请参阅维基百科的微格式专题。
hCard 使用以下的 HTML class:
adr
county-name
fn
label
locality
nickname
note
org
vcard
Geo由{{coord}}产生,并使用以下的HTML class:
geo
latitude
longtitude
请勿将这些class更名或删除。
当指定经纬度数值时,请避免太过详细。