Skabelon:Infobox station
Infobox station |
---|
Denne skabelon bruger Lua: |
This template may be used for rail, tram, bus, and intermodal transport stations.
Usage
[rediger kildetekst]{{{name}}} {{{native_name}}} | ||||||||
---|---|---|---|---|---|---|---|---|
{{{type}}} | ||||||||
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | ||||||||
Andre navne | {{{other_name}}} | |||||||
Sted | {{{address}}} {{{borough}}} Danmark | |||||||
Koordinater | 0°N 0°Ø / 0°N 0°Ø | |||||||
Højde | {{{elevation}}} | |||||||
Ejet af | {{{owned}}} | |||||||
Drives af | {{{operator}}} | |||||||
Linje(r) | {{{lines}}} | |||||||
Afstand | {{{distance}}} | |||||||
Perroner | {{{platforms}}} | |||||||
Spor | {{{tracks}}} | |||||||
Togoperatører | {{{train_operators}}} | |||||||
Busruter | {{{bus_routes}}} | |||||||
Busdepot | {{{bus_stands}}} | |||||||
Busoperatører | {{{bus_operators}}} | |||||||
Forbindelser | {{{connections}}} | |||||||
Konstruktion | ||||||||
Strukturtype | {{{structure}}} | |||||||
Dybde | {{{depth}}} | |||||||
Perronspor | {{{levels}}} | |||||||
Parkering | {{{parking}}} | |||||||
Cykelfaciliteter | {{{bicycle}}} | |||||||
Handikapadgang | {{{disabled}}} | |||||||
Arkitekt | {{{architect}}} | |||||||
Arkitektonisk stil | {{{architectural_style}}} | |||||||
Anden information | ||||||||
Status | {{{status}}} | |||||||
Stationkode | {{{code}}} | |||||||
IATA kode | {{{iata}}} | |||||||
Takstezone | {{{zone}}} | |||||||
Klassifikation | {{{classification}}} | |||||||
Hjemmeside | {{{website}}} | |||||||
Historie | ||||||||
Åbnet | {{{opened}}} | |||||||
Åbning | {{{opening}}} | |||||||
Lukkede | {{{closed}}} | |||||||
Ombygget | {{{rebuilt}}} | |||||||
Elektrificeret | {{{electrified}}} | |||||||
Tidl. navne | {{{former}}} | |||||||
Oprindeligt firma | {{{original}}} | |||||||
Pre-grouping | {{{pregroup}}} | |||||||
Post-grouping | {{{postgroup}}} | |||||||
Pre-nationalisation | {{{prenational}}} | |||||||
Nøgleoplysninger | ||||||||
{{{years}}} | {{{events}}} | |||||||
{{{years1}}} | {{{events1}}} | |||||||
{{{years11}}} | {{{events11}}} | |||||||
Trafik | ||||||||
Passagerer ({{{pass_year}}}) | {{{passengers}}} 0% ({{{pass_system}}}) | |||||||
Nr. | {{{pass_rank}}} | |||||||
{{{mpassengers}}} | ||||||||
| ||||||||
{{{embedded}}} | ||||||||
{{{nrhp}}} | ||||||||
| ||||||||
Oversigtskort | ||||||||
Railway stations
[rediger kildetekst]{{Infobox station | name = | native_name = | native_name_lang = | symbol_location = | symbol = | type = | image = | alt = | caption = | address = | borough = | country = | coordinates = <!-- {{coord|latitude|N/S|longitude|E/W|display=inline,title}} --> | owned = | operator = | line = | distance = | platforms = | tracks = | train_operators = | connections = | structure = | parking = | bicycle = | disabled = | code = | zone = | website = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | closed = <!-- {{End date|YYYY|MM|DD|df=y}} --> | passengers = | pass_year = | pass_rank = | services = }}
Bus stations
[rediger kildetekst]{{Infobox station | name = | name_lang = | native_name = | native_name_lang = | symbol_location = | symbol = | type = | image = | alt = | caption = | address = | borough = | country = | coordinates = <!-- {{coord|latitude|N/S|longitude|E/W|display=inline,title}} --> | owned = | operator = | bus_stands = | bus_operators = | bus_routes = | connections = | structure = | parking = | bicycle = | disabled = | code = | zone = | website = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | closed = <!-- {{End date|YYYY|MM|DD|df=y}} --> | passengers = | pass_year = | pass_rank = }}
Parameters
[rediger kildetekst]Descriptions
[rediger kildetekst]Name
[rediger kildetekst]- name
- name
- name_lang
- ISO 639-1 code (for name); e.g.
fr
for French. - native_name
- name in local language. If more than one, separate using {{Plainlist}}
- native_name_lang
- ISO 639-1 code (for native_name); e.g.
fr
for French. If more than one, use {{lang}} instead - other_name
- current alternative name(s)
- custom_header
- custom header
- mlanguage
- insert a language module, e.g. {{Infobox Korean name}}
Station symbols
[rediger kildetekst]- symbol_location
- The code of location of the station; first parameter of {{Rail-interchange}}
- symbol
- Symbol reference of the primary operator or network; second parameter of {{Rail-interchange}}
- symbol_locationn
- The code of location of the station; first parameter of {{Rail-interchange}}. Not needed if identical to symbol_location (symbol_locationn from 2 to 6)
- symboln
- Symbol reference of a secondary operator or network; second parameter of {{Rail-interchange}} (symboln from 2 to 6)
Overview
[rediger kildetekst]- type
- Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail); e.g. SEPTA rapid transit and tram station; Metrolink commuter rail station; San Diego Transit light rail station; RTA rapid transit station
- 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_upright
- Adjust the size of the image as a ratio
- alt
- Image alt text; see Wikipedia:ALT
- caption
- Caption to be placed under the image of the station
- address
- Street address of the station
- borough
- Country administrative subdivisions
- country
- Country
- coordinates
- Geographic coordinates. Use {{coord}} with display=inline,title; for example: {{coord|dd|mm|ss|N/S|dd|mm|ss|E/W|display=inline,title}}. (See the {{Coord}} documentation for more information.) type:railwaystation is automatically added, unless a different type is specified in the optional unnamed parameter after the coordinate values.
- elevation
- MSL elevation
- distance
- The distance from a set point on the line, to this station
- owned
- Station owner name
- operator
- Station operator name
- line
- List of services that serve the station. Use {{Plainlist}}
- platforms
- Information on the type of platform(s) at the station
- tracks
- Number of tracks at the station
- train_operators
- List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}
- bus_stands
- number of bus stands at the station
- bus_operators
- bus operators serving the station
- bus_routes
- number of bus routes serving the station
- connections
- Connecting services that serve the station such as bus
Construction
[rediger kildetekst]- structure
- Type of station structure (underground, at-grade, or elevated)
- 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)
- parking
- Information on station's parking facilities
- bicycle
- Information on station's bicycle facilities
- disabled
- What special facilities does the station have for people with disabilities
- architect
- Architect of the station
- architectural_style
- Architectural style, e.g. Baroque
Other information
[rediger kildetekst]- status
- Generic station status field, e.g. Unstaffed
- code
- Agency station code (used on tickets/reservations, etc.)
- iata
- IATA airport code
- zone
- Fare zone station is located in
- classification
- Station national classification
- website
- Web address of the station; use {{URL}}
History
[rediger kildetekst]- opened
- Date station originally opened
- opening
- Date station will be opening, if not open yet
- closed
- Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only)
- rebuilt
- Date station last received a rebuild
- former
- Previous station name(s)
- electrified
- Date station was electrified, if not previously at date of opening
- 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
[rediger kildetekst]- 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
- pass_rank
- Rank by passenger traffic of the station compared to total number of stations within the system, e.g. 115 out of 421
- mpassengers
- Allows display of multiple passenger totals using {{Rail pass box}}
Services
[rediger kildetekst]- services
- Allows inclusion of the s-rail/s-line boxes
- services_collapsible
- If set to
1
,yes
orcollapsible
, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header - services_state
- If set to
expanded
, makes services shown by default if services_collapsible is enabled
Location
[rediger kildetekst]- map_type, map_overlay, AlternativeMap, map_alt, map_caption, map_size, map_dot_label, map_label_position
- Allows inclusion of an image of the station location on a map (see map and coordinates for details)
- route_map
- Allows inclusion of route diagram
- map_state
- Determines route map state
Map and coordinates
[rediger kildetekst]- The location map uses the value of the
|coordinates=
parameter. It was previously necessary to use individual parameters for latitude and longitude, but the format was obsoleted by an RfC in August 2016 (see Hjælp:Coordinates in infoboxes). - The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the
country=
andborough=
parameters. This can be overridden by specifyingregion:XX
orregion:XX-ABC
in the unnamed parameter after the coordinate values.
{{Infobox station ... | coordinates = <!-- {{Coord}} template --> | map_type = <!-- Location from Location map. --> | map_overlay = <!-- Overlay image file name, to be placed on top of the main map. Should have the same border coordinates. --> | AlternativeMap = <!-- 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_alt = <!-- Alternative text for map image, see [[WP:ALT]] --> | map_caption = <!-- Map caption; for no caption leave it blank; if the parameter is omitted then the caption will be "Marker text (location map name)" --> | map_size = <!-- Width of map --> | map_dot_label = <!-- Text to be displayed next to dot on map image --> | map_label_position = <!-- Override automatic label positioning; valid values are left, right, top, bottom, or none --> ... }}
External style template
[rediger kildetekst]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
[rediger kildetekst]The embedded=
parameter can be used to embed another infobox with such capability like {{designation list}} and {{infobox NRHP}}.
Old parameters
[rediger kildetekst]Obsolete
[rediger kildetekst]The following parameters have been obsoleted and will no longer function:
- baggage_check – Whether bags can be checked
- facilities – generic facilities parameter; use more specific parameters where possible
- gates – Type (or presence) of ticket barriers/ gates
- image_size – Size in pixels of the image of the station
- local_authority – Local authority or council covering the station
- map
- map dot label
- Melway
- pte
- reopened
- reopening
- 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)
- station_type
- travelcentre – Whether there is a travel advice centre
Deprecated
[rediger kildetekst]The following parameters are deprecated and may be removed in the future:
- ADA – If any text is placed here a universal symbol for accessibility will appear
- map_locator – Allows inclusion of an image of the station location on a map, using {{Location map}} or another method directly
Korean name
[rediger kildetekst]- hangul – Korean name in Hangul
- hanja – Korean name in Hanja
- rr – The Revised Romanization of the name
- mr – The McCune–Reischauer of the name
Examples
[rediger kildetekst]This first example shows the infobox of Sinanju Station with the Korean names:
Sinanju Ch'ŏngnyŏn Station | |
---|---|
Skabelon:Infobox Korean name | |
Generel information | |
Sted | Anju, South Pyongan Province Nordkorea |
Linje(r) | 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 = Sinanju Chongnyon Station.jpg | image_size = | image_caption = | borough = [[Anju, South Pyongan|Anju]], [[South Pyongan Province]] | country = [[Nordkorea]] | 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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sted | 800 Pine Street Paso Robles, California 93446 | ||||||||||
Ejet af | City of Paso Robles | ||||||||||
Linje(r) | Coast Starlight | ||||||||||
Perroner | 1 side platform | ||||||||||
Spor | 1 | ||||||||||
Services | |||||||||||
|
{{Infobox station | style = Amtrak | name = Paso Robles | image = Paso Robles Train Station.jpg | address = 800 Pine Street<br />[[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
[rediger kildetekst]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
[rediger kildetekst]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
[rediger kildetekst]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
[rediger kildetekst]When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
Tracking categories
[rediger kildetekst]- Kategori:Articles using Infobox station with Korean name parameters (0)
- Kategori:Articles using Infobox station with map locator (0)
- Kategori:Articles using Infobox station with markup inside name (0)
- Kategori:Articles using Infobox station with links or images inside name (0)
- Kategori:Articles using Infobox station with markup inside type (0)
- Kategori:Articles using Infobox station with images inside type (0)
- Kategori:Articles using Infobox station with local authority (0)
- Kategori:Pages with no open date in Infobox station (2)
- Kategori:Pages using infobox station with unknown parameters (0)
- Kategori:Pages using deprecated coordinates format (0)
See also
[rediger kildetekst]- Skabelon:Infobox NYCS for New York City Subway and Staten Island Railway stations
- Skabelon:Infobox rail line
TemplateData
[rediger kildetekst]Infobox station
Display an infobox for a rail, bus, tram or intermodal station.
Parameter | Beskrivelse | Type | Status | |
---|---|---|---|---|
Name | name | Name of the station | Streng | foreslået |
Name language | name_lang | ISO 639-1 code (for name) | Streng | valgfri |
Native name | native_name | Name in local language | Streng | valgfri |
Native name language | native_name_lang | ISO 639-1 code (for native_name) | Streng | valgfri |
Alternative name(s) | other_name | Current alternative name(s) | Streng | foreslået |
Style template | style | Refers to an external 'style' template | Streng | valgfri |
Custom header | custom_header | ingen beskrivelse | Streng | valgfri |
Symbol | symbol | Symbol reference of the primary operator or network | Streng | valgfri |
Symbol Location | symbol_location | The code of location of the station | Streng | valgfri |
Type | type | Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
| Streng | valgfri |
Image | image | Image of the station | Streng | valgfri |
image_upright | image_upright | Can be used to adjust the size of the image as a ratio | Streng | valgfri |
alt | alt | Image alt text; see WP:ALT | Streng | valgfri |
Caption | caption | Caption to be placed under the image of the station | Streng | valgfri |
mlanguage | mlanguage | Can be used to insert a language module | Streng | valgfri |
Hangul | hangul | Korean name in Hangul | Streng | valgfri |
Hanja | hanja | Korean name in Hanja | Streng | valgfri |
McCune–Reischauer | mr | McCune–Reischauer romanization of the name | Streng | valgfri |
Revised Romanization | rr | The Revised Romanization of the name | Streng | valgfri |
Address | address | Street address of the station | Streng | foreslået |
Administrative subdivision | borough | Country administrative subdivision or borough | Streng | valgfri |
Country | country | Country where station is located | Streng | valgfri |
Coordinate | coordinates | Geographic coordinates, using {{coord}} | Streng | valgfri |
Elevation | elevation | Elevation above mean sea level | Streng | valgfri |
owned | owned | ingen beskrivelse | Streng | valgfri |
operator | operator | ingen beskrivelse | Streng | valgfri |
lines | lines | ingen beskrivelse | Streng | valgfri |
line | line | ingen beskrivelse | Streng | valgfri |
distance | distance | ingen beskrivelse | Streng | valgfri |
platforms | platforms | ingen beskrivelse | Streng | valgfri |
platform | platform | ingen beskrivelse | Streng | valgfri |
tracks | tracks | ingen beskrivelse | Streng | valgfri |
train_operators | train_operators | ingen beskrivelse | Streng | valgfri |
bus_routes | bus_routes | ingen beskrivelse | Streng | valgfri |
routes | routes | ingen beskrivelse | Streng | valgfri |
bus_stands | bus_stands | ingen beskrivelse | Streng | valgfri |
bus_operators | bus_operators | ingen beskrivelse | Streng | valgfri |
connections | connections | ingen beskrivelse | Streng | valgfri |
other | other | ingen beskrivelse | Streng | valgfri |
ADA | ADA | ingen beskrivelse | Streng | valgfri |
architect | architect | ingen beskrivelse | Streng | valgfri |
architectural_style | architectural_style | ingen beskrivelse | Streng | valgfri |
bicycle | bicycle | ingen beskrivelse | Streng | valgfri |
depth | depth | ingen beskrivelse | Streng | valgfri |
disabled | disabled | ingen beskrivelse | Streng | valgfri |
levels | levels | ingen beskrivelse | Streng | valgfri |
parking | parking | ingen beskrivelse | Streng | valgfri |
structure | structure | ingen beskrivelse | Streng | valgfri |
classification | classification | ingen beskrivelse | Streng | valgfri |
code | code | ingen beskrivelse | Streng | valgfri |
iata | iata | ingen beskrivelse | Streng | valgfri |
status | status | ingen beskrivelse | Streng | valgfri |
web | web | ingen beskrivelse | Streng | valgfri |
website | website | ingen beskrivelse | Streng | valgfri |
zone | zone | ingen beskrivelse | Streng | valgfri |
closed | closed | ingen beskrivelse | Streng | valgfri |
end | end | ingen beskrivelse | Streng | valgfri |
ending | ending | ingen beskrivelse | Streng | valgfri |
former | former | ingen beskrivelse | Streng | valgfri |
opened | opened | ingen beskrivelse | Streng | valgfri |
opening | opening | ingen beskrivelse | Streng | valgfri |
original | original | ingen beskrivelse | Streng | valgfri |
postgroup | postgroup | ingen beskrivelse | Streng | valgfri |
pregroup | pregroup | ingen beskrivelse | Streng | valgfri |
prenational | prenational | ingen beskrivelse | Streng | valgfri |
rebuilt | rebuilt | ingen beskrivelse | Streng | valgfri |
start | start | ingen beskrivelse | Streng | valgfri |
starting | starting | ingen beskrivelse | Streng | valgfri |
electrified | electrified | ingen beskrivelse | Streng | valgfri |
years | years | ingen beskrivelse | Streng | valgfri |
events | events | ingen beskrivelse | Streng | valgfri |
years1 | years1 | ingen beskrivelse | Streng | valgfri |
events1 | events1 | ingen beskrivelse | Streng | valgfri |
years2 | years2 | ingen beskrivelse | Streng | valgfri |
events2 | events2 | ingen beskrivelse | Streng | valgfri |
years3 | years3 | ingen beskrivelse | Streng | valgfri |
events3 | events3 | ingen beskrivelse | Streng | valgfri |
years4 | years4 | ingen beskrivelse | Streng | valgfri |
events4 | events4 | ingen beskrivelse | Streng | valgfri |
years5 | years5 | ingen beskrivelse | Streng | valgfri |
events5 | events5 | ingen beskrivelse | Streng | valgfri |
years6 | years6 | ingen beskrivelse | Streng | valgfri |
events6 | events6 | ingen beskrivelse | Streng | valgfri |
years7 | years7 | ingen beskrivelse | Streng | valgfri |
events7 | events7 | ingen beskrivelse | Streng | valgfri |
years8 | years8 | ingen beskrivelse | Streng | valgfri |
events8 | events8 | ingen beskrivelse | Streng | valgfri |
years9 | years9 | ingen beskrivelse | Streng | valgfri |
events9 | events9 | ingen beskrivelse | Streng | valgfri |
years10 | years10 | ingen beskrivelse | Streng | valgfri |
events10 | events10 | ingen beskrivelse | Streng | valgfri |
years11 | years11 | ingen beskrivelse | Streng | valgfri |
events11 | events11 | ingen beskrivelse | Streng | valgfri |
passengers | passengers | ingen beskrivelse | Streng | valgfri |
mpassengers | mpassengers | ingen beskrivelse | Streng | valgfri |
pass_system | pass_system | ingen beskrivelse | Streng | valgfri |
pass_year | pass_year | ingen beskrivelse | Streng | valgfri |
pass_percent | pass_percent | ingen beskrivelse | Streng | valgfri |
pass_rank | pass_rank | ingen beskrivelse | Streng | valgfri |
services | services | ingen beskrivelse | Streng | valgfri |
services_collapsible | services_collapsible | ingen beskrivelse | Streng | valgfri |
services_state | services_state | ingen beskrivelse | Streng | valgfri |
embedded | embedded | ingen beskrivelse | Streng | valgfri |
nrhp | nrhp | ingen beskrivelse | Streng | valgfri |
route_map | route_map | ingen beskrivelse | Streng | valgfri |
map_state | map_state | ingen beskrivelse | Streng | valgfri |
map_name | map_name | ingen beskrivelse | Streng | valgfri |
map_type | map_type | ingen beskrivelse | Streng | valgfri |
map_locator | map_locator | ingen beskrivelse | Streng | valgfri |
AlternativeMap | AlternativeMap | ingen beskrivelse | Streng | valgfri |
map_alt | map_alt | ingen beskrivelse | Streng | valgfri |
map_overlay | map_overlay | ingen beskrivelse | Streng | valgfri |
map_dot_label | map_dot_label | ingen beskrivelse | Streng | valgfri |
map_label_position | map_label_position | ingen beskrivelse | Streng | valgfri |
map_caption | map_caption | ingen beskrivelse | Streng | valgfri |
map_size | map_size | ingen beskrivelse | Streng | valgfri |
local_authority | local_authority | ingen beskrivelse | Streng | valgfri |