Difference between revisions of "Template:Infobox GB station/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(→‎Optional fields: these links are gone, per talk page discussion)
imported>ProcrastinatingReader
(merged)
 
Line 1: Line 1:
{{documentation subpage}}
+
#REDIRECT [[Template:Infobox station/doc]]
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Check for unknown parameters}}
 
__NOTOC__
 
===Scope===
 
{{Parameter names example | _template={{PAGENAMETDOC}}
 
|alt
 
|borough
 
|caption |code |coordinates
 
|dft_category
 
|events |events1 |events2 |events3 |events4 |events5 |events6 |events7 |events8 |events9 |events10 |events11
 
|gridref
 
|image |image_name |image_upright |int0203 |int0405 |int0506 |int0607 |int0708 |int0809 |int0910 |int1011 |int1112 |int1213 |int1314 |int1415 |int1516 |int1617 |int1718
 
|listing_amended |listing_detail |listing_entry |listing_grade |listing_reference |listing_start |locale |lowint0203 |lowint0405 |lowint0506 |lowint0607 |lowint0708 |lowint0809 |lowint0910 |lowint1011 |lowint1112 |lowint1213 |lowint1314 |lowint1415 |lowint1516 |lowint1617 |lowint1718 |lowusage0203 |lowusage0405 |lowusage0506 |lowusage0607 |lowusage0708 |lowusage0809 |lowusage0910 |lowusage1011 |lowusage1112 |lowusage1213 |lowusage1314 |lowusage1415 |lowusage1516 |lowusage1617 |lowusage1718
 
|manager
 
|name |noclear
 
|original |other_name |owner
 
|platforms |postgroup |pregroup |pte
 
|services |start |starting |style |style2 |symbol |symbol2
 
|usage0203 |usage0405 |usage0506 |usage0607 |usage0708 |usage0809 |usage0910 |usage1011 |usage1112 |usage1213 |usage1314 |usage1415 |usage1516 |usage1617 |usage1718
 
|years |years1 |years2 |years3 |years4 |years5 |years6 |years7 |years8 |years9 |years10 |years11
 
|zone    }}
 
  
This template is intended for currently-open stations within Great Britain but outside the [[Transport for London|London area]].
+
{{R from merge}}
 
 
*For stations in Ireland, use {{tl|Infobox station}}.
 
*For disused stations, use {{tl|Infobox UK disused station}}.
 
*For other cases, [[#See also|see below]].
 
 
 
===Data sources===
 
*Local authorities are listed here: [[List of English districts|England]], [[Subdivisions of Scotland|Scotland]], [[Subdivisions of Wales|Wales]] ([http://www.ons.gov.uk/ons/guide-method/geography/beginner-s-guide/administrative/england/counties--non-metropolitan-districts-and-unitary-authorities/map-of-all-uk-local-authorities.pdf PDF Map])
 
*Usage stats index and notes at [http://orr.gov.uk/statistics/published-stats/station-usage-estimates Office of Rail Regulation – Station usage estimates]
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0004/5989/station-usage-1997-98.xls Spreadsheet 1997/98] (also gives managing TOC)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0005/5990/station-usage-1998-99.xls Spreadsheet 1998/99] (also gives managing TOC)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0006/5991/station-usage-1999-00.xls Spreadsheet 1999/00] (also gives managing TOC)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0007/5992/station-usage-2000-01.xls Spreadsheet 2000/01] (also gives managing TOC)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0008/5993/station-usage-2001-02.xls Spreadsheet 2001/02] (also gives managing TOC)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0005/5981/stat_usage.xls Spreadsheet 2002/3] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0010/5986/station_usage_2004-05_excel.xls Spreadsheet 2004/5] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0011/5987/station_usage_2005-06.xls Spreadsheet 2005/6] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0009/5994/station-usage-2006-07.xls Spreadsheet 2006/7] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0006/5982/station_usage_0708.xls Spreadsheet 2007/8] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0007/5983/station_usage_0809.xls Spreadsheet 2008/9] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0008/5984/station_usage_0910.xls Spreadsheet 2009/10] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0009/5985/station_usage_1011.xls Spreadsheet 2010/11] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0003/5988/station_usage_estimates_1112.xls Spreadsheet 2011/12] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0003/10785/Station-Usage-2012-13_Final_xls.xls Spreadsheet 2012/13] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0018/15363/station-usage-2013-14-data.xls Spreadsheet 2013/14] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0019/20179/Estimates-of-Station-Usage-in-2014-15.xlsx Spreadsheet 2014/15] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0020/23357/estimates-of-station-usage-2015-16.xlsx Spreadsheet 2015/16] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0012/26130/estimates-of-station-usage-2016-17.xlsx Spreadsheet 2016/17] (also gives managing TOC and UK region)
 
