Template:Infobox London station/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
remove example display; can't remember how to hide categories
Line 73: Line 73:


===Example===
===Example===
{{Infobox London station
| name = Barking
| alt_name =
| manager = [[c2c]]
| manager1 =
| manager2 =
| owner = [[Network Rail]]
| owner1 =
| owner2 =
| locale = [[Barking]]
| borough = [[London Borough of Barking and Dagenham]]
| platforms = 9
| fare_zone = 4
| fare_zone_1 =
| railcode = BKG
| railcode2 =
| tubecode =

| image_name = barkinglongview.jpg
| image_alt =
| caption = Station forecourt
| latitude = 51.5393
| longitude = 0.0817
| map_type =

| years1 = {{start date|1854}}
| years2 = 1902
| years3 = 1905
| years4 = 1908
| years5 =
| years6 =
| years7 =
| years8 =
| years9 =
| events1 = Opened by LT&SR
| events2 = District line started
| events3 = District withdrawn
| events4 = District line restarted
| events5 =
| events6 =
| events7 =
| events8 =
| events9 =

| railexits0203 =
| railexits0304 =
| railexits0405 = 5.121
| railexits0506 = 4.908
| railexits0607 = 3.763
| railexits0708 = 3.559

| railint0203 =
| railint0304 =
| railint0405 =
| railint0506 =
| railint0607 =
| railint0708 =

| tubeexits03 =
| tubeexits04 = 9.963
| tubeexits05 =
| tubeexits06 =
| tubeexits07 = 12.788
| tubeexits08 = 11.68
}}
<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox London station
{{Infobox London station
Line 208: Line 143:
Adding usage statistics will cause an automatically generated reference to appear.
Adding usage statistics will cause an automatically generated reference to appear.


Please make sure the article has a "References" section and {{tl|reflist}}.
Please make sure the article has a "References" section and {{tl|reflist}}.

Output examples:

{{reflist}}


===Data fields===
===Data fields===

Revision as of 09:37, 27 November 2009

This template is intended for any operating railway station in Greater London and those stations outside the boundary that operate Transport for London zonal pricing and/or Oyster card pay-as-you-go.

Blank syntax

{{Infobox London station
| name          =       
| alt_name      = 
| manager       =    
| manager1      =
| manager2      = 
| owner         =
| owner1        =
| owner2        =
| locale        = 
| borough       = 
| platforms     =
| fare_zone     = 
| fare_zone_1   = 
| railcode      =
| railcode2     =
| tubecode      =

| image_name    =  
| image_alt     =
| caption       =
| latitude      = 
| longitude     =
| map_type      =

| years1        =    
| years2        = 
| years3        = 
| years4        = 
| years5        = 
| years6        = 
| years7        = 
| years8        = 
| years9        = 
| events1       =
| events2       =
| events3       =
| events4       =
| events5       =
| events6       =
| events7       =
| events8       =
| events9       =

| railexits0203 =
| railexits0304 =
| railexits0405 = 
| railexits0506 =
| railexits0607 = 
| railexits0708 = 

| railint0203   =
| railint0304   =
| railint0405   =
| railint0506   =
| railint0607   =
| railint0708   =

| tubeexits03   =
| tubeexits04   =
| tubeexits05   =
| tubeexits06   =
| tubeexits07   =
| tubeexits08   =
}}

Example

{{Infobox London station
| name          = Barking     
| alt_name      = 
| manager       = [[c2c]]   
| manager1      =
| manager2      = 
| owner         = [[Network Rail]]
| owner1        =
| owner2        =
| locale        = [[Barking]]
| borough       = [[London Borough of Barking and Dagenham]]
| platforms     = 9
| fare_zone     = 4
| fare_zone_1   = 
| railcode      = BKG
| railcode2     =
| tubecode      =

| image_name    = barkinglongview.jpg
| image_alt     =
| caption       = Station forecourt
| latitude      = 51.5393
| longitude     = 0.0817
| map_type      =

| years1        = {{start date|1854}}
| years2        = 1902
| years3        = 1905
| years4        = 1908 
| years5        =
| years6        = 
| years7        = 
| years8        = 
| years9        = 
| events1       = Opened by LT&SR
| events2       = District line started
| events3       = District withdrawn
| events4       = District line restarted 
| events5       =
| events6       =
| events7       =
| events8       =
| events9       =

| railexits0203 =
| railexits0304 =
| railexits0405 = 5.121 
| railexits0506 = 4.908
| railexits0607 = 3.763
| railexits0708 = 3.559

| railint0203   =
| railint0304   =
| railint0405   =
| railint0506   =
| railint0607   =
| railint0708   =

| tubeexits03   =
| tubeexits04   = 9.963
| tubeexits05   =
| tubeexits06   =
| tubeexits07   = 12.788
| tubeexits08   = 11.68
}}

Adding usage statistics will cause an automatically generated reference to appear.

Please make sure the article has a "References" section and {{reflist}}.

Data fields

Data field Description
name Local name of station. Do not include disambiguation prefixes such as "London" or suffixes such as "(London)". e.g. "Victoria".
alt_name Alternative name of main terminal stations. e.g. "London Victoria".
manager
manager1
manager2
The operating companies that manages the station. The largest/busiest stations are Network Rail.
owner
owner1
owner2
The owner of the station where not obvious. Usually Network Rail or London Underground.
locale Station location
borough Local authority
platforms The number of operational platforms. Do include platforms only occasionally used. Do not include abandoned platforms.
fare_zone
fare_zone_1
TfL fare zone(s) used for Travelcards and other tickets.
railcode
railcode2
Use the National Rail station code only for stations served by NR trains. Second code is for stations with domestic/international split.
tubecode Used for where National Rail station codes exist for tube stations not served by NR trains.
image_name
image_alt
caption
Main image, caption and alt text (see WP:ALT).
latitude
longitude
map_type
Generates a map. Map type is only used for stations outside Greater London and is set to the local county.
years1 and events1
years2 and events2
years3 and events3
years4 and events4
years5 and events5
years6 and events6
years7 and events7
years8 and events8
years9 and events9
Key events in station history.
railexits0203
railexits0304
railexits0405
railexits0506
railexits0607
railexits0708
National Rail usage statistics.
railint0203
railint0304
railint0405
railint0506
railint0607
railint0708
National Rail interchange statistics.
tubeexits03
tubeexits04
tubeexits05
tubeexits06
tubeexits07
tubeexits08
London Underground usage statistics.

Sources

Microformat

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

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

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

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.