Predefinição:Infobox station/doc
Esta é uma subpágina de documentação para a Predefinição:Infobox station. Ela contém informações sobre o seu uso, categorias, bem como todo o conteúdo que não faz parte da predefinição original. |
Esta predefinição usa Lua: |
This template may be used for rail, tram, bus, and intermodal transport stations.
Usage[editar código-fonte]
Railway stations[editar código-fonte]
{{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[editar código-fonte]
{{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[editar código-fonte]
Descriptions[editar código-fonte]
Name[editar código-fonte]
- 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
{{Plain list}}
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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 WP: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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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 ("expanded" or "collapsed").
Map and coordinates[editar código-fonte]
- The location map uses the value of the
{{para}}
foi colocada nas predefinições obsoletas, utilize{{parâmetro}}
ou{{ver desambig2}}
. 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 Help: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[editar código-fonte]
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 {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. 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 {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. parameter. For example, {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. 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[editar código-fonte]
The embedded=
parameter can be used to embed another infobox with such capability like {{designation list}}
and {{infobox NRHP}}
.
Old parameters[editar código-fonte]
Obsolete[editar código-fonte]
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[editar código-fonte]
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[editar código-fonte]
- 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[editar código-fonte]
This first example shows the infobox of Sinanju Station with the Korean names: Predefinição:Infobox station
{{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 = 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 {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. parameter, and the external style template:
Predefinição:Infobox station
{{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[editar código-fonte]
A marca HTML produzida por esta predefinição inclui um hCard microformat, o que torna o lugar-nome e localização analisável por computadores, quer agindo automaticamente ao artigo catálogo através da Wikipédia, ou via uma ferramenta de navegador operado por uma pessoa, para (por exemplo) adicionar o assunto para um livro de endereços. Dentro do hCard está um Geo microformat, além disso, tornas as coordinadas (latitude e longitude) analisáveis, para que eles possam ser, digamos, visíveis sobre um mapa, ou transferido para uma unidade GPS. Para obter mais informações sobre o uso de microformatos na Wikipedia, consulte o projeto microformato.
Se o lugar ou local tem um "estabelecido", "fundado ", " aberto" ou data similar, o uso {{Start date}}
.
hCard usa classes HTML incluindo:
adr | agent | category | county-name | extended-address | fn | label | locality | nickname | note | org | region | street-address | vcard
Geo é produzida pela chamada {{coord}}
, e usa classes HTML:
- geo
- latitude
- longitude
Please do not rename or remove these classes; nor collapse nested elements which use them.
Ao dar as coordenadas, por favor, não sejam excessivamente precisos.
Tracking categories[editar código-fonte]
- Categoria:Articles using Infobox station with Korean name parameters (0)
- Categoria:Articles using Infobox station with map locator (0)
- Categoria:Articles using Infobox station with markup inside name (0)
- Categoria:Articles using Infobox station with links or images inside name (0)
- Categoria:Articles using Infobox station with markup inside type (0)
- Categoria:Articles using Infobox station with images inside type (0)
- Categoria:Articles using Infobox station with local authority (0)
- Categoria:Pages with no open date in Infobox station (0)
- Categoria:Pages using infobox station with unknown parameters (0)
See also[editar código-fonte]
- Template:Infobox NYCS for New York City Subway and Staten Island Railway stations
- Template:Infobox rail line
TemplateData[editar código-fonte]
Predefinição:TemplateDataHeader
Displays an infobox for a rail, bus, tram or intermodal station.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Name | name | Name of the station | String | recomendado |
Name language | name_lang | ISO 639-1 code (for name) | String | opcional |
Native name | native_name | Name in local language | String | opcional |
Native name language | native_name_lang | ISO 639-1 code (for native_name) | String | opcional |
Alternative name(s) | other_name | Current alternative name(s) | String | opcional |
Style template | style | Refers to an external 'style' template | String | opcional |
Custom header | custom_header | sem descrição | String | opcional |
Symbol | symbol | Symbol reference of the primary operator or network | String | opcional |
Symbol Location | symbol_location | The code of location of the station | String | opcional |
Type | type | Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
| String | opcional |
Image | image | Image of the station | String | opcional |
image_upright | image_upright | Can be used to adjust the size of the image as a ratio | String | opcional |
alt | alt | Image alt text; see WP:ALT | String | opcional |
Caption | caption image_caption | Caption to be placed under the image of the station | String | opcional |
mlanguage | mlanguage | Can be used to insert a language module | String | opcional |
Hangul | hangul | Korean name in Hangul | String | opcional |
Hanja | hanja | Korean name in Hanja | String | opcional |
McCune–Reischauer | mr | McCune–Reischauer romanization of the name | String | opcional |
Revised Romanization | rr | The Revised Romanization of the name | String | opcional |
Address | address | Street address of the station | String | recomendado |
Administrative subdivision | borough | Country administrative subdivision or borough | String | opcional |
Country | country | Country where station is located | String | opcional |
Coordinates | coordinates | Geographic coordinates, using {{coord}} | String | opcional |
Elevation | elevation | Elevation above mean sea level | String | opcional |
owned | owned | sem descrição | String | opcional |
operator | operator | sem descrição | String | opcional |
lines | lines line | sem descrição | String | opcional |
distance | distance | sem descrição | String | opcional |
platforms | platforms platform | sem descrição | String | opcional |
tracks | tracks | sem descrição | String | opcional |
train_operators | train_operators | sem descrição | String | opcional |
bus_routes | bus_routes routes | sem descrição | String | opcional |
bus_stands | bus_stands | sem descrição | String | opcional |
bus_operators | bus_operators | sem descrição | String | opcional |
connections | connections other | sem descrição | String | opcional |
structure | structure | sem descrição | String | opcional |
depth | depth | sem descrição | String | opcional |
levels | levels | sem descrição | String | opcional |
parking | parking | sem descrição | String | opcional |
bicycle | bicycle | sem descrição | String | opcional |
disabled | disabled ADA | sem descrição | String | opcional |
architect | architect | sem descrição | String | opcional |
architectural_style | architectural_style | sem descrição | String | opcional |
status | status | sem descrição | String | opcional |
code | code | sem descrição | String | opcional |
iata | iata | sem descrição | String | opcional |
zone | zone | sem descrição | String | opcional |
classification | classification | sem descrição | String | opcional |
website | website web | sem descrição | String | opcional |
opened | opened start | sem descrição | String | opcional |
opening | opening starting | sem descrição | String | opcional |
closed | closed end ending | sem descrição | String | opcional |
rebuilt | rebuilt | sem descrição | String | opcional |
electrified | electrified | sem descrição | String | opcional |
Previous names | former | sem descrição | String | opcional |
Original company | original | sem descrição | String | opcional |
Pre-grouping company | pregroup | sem descrição | String | opcional |
Post-grouping company | postgroup | sem descrição | String | opcional |
Pre-nationalization company | prenational | sem descrição | String | opcional |
years | years | sem descrição | String | opcional |
events | events | sem descrição | String | opcional |
years1 | years1 | sem descrição | String | opcional |
events1 | events1 | sem descrição | String | opcional |
years2 | years2 | sem descrição | String | opcional |
events2 | events2 | sem descrição | String | opcional |
years3 | years3 | sem descrição | String | opcional |
events3 | events3 | sem descrição | String | opcional |
years4 | years4 | sem descrição | String | opcional |
events4 | events4 | sem descrição | String | opcional |
years5 | years5 | sem descrição | String | opcional |
events5 | events5 | sem descrição | String | opcional |
years6 | years6 | sem descrição | String | opcional |
events6 | events6 | sem descrição | String | opcional |
years7 | years7 | sem descrição | String | opcional |
events7 | events7 | sem descrição | String | opcional |
years8 | years8 | sem descrição | String | opcional |
events8 | events8 | sem descrição | String | opcional |
years9 | years9 | sem descrição | String | opcional |
events9 | events9 | sem descrição | String | opcional |
years10 | years10 | sem descrição | String | opcional |
events10 | events10 | sem descrição | String | opcional |
years11 | years11 | sem descrição | String | opcional |
events11 | events11 | sem descrição | String | opcional |
Passengers module | mpassengers | Child infobox containing passenger statistics | String | opcional |
passengers | passengers | sem descrição | String | opcional |
pass_system | pass_system | sem descrição | String | opcional |
pass_year | pass_year | sem descrição | String | opcional |
pass_percent | pass_percent | sem descrição | String | opcional |
pass_rank | pass_rank | sem descrição | String | opcional |
services | services | sem descrição | String | opcional |
services_collapsible | services_collapsible | sem descrição | String | opcional |
services_state | services_state | sem descrição | String | opcional |
embedded | embedded | sem descrição | String | opcional |
nrhp | nrhp | sem descrição | String | opcional |
route_map | route_map | sem descrição | String | opcional |
map_state | map_state | sem descrição | String | opcional |
map_name | map_name | sem descrição | String | opcional |
map_type | map_type | sem descrição | String | opcional |
map_locator | map_locator | sem descrição | String | opcional |
AlternativeMap | AlternativeMap | sem descrição | String | opcional |
map_alt | map_alt | sem descrição | String | opcional |
map_overlay | map_overlay | sem descrição | String | opcional |
map_dot_label | map_dot_label | sem descrição | String | opcional |
map_label_position | map_label_position | sem descrição | String | opcional |
map_caption | map_caption | sem descrição | String | opcional |
map_size | map_size | sem descrição | String | opcional |
local_authority | local_authority | sem descrição | String | opcional |
Predefinição:Buildings and structures infobox templates
Esta é uma subpágina de documentação para a Predefinição:Infobox station. Ela contém informações sobre o seu uso, categorias, bem como todo o conteúdo que não faz parte da predefinição original. |
Esta predefinição é usada em 31,600+ páginas e as alterações em seu conteúdo serão amplamente notadas. Por favor, teste as alterações na subpágina de testes desta predefinição, em sua subpágina da predefinição de testes ou na subpágina de testes em seu espaço usuário. Considere discutir mudanças na página de discussão antes de implementá-las. |
Esta predefinição usa Lua: |
This template may be used for rail, tram, bus, and intermodal transport stations.
Usage[editar código-fonte]
Railway stations[editar código-fonte]
{{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[editar código-fonte]
{{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[editar código-fonte]
Descriptions[editar código-fonte]
Name[editar código-fonte]
- 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
{{Plain list}}
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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 WP: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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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[editar código-fonte]
- 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 ("expanded" or "collapsed").
Map and coordinates[editar código-fonte]
- The location map uses the value of the
{{para}}
foi colocada nas predefinições obsoletas, utilize{{parâmetro}}
ou{{ver desambig2}}
. 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 Help: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[editar código-fonte]
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 {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. 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 {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. parameter. For example, {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. 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[editar código-fonte]
The embedded=
parameter can be used to embed another infobox with such capability like {{designation list}}
and {{infobox NRHP}}
.
Old parameters[editar código-fonte]
Obsolete[editar código-fonte]
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[editar código-fonte]
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[editar código-fonte]
- 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[editar código-fonte]
This first example shows the infobox of Sinanju Station with the Korean names: Predefinição:Infobox station
{{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 = 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 {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. parameter, and the external style template:
Predefinição:Infobox station
{{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[editar código-fonte]
A marca HTML produzida por esta predefinição inclui um hCard microformat, o que torna o lugar-nome e localização analisável por computadores, quer agindo automaticamente ao artigo catálogo através da Wikipédia, ou via uma ferramenta de navegador operado por uma pessoa, para (por exemplo) adicionar o assunto para um livro de endereços. Dentro do hCard está um Geo microformat, além disso, tornas as coordinadas (latitude e longitude) analisáveis, para que eles possam ser, digamos, visíveis sobre um mapa, ou transferido para uma unidade GPS. Para obter mais informações sobre o uso de microformatos na Wikipedia, consulte o projeto microformato.
Se o lugar ou local tem um "estabelecido", "fundado ", " aberto" ou data similar, o uso {{Start date}}
.
hCard usa classes HTML incluindo:
adr | agent | category | county-name | extended-address | fn | label | locality | nickname | note | org | region | street-address | vcard
Geo é produzida pela chamada {{coord}}
, e usa classes HTML:
- geo
- latitude
- longitude
Please do not rename or remove these classes; nor collapse nested elements which use them.
Ao dar as coordenadas, por favor, não sejam excessivamente precisos.
Tracking categories[editar código-fonte]
- Categoria:Articles using Infobox station with Korean name parameters (0)
- Categoria:Articles using Infobox station with map locator (0)
- Categoria:Articles using Infobox station with markup inside name (0)
- Categoria:Articles using Infobox station with links or images inside name (0)
- Categoria:Articles using Infobox station with markup inside type (0)
- Categoria:Articles using Infobox station with images inside type (0)
- Categoria:Articles using Infobox station with local authority (0)
- Categoria:Pages with no open date in Infobox station (0)
- Categoria:Pages using infobox station with unknown parameters (0)
See also[editar código-fonte]
- Template:Infobox NYCS for New York City Subway and Staten Island Railway stations
- Template:Infobox rail line
TemplateData[editar código-fonte]
Predefinição:TemplateDataHeader
Displays an infobox for a rail, bus, tram or intermodal station.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Name | name | Name of the station | String | recomendado |
Name language | name_lang | ISO 639-1 code (for name) | String | opcional |
Native name | native_name | Name in local language | String | opcional |
Native name language | native_name_lang | ISO 639-1 code (for native_name) | String | opcional |
Alternative name(s) | other_name | Current alternative name(s) | String | opcional |
Style template | style | Refers to an external 'style' template | String | opcional |
Custom header | custom_header | sem descrição | String | opcional |
Symbol | symbol | Symbol reference of the primary operator or network | String | opcional |
Symbol Location | symbol_location | The code of location of the station | String | opcional |
Type | type | Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
| String | opcional |
Image | image | Image of the station | String | opcional |
image_upright | image_upright | Can be used to adjust the size of the image as a ratio | String | opcional |
alt | alt | Image alt text; see WP:ALT | String | opcional |
Caption | caption image_caption | Caption to be placed under the image of the station | String | opcional |
mlanguage | mlanguage | Can be used to insert a language module | String | opcional |
Hangul | hangul | Korean name in Hangul | String | opcional |
Hanja | hanja | Korean name in Hanja | String | opcional |
McCune–Reischauer | mr | McCune–Reischauer romanization of the name | String | opcional |
Revised Romanization | rr | The Revised Romanization of the name | String | opcional |
Address | address | Street address of the station | String | recomendado |
Administrative subdivision | borough | Country administrative subdivision or borough | String | opcional |
Country | country | Country where station is located | String | opcional |
Coordinates | coordinates | Geographic coordinates, using {{coord}} | String | opcional |
Elevation | elevation | Elevation above mean sea level | String | opcional |
owned | owned | sem descrição | String | opcional |
operator | operator | sem descrição | String | opcional |
lines | lines line | sem descrição | String | opcional |
distance | distance | sem descrição | String | opcional |
platforms | platforms platform | sem descrição | String | opcional |
tracks | tracks | sem descrição | String | opcional |
train_operators | train_operators | sem descrição | String | opcional |
bus_routes | bus_routes routes | sem descrição | String | opcional |
bus_stands | bus_stands | sem descrição | String | opcional |
bus_operators | bus_operators | sem descrição | String | opcional |
connections | connections other | sem descrição | String | opcional |
structure | structure | sem descrição | String | opcional |
depth | depth | sem descrição | String | opcional |
levels | levels | sem descrição | String | opcional |
parking | parking | sem descrição | String | opcional |
bicycle | bicycle | sem descrição | String | opcional |
disabled | disabled ADA | sem descrição | String | opcional |
architect | architect | sem descrição | String | opcional |
architectural_style | architectural_style | sem descrição | String | opcional |
status | status | sem descrição | String | opcional |
code | code | sem descrição | String | opcional |
iata | iata | sem descrição | String | opcional |
zone | zone | sem descrição | String | opcional |
classification | classification | sem descrição | String | opcional |
website | website web | sem descrição | String | opcional |
opened | opened start | sem descrição | String | opcional |
opening | opening starting | sem descrição | String | opcional |
closed | closed end ending | sem descrição | String | opcional |
rebuilt | rebuilt | sem descrição | String | opcional |
electrified | electrified | sem descrição | String | opcional |
Previous names | former | sem descrição | String | opcional |
Original company | original | sem descrição | String | opcional |
Pre-grouping company | pregroup | sem descrição | String | opcional |
Post-grouping company | postgroup | sem descrição | String | opcional |
Pre-nationalization company | prenational | sem descrição | String | opcional |
years | years | sem descrição | String | opcional |
events | events | sem descrição | String | opcional |
years1 | years1 | sem descrição | String | opcional |
events1 | events1 | sem descrição | String | opcional |
years2 | years2 | sem descrição | String | opcional |
events2 | events2 | sem descrição | String | opcional |
years3 | years3 | sem descrição | String | opcional |
events3 | events3 | sem descrição | String | opcional |
years4 | years4 | sem descrição | String | opcional |
events4 | events4 | sem descrição | String | opcional |
years5 | years5 | sem descrição | String | opcional |
events5 | events5 | sem descrição | String | opcional |
years6 | years6 | sem descrição | String | opcional |
events6 | events6 | sem descrição | String | opcional |
years7 | years7 | sem descrição | String | opcional |
events7 | events7 | sem descrição | String | opcional |
years8 | years8 | sem descrição | String | opcional |
events8 | events8 | sem descrição | String | opcional |
years9 | years9 | sem descrição | String | opcional |
events9 | events9 | sem descrição | String | opcional |
years10 | years10 | sem descrição | String | opcional |
events10 | events10 | sem descrição | String | opcional |
years11 | years11 | sem descrição | String | opcional |
events11 | events11 | sem descrição | String | opcional |
Passengers module | mpassengers | Child infobox containing passenger statistics | String | opcional |
passengers | passengers | sem descrição | String | opcional |
pass_system | pass_system | sem descrição | String | opcional |
pass_year | pass_year | sem descrição | String | opcional |
pass_percent | pass_percent | sem descrição | String | opcional |
pass_rank | pass_rank | sem descrição | String | opcional |
services | services | sem descrição | String | opcional |
services_collapsible | services_collapsible | sem descrição | String | opcional |
services_state | services_state | sem descrição | String | opcional |
embedded | embedded | sem descrição | String | opcional |
nrhp | nrhp | sem descrição | String | opcional |
route_map | route_map | sem descrição | String | opcional |
map_state | map_state | sem descrição | String | opcional |
map_name | map_name | sem descrição | String | opcional |
map_type | map_type | sem descrição | String | opcional |
map_locator | map_locator | sem descrição | String | opcional |
AlternativeMap | AlternativeMap | sem descrição | String | opcional |
map_alt | map_alt | sem descrição | String | opcional |
map_overlay | map_overlay | sem descrição | String | opcional |
map_dot_label | map_dot_label | sem descrição | String | opcional |
map_label_position | map_label_position | sem descrição | String | opcional |
map_caption | map_caption | sem descrição | String | opcional |
map_size | map_size | sem descrição | String | opcional |
local_authority | local_authority | sem descrição | String | opcional |
Predefinição:Buildings and structures infobox templates