模板:Infobox GB station

维基百科,自由的百科全书
Infobox GB station
英国全国铁路英国铁路车站
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]



Scope

This template is intended for currently-open stations within Great Britain but outside the London area.

Data sources

Syntax

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

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:

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更名或删除。

当指定经纬度数值时,请避免太过详细。

See also