Permanently protected template

Template:Infobox station

From Wikipedia, the free encyclopedia
  (Redirected from Template:Infobox NS-station)
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template may be used for rail, tram, bus and intermodal transport stations.

Usage

Copy and paste the template below:

{{Infobox station
| name                = 
| native_name         = 
| native_name_lang    = 
| cta_header          = 
| symbol              = 
| symbol2             = 
| symbol_location     = 
| symbol_location2    = 
| type                = 
| style               = 
| style2              = 
| image               = 
| image_size          = 
| image_caption       = 
| alt                 = 
| hangul              = 
| hanja               = 
| rr                  = 
| mr                  = 
| other_name          = 
| address             = 
| borough             = 
| country             = 
| iso_region          = 
| coordinates_display = 
| coordinates_format  = 
| latitude            = 
| longitude           = 
| latd                = 
| latm                = 
| lats                = 
| latNS               = 
| longd               = 
| longm               = 
| longs               = 
| longEW              = 
| coordinates         = <!-- {{Coord|LAT|LON|type:railwaystation_region:XX|display=inline,title}}-->
| elevation           = 
| line                = 
| connections         = 
| distance            = 
| structure           = 
| platform            = 
| depth               = 
| levels              = 
| tracks              = 
| gates               = 
| bus_stands          = 
| bus_operators       = 
| routes              = 
| parking             = 
| bicycle             = 
| travelcentre        = 
| baggage_check       = 
| disabled            = 
| facilities          = 
| original            = 
| pregroup            = 
| postgroup           = 
| prenational         = 
| start               = 
| end                 = 
| starting            = 
| ending              = 
| years               = 
| events              = 
| years1              = 
| events1             = 
| years2              = 
| events2             = 
| years3              = 
| events3             = 
| years4              = 
| events4             = 
| years5              = 
| events5             = 
| years6              = 
| events6             = 
| years7              = 
| events7             = 
| years8              = 
| events8             = 
| years9              = 
| events9             = 
| years10             = 
| events10            = 
| years11             = 
| events11            = 
| opened              = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| closed              = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| rebuilt             = 
| architect           = 
| electrified         = 
| ADA                 = 
| code                = 
| iata                = 
| owned               = 
| operator            = 
| local_authority     = 
| zone                = 
| smartcardname       = 
| smartcardstatus     = 
| former              = 
| passengers          = 
| pass_year           = 
| pass_percent        = 
| pass_system         = 
| mpassengers         = 
| usage2002_2003      = 
| lowusage2002_2003   = 
| usage2003_2004      = 
| lowusage2003_2004   = 
| usage2004_2005      = 
| lowusage2004_2005   = 
| usage2005_2006      = 
| lowusage2005_2006   = 
| usage2006_2007      = 
| lowusage2006_2007   = 
| usage2007_2008      = 
| lowusage2007_2008   = 
| usage2008_2009      = 
| lowusage2008_2009   = 
| usage2009_2010      = 
| lowusage2009_2010   = 
| usage2010_2011      = 
| lowusage2010_2011   = 
| usage2011_2012      = 
| lowusage2011_2012   = 
| usage2012_2013      = 
| lowusage2012_2013   = 
| usage2013_2014      = 
| lowusage2013_2014   = 
| services            = 
| map_locator         = 
| route_map           = 
| map_state           = 
}}

Parameters

Descriptions

Name

  • name — name
  • native_name — name in local language. If more than one, separate using {{Plain list}}
  • native_name_lang — ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
  • other_name — current alternative name(s)
  • cta_header — custom header

Korean name

Station symbols

  • symbol — Symbol reference of the primary operator or network; second parameter of {{Rail interchange}}. If there are more than two parameters for the symbol needed, use {{!}}
  • symbol_location — The code of location of the station; first parameter of {{Rail interchange}}
  • symbol2 — Symbol reference of a secondary operator or network; second parameter of {{Rail interchange}}. If there are more than two parameters for the symbol needed, use {{!}}
  • symbol_location2 — The code of location of the station; first parameter of {{Rail interchange}}. Not needed if identical to symbol_location