*Usage stats: [http://orr.gov.uk/__data/assets/excel_doc/0007/39967/estimates-of-station-usage-2017-18.xlsx Spreadsheet 2017/18] (also gives managing TOC and UK region)
 
*Usage stats: [https://dataportal.orr.gov.uk/media/1667/estimates-of-station-usage-2018-19.xlsx Spreadsheet 2018/19] (also gives managing TOC and UK region)
 
*Station codes: [http://www.nationalrail.co.uk/stations_destinations/48541.aspx National Rail Enquiries - Station Codes]
 
 
 
===Syntax===
 
<pre>{{Infobox GB station                   
 
| name        = Crewe                 
 
| manager    = [[Virgin Trains]]     
 
| locale      = [[Crewe]]             
 
| borough    = [[Crewe and Nantwich]] 
 
| platforms  = 12                     
 
}}</pre>
 
*'''borough''' - this should be the lowest level of local government for the place where the station is situated.
 
**For England, refer to the [[Subdivisions of England#Hierarchical list of regions, counties and districts|hierarchical list of regions, counties and districts]], and use the entry in the rightmost column.
 
**For Scotland, use the relevant [[Council areas of Scotland|council area]]
 
**For Wales, use the relevant [[Principal areas of Wales|principal area]]
 
 
 
In each case, use a wikilink, piped where necessary in order to hide text like "Metropolitan Borough of ", " (district)", etc. Examples:
 
 
 
{{Flatlist|
 
* {{para|borough|<nowiki>[[Rutland]]</nowiki>}}
 
* {{para|borough|<nowiki>[[Bedford Borough|Bedford]]</nowiki>}}
 
* {{para|borough|<nowiki>[[Epping Forest District|Epping Forest]]</nowiki>}}
 
* {{para|borough|<nowiki>[[Highland (council area)|Highland]]</nowiki>}}
 
* {{para|borough|<nowiki>[[Bridgend County Borough|Bridgend]]</nowiki>}}
 
}}
 
====Optional fields====
 
<pre>
 
| image_name  = Crewe station platform12.jpg
 
</pre>
 
 
 
The longer dimension of the image is automatically set to 265px unless {{para|imagesize}} is specified. For a consistent appearance, {{para|imagesize}} should be omitted for upright images and also when the width/height ratio is less than 2.65:1. For images whose width/height ratio is between 2.65:1 and 3:1, set {{para|imagesize|x100px}}; for images whose width/height ratio exceeds 3:1, set {{para|imagesize|300px}}.
 
 
 
<pre>
 
| caption      = Crewe
 
| owner        = [[Network Rail]]
 
| code        = CRE
 
| symbol      = rail
 
| dft_category = B
 
</pre>
 
 
 
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.
 
 
 
<pre>
 
| 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
 
| 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
 
| 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
 
| int1415  = 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
 
| lowint1415= 5,250
 
 
 
</pre>
 
 
 
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'.
 
 
 
<nowiki>| coordinates = {{coord|53.089|N|2.437|W|display=inline,title}}</nowiki>
 
<nowiki>| gridref    = SJ710547</nowiki>
 
 
 
Note: Use the {{tl|coord}} template. 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 {{convert|111|m|ft}}, and four decimal places gives an accuracy of {{convert|11|m}}, so [[WP:OPCOORD|greater precision is unnecessary]] for something as large as a railway station. You should include the display= parameter to ensure the coordinates are shown correctly in the info box.
 
 
 
====Start dates====
 
One of:
 
 
 
<nowiki>| start    = 2001</nowiki>
 
<nowiki>| starting  = 2014</nowiki>
 
<nowiki>| years    = {{Start date|1861}}</nowiki> 
 
<nowiki>| events    = Opened</nowiki>
 
 
 
Note: use {{Para|start}} for stations already open, or {{Para|starting}} for stations not yet open. The word "Opened" or "Opening" (respectively) will be inserted automatically.
 
 
 
====Additional events====
 
<nowiki>| original  = [[Glasgow Central Railway]]</nowiki>
 
<nowiki>| pregroup  = [[Caledonian Railway]] </nowiki>
 
<nowiki>| postgroup = [[London Midland and Scottish Railway]] </nowiki>
 
<nowiki>| years1    = 5 May 1896 </nowiki>
 
<nowiki>| events1  = [[Lanarkshire and Dunbartonshire Railway|L&AR]] to Clydebank opened</nowiki>
 
<nowiki>| years2    = 10 August 1896</nowiki>
 
<nowiki>| events2  = [[Glasgow Central Railway|GCR]] services commenced through to Glasgow Central</nowiki>
 
<nowiki>| years3    = 3 August 1959</nowiki>
 
<nowiki>| events3  = Station closed to passengers</nowiki>
 
<nowiki>| years4    = 10 August 1964</nowiki>
 
<nowiki>| events4  = Line closed to all traffic</nowiki>
 
<nowiki>| years5    = 5 November 1979</nowiki>
 
<nowiki>| events5  = Re-opened as '''Finnieston'''</nowiki>
 
<nowiki>| years6    = 1986</nowiki>
 
<nowiki>| events6  = Renamed as '''Exhibition Centre'''</nowiki>
 
<nowiki>| years7    =                </nowiki>
 
<nowiki>| events7  =                </nowiki>
 
<nowiki>| years8    =                </nowiki>
 
<nowiki>| events8  =                </nowiki>
 
<nowiki>| years9    =                </nowiki>
 
<nowiki>| events9  =                </nowiki>
 
<nowiki>| years10  =                </nowiki>
 
<nowiki>| events10  =                </nowiki>
 
<nowiki>| years11  =                </nowiki>
 
<nowiki>| events11  =                </nowiki>
 
 
 
====Option fields for stations within a passenger transport executive area====
 
<nowiki>| pte        = [[West Midlands Passenger Transport Executive|West Midlands]]  </nowiki>
 
<nowiki>| zone        = 1  </nowiki>
 
Note: This template should not be used on stations within the [[Transport for London]] area; use {{tlx|Infobox London station}} instead.
 
 
 
====Option field for stations with Welsh/Gaelic/etc names====
 
<nowiki>| other_name  = {{lang-cy|Caerdydd Canolog}}</nowiki>
 
Use the relevant language link template for the language concerned. These include:
 
 
 
* {{tlx|lang-kw}} ([[Cornish language|Cornish]])
 
* {{tlx|lang-ga}} ([[Irish language|Irish]])
 
* {{tlx|lang-gv}} ([[Manx language|Manx]])
 
* {{tlx|lang-gd}} ([[Scottish Gaelic]])
 
* {{tlx|lang-cy}} ([[Welsh language|Welsh]])
 
 
 
===All parameters (blank template)===
 
<syntaxhighlight lang=moin>{{Infobox GB station
 
| name        =
 
| symbol      =
 
| symbol2      =
 
| manager      =
 
| locale      =
 
| coordinates  = {{coord|||||display=inline,title}}
 
| borough      =
 
| platforms    =
 
| image_name  =
 
| caption      =
 
| owner        =
 
| code        =
 
| dft_category =
 
| usage0203    =
 
| usage0405    =
 
| usage0506    =
 
| usage0607    =
 
| usage0708    =
 
| usage0809    =
 
| usage0910    =
 
| usage1011    =
 
| usage1112    =
 
| usage1213    =
 
| usage1314    =
 
| usage1415    =
 
| usage1516    =
 
| usage1617    =
 
| lowusage0203 =
 
| lowusage0405 =
 
| lowusage0506 =
 
| lowusage0607 =
 
| lowusage0708 =
 
| lowusage0809 =
 
| lowusage0910 =
 
| lowusage1011 =
 
| lowusage1112 =
 
| lowusage1213 =
 
| lowusage1314 =
 
| lowusage1415 =
 
| lowusage1516 =
 
| lowusage1617 =
 
| int0203      =
 
| int0405      =
 
| int0506      =
 
| int0607      =
 
| int0708      =
 
| int0809      =
 
| int0910      =
 
| int1011      =
 
| int1112      =
 
| int1213      =
 
| int1314      =
 
| int1415      =
 
| int1516      =
 
| int1617      =
 
| lowint0203  =
 
| lowint0405  =
 
| lowint0506  =
 
| lowint0607  =
 
| lowint0708  =
 
| lowint0809  =
 
| lowint0910  =
 
| lowint1011  =
 
| lowint1112  =
 
| lowint1213  =
 
| lowint1314  =
 
| lowint1415  =
 
| lowint1516  =
 
| lowint1617  =
 
| 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  =
 
| listing_grade    =
 
| listing_detail  =
 
| listing_start    =
 
| listing_amended  =
 
| listing_entry    =
 
| listing_reference=
 
}}</syntaxhighlight>
 
<!-- Undocumented: either obsolete, but possibly in development?
 
| image        =  - obsolete
 
| latitude    = use coordinates instead
 
| longitude    = use coordinates instead
 
| logo        =
 
| style        =
 
| style2      =
 
| noclear      =
 
| services    =  -->
 
 
 
*Use of one or more unrecognised parameters will place the page in {{clc|Pages using Infobox GB station with unknown parameters}}.
 
 
 
===Microformats===
 
{{UF-hcard-geo}}
 
 
 
===Tracking category===
 
* {{clc|Pages using Infobox GB station with unknown parameters}}
 
 
 
===See also===
 
*{{tlx|Infobox London station}}
 
*{{tlx|Infobox UK heritage station}}
 
*{{tlx|Infobox UK disused station}}
 
 
 
<!-- categories and interwiki links below this line -->
 
<includeonly>{{Sandbox other||
 
[[Category:Railway station infobox templates|GB]]
 
[[Category:United Kingdom rail transport infobox templates|GB station]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 

Latest revision as of 21:16, 13 November 2020

  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve this page's edit history after its content was merged into the target page's content. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.