Station statistics

  • type – Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
  • style – Refers to an external 'style' template (see external style template for details). Leave blank if you do not have this.
  • image – Image of the station
  • image_size – Size in pixels of the image of the station
  • image_caption – Caption to be placed under the image of the station
  • address – Street address of the station
  • borough — Borough, county, district or province of the station
  • latd, latm, lats, latNS, longd, longm, longEW – Geographic coordinates of station (see map and coordinates for details)
  • coordinates – Geographical coordinates of the station using {{coord}} directly
  • elevation – MSL elevation
  • line – List of services that serve the station. Use {{Plainlist}}
  • train_operators — List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}
  • connections – Connecting services that serve the station such as bus, etc
  • distance – The distance from a set point on the line, to this station
  • structure – Type of station structure (underground, at-grade, or elevated)
  • platform – Information on the type of platform(s) at the station
  • depth – The depth of the primary platform below ground level
  • levels – Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included)
  • tracks – Number of tracks at the station
  • gates — Type (or presence) of ticket barriers/ gates
  • bus_stands — number of bus stands at the station
  • bus_operators — bus operators serving the station
  • routes — number of bus routes serving the station
  • parking – Information on station's parking facilities
  • bicycle – Information on station's bicycle facilities
  • travelcentre — Whether there is a travel advice centre
  • baggage_check – Whether bags can be checked
  • disabled — What special facilities does the station have for people with disabiities
  • facilities — generic facilities parameter; use more specific parameters where possible

Other information

  • opened – Date station originally opened
  • closed – Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only)
  • architect — Architect of the station
  • rebuilt – Date station last received a rebuild
  • electrified – Date station was electrified, if not previously at date of opening
  • ADA – If any text is placed here a universal symbol for accessibility will appear
  • code – Agency station code (used on tickets/reservations, etc.)
  • iata — IATA airport code
  • owned – Station owner name
  • operator – Station operator name
  • local_authority — Local authority or council covering the station
  • pte — Passenger transport executive overseeing the station
  • zone – Fare zone station is located in
  • smartcardname – name of any smartcard(s) that are or will be available at the station
  • smartcardstatus – "Yes" if smart card is available, or a date (or other information) if available in the future (see Union (TTC) for an example)
  • former – Previous station name(s)

History

  • start — Opening date of a station already open
  • starting — Opening date of a station not yet open
  • end — Closing date of a station already closed
  • ending — Closing date of a station still open
  • years — Date or year of an event (Continue with yearsn from 1 to 11)
  • events — Event that occurred on that date (Continue with eventsn from 1 to 11)

Traffic

  • passengers – Number of passengers using the station. In the reference, please make it clear if this figure is per day, per year, etc.
  • pass_year – Year passenger information was gathered
  • pass_percent – Percentage increase or decrease in usage
  • pass_system – System the passengers are using
  • mpassengers – Allows display of multiple passenger totals using {{rail pass box}}
Annual traffic figures

If available, these should be used instead of the above parameters. Currently time periods from 2002-2003 to 2013-2014 are available.

  • usageyear_year+1 — Usage figures in millions, where year_year+1 are two consecutive years. Cannot be used if there is already a figure for that time period in units
  • lowusageyear_year+1 — Usage figures in units, where year_year+1 are two consecutive years. Cannot be used if there is already a figure for that time period in millions
  • intyear_year+1 — Interchange figures in millions, where year_year+1 are two consecutive years. Cannot be used if there is already a figure for that time period in units
  • lowintyear_year+1 — Interchange figures in units, where year_year+1 are two consecutive years. Cannot be used if there is already a figure for that time period in millions

Services

Location

  • map_type, map_alt, map_overlay, map_caption — Allows inclusion of an image of the station location on a map (see map and coordinates for details)
  • map_locator – Allows inclusion of an image of the station location on a map, using {{Location map}} or another method directly
  • route_map – Allows inclusion of route map diagram
  • map_state – Determines route map state

Map and coordinates

It is usually not necessary to use the coordinates= parameter, or the optional map_locator= parameter.

  • The latitude and longitude of the station may be specified:
    • in decimal degrees, using latitude= and longitude= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To display coordinates at the top of the page, use coordinates_display=yes. Otherwise coordinates will appear in the infobox only.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the country= parameter.
    • To override the automatic value, use the iso_region= parameter.

One advantage of omitting the coordinates= and the map_locator= parameters is that you can display a {{Location map}} without duplicating coordinates.

{{Infobox station
...
| coordinates_display = <!-- non-blank to display coordinates at the top of the page. -->
| iso_region          = <!-- To override any automatically determined region code. -->
| map_type            = <!-- Location from Location map. -->
| map_alt             = <!-- Alternative map file name (changes background map, border coordinates are determined based on the map name); this is only recommended for use in templates. -->
| map_overlay         = <!-- Overlay image file name, to be placed on top of the main map. Should have the same border coordinates. -->
| map_caption         = <!-- ''map caption''; for no caption enter "caption="; if the parameter is omitted then the caption will be "Marker text (location map name)" -->
...
}}
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox station
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
...
}}
Parameters to specify coordinates in decimal degrees:
{{Infobox station
...
| latitude  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| longitude = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 
...
}}

Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:

  • Incorrect: | longitude = - 123.45
  • Correct: | longitude = -123.45

External style template

An external style template may be used to allow the modification of display parameters. This can be the same template that is used in conjunction with Template:S-line, but may be a different template. The |style= parameter is used to specify the name of the template where the styling is defined; the template's name must end with the word "style", but this word must be omitted from the |style= parameter. For example, |style=Amtrak will use the {{Amtrak style}} template.

Parameter Description
name_format Formatting the station name in Infobox station
thcolor Font color for table headings in Infobox station
thbgcolor Background color for table headings in Infobox station

Embedding other infoboxes

The embedded= parameter can be used to embed another infobox with such capability like {{designation list}} and {{infobox NRHP}}.

Examples

This first example shows the infobox of Sinanju Station with the Korean names:

Sinanju Ch'ŏngnyŏn Station
DPRK rail station.jpg
Korean name
Hangul 신안주청년역
Hanja
Revised Romanization Sinanju-cheongnyeonyeok
McCune–Reischauer Sinanju-ch'ŏngnyŏnyŏk
Station statistics
Address Anju, South Pyongan Province
North Korea
Line(s) P'yŏngŭi Line
Kaech'ŏn Line
{{Infobox station 
| name          = Sinanju Ch'ŏngnyŏn Station
| hangul        = 신안주청년역
| hanja         = {{linktext|新|安|州|青|年|驛}}
| mr            = Sinanju-ch'ŏngnyŏnyŏk
| rr            = Sinanju-cheongnyeonyeok
| image         = DPRK_rail_station.jpg
| image_size    = 
| image_caption = 
| address       = [[Anju, South Pyongan|Anju]], [[South Pyongan Province]]
| country       = North Korea
| coordinates   = 
| line          = [[Pyongui Line|P'yŏngŭi Line]]<br />[[Kaechon Line|Kaech'ŏn Line]]
}}

This second example from the Paso Robles (Amtrak station) article uses S-line in the |services= parameter, and the external style template:

Paso Robles
Paso Robles Train Station.jpg
Station statistics
Address 800 Pine Street
Paso Robles, California 93446
Line(s) Coast Starlight
Platforms 1 side platform
Tracks 1
Other information
Owned by City of Paso Robles
Services
Preceding station   BSicon LOGO Amtrak2.svg Amtrak   Following station
toward Seattle
Coast Starlight
toward Los Angeles
{{Infobox station
| style        = Amtrak
| name         = Paso Robles
| image        = Paso Robles Train Station.jpg
| address      = 800 Pine Street<br />[[Paso Robles, California|Paso Robles]], [[California]] 93446
| line         = [[Coast Starlight]]
| platform     = 1 side platform
| tracks       = 1
| owned        = City of Paso Robles
| services     =
{{s-rail|title=Amtrak}}
{{s-line|system=Amtrak|line=Coast Starlight|previous=Salinas|next=San Luis Obispo|type=R|type2=R}}
}}

Microformat

The HTML mark up 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 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

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.

TemplateData

Template parameters
Parameter Description Type Default Auto value Status
Cta_header cta_header no description unknown empty empty optional
Name name no description unknown empty empty optional
Type type no description unknown empty empty optional
Native_name native_name no description unknown empty empty optional
Native_name_lang native_name_lang no description unknown empty empty optional
Style style no description unknown empty empty optional
Image image no description unknown empty empty optional
Image_size image_size no description unknown empty empty optional
Alt alt no description unknown empty empty optional
Image_caption image_caption no description unknown empty empty optional
Style2 style2 no description unknown empty empty optional
Hangul hangul no description unknown empty empty optional
Hanja hanja no description unknown empty empty optional
Rr rr no description unknown empty empty optional
Mr mr no description unknown empty empty optional
Other_name other_name no description unknown empty empty optional
Address address no description unknown empty empty optional
Country country no description unknown empty empty optional
Latitude latitude no description unknown empty empty optional
Latd latd no description unknown empty empty optional
Longitude longitude no description unknown empty empty optional
Longd longd no description unknown empty empty optional
Coordinates coordinates no description unknown empty empty optional
Elevation elevation no description unknown empty empty optional
Line line no description unknown empty empty optional
Train_operators train_operators no description unknown empty empty optional
Other other no description unknown empty empty optional
Structure structure no description unknown empty empty optional
Depth depth no description unknown empty empty optional
Levels levels no description unknown empty empty optional
Platform platform no description unknown empty empty optional
Tracks tracks no description unknown empty empty optional
Gates gates no description unknown empty empty optional
Parking parking no description unknown empty empty optional
Bicycle bicycle no description unknown empty empty optional
Travelcentre travelcentre no description unknown empty empty optional
Baggage_check baggage_check no description unknown empty empty optional
Disabled disabled no description unknown empty empty optional
Facilities facilities no description unknown empty empty optional
Latm latm no description unknown empty empty optional
Lats lats no description unknown empty empty optional
LatNS latNS no description unknown empty empty optional
Longm longm no description unknown empty empty optional
Longs longs no description unknown empty empty optional
LongEW longEW no description unknown empty empty optional
Iso_region iso_region no description unknown empty empty optional
Coordinates_format coordinates_format no description unknown empty empty optional
Coordinates_display coordinates_display no description unknown empty empty optional
Station_type station_type no description unknown empty empty optional
Connections connections no description unknown empty empty optional
Distance distance no description unknown empty empty optional
Bus_stands bus_stands no description unknown empty empty optional
Bus_operators bus_operators no description unknown empty empty optional
Routes routes no description unknown empty empty optional
Opened opened no description unknown empty empty optional
Architect architect no description unknown empty empty optional
Closed closed no description unknown empty empty optional
Rebuilt rebuilt no description unknown empty empty optional
Electrified electrified no description unknown empty empty optional
ADA ADA no description unknown empty empty optional
Code code no description unknown empty empty optional
Iata iata no description unknown empty empty optional
Owned owned no description unknown empty empty optional
Operator operator no description unknown empty empty optional
Local_authority local_authority no description unknown empty empty optional
Zone zone no description unknown empty empty optional
Smartcardstatus smartcardstatus no description unknown empty empty optional
Status status no description unknown empty empty optional
Former former no description unknown empty empty optional
Melway Melway no description unknown empty empty optional
Web web no description unknown empty empty optional
Map map no description unknown empty empty optional
Classification classification no description unknown empty empty optional
Smartcardname smartcardname no description unknown empty empty optional
Passengers passengers no description unknown empty empty optional
Mpassengers mpassengers no description unknown empty empty optional
Pass_system pass_system no description unknown empty empty optional
Pass_year pass_year no description unknown empty empty optional
Pass_percent pass_percent no description unknown empty empty optional
Services services no description unknown empty empty optional
Map_locator map_locator no description unknown empty empty optional
Map_type map_type no description unknown empty empty optional
AlternativeMap AlternativeMap no description unknown empty empty optional
Map_alt map_alt no description unknown empty empty optional
Map_overlay map_overlay no description unknown empty empty optional
Map dot label map dot label no description unknown empty empty optional
Map_dot_label map_dot_label no description unknown empty empty optional
Map_caption map_caption no description unknown empty empty optional
Map_size map_size no description unknown empty empty optional
Embedded embedded no description unknown empty empty optional
Nrhp nrhp no description unknown empty empty optional
Route_map route_map no description unknown empty empty optional
Map_state map_state no description unknown empty empty optional
Map_name map_name no description unknown empty empty optional

See also