সাঁচ:Infobox station
Usage
[সম্পাদনা কৰক]Copy and paste the template below:
{{Infobox station | name = | native_name = | native_name_lang = | cta_header = | type = | style = | image = | image_size = | image_caption = | hangul = | hanja = | rr = | mr = | address = | country = | iso_region = | coordinates_display = | coordinates_format = | latitude = | longitude = | latd = | latm = | lats = | latNS = | longd = | longm = | longs = | longEW = | coordinates = <!-- {{Coord|LAT|LON|type:landmark_region:XX|display=inline,title}}--> | elevation = | line = | connections = | distance = | structure = | platform = | depth = | levels = | tracks = | parking = | bicycle = | baggage_check = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | closed = <!-- {{End date|YYYY|MM|DD|df=y}} --> | rebuilt = | electrified = | ADA = | code = | owned = | operator = | zone = | smartcardname = | smartcardstatus = | former = | passengers = | pass_year = | pass_percent = | pass_system = | mpassengers = | 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
- cta_header - ???
Korean name
[সম্পাদনা কৰক]- hangul - Korean name in Hangul
- hanja - Korean name in Hanja
- rr - The Revised Romanization of the name
- mr - The McCune–Reischauer of the name
Station statistics
[সম্পাদনা কৰক]- type – Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
- ex: SEPTA rapid transit and tram station
- ex: Metrolink commuter rail station
- ex: San Diego Transit light rail station
- ex: RTA rapid transit station
- style – Refers to an external 'style' template. 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
- 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
- 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
- parking – Information on station's parking facilities
- bicycle – Information on station's bicycle facilities
- baggage_check – Whether bags can be checked.
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)
- 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 accessible will appear
- code – Agency station code (used on tickets/reservations, etc.)
- owned – Station owner name
- operator – Station operator name
- 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)
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}}
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=
andlongitude=
OR - in degrees/minutes/seconds, using
latd=
,latm=
,lats=
,latNS=
,longd=
,longm=
,longs=
, andlongEW=
.
- in decimal degrees, using
- 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.
- To override the automatic value, use the
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 | |
---|---|
Korean name | |
Hangul | 신안주청년역 |
Hanja | 新安州青年驛 |
Revised Romanization | Sinanju-cheongnyeonyeok |
McCune–Reischauer | Sinanju-ch'ŏngnyŏnyŏk |
ষ্টেচনৰ তথ্য | |
ঠিকনা | Anju, South Pyongan Province North Korea |
লাইন | 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 = | 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 | ||||
---|---|---|---|---|
ষ্টেচনৰ তথ্য | ||||
ঠিকনা | 800 Pine Street Paso Robles, California 93446 | |||
লাইন | Coast Starlight | |||
প্লে'টফৰ্ম | 1 side platform | |||
ট্ৰেক | 1 | |||
আন তথ্য | ||||
অধিকাৰিত্ব | City of Paso Robles | |||
Services | ||||
{| class="wikitable" style="margin:0.5em auto; font-size:95%; border-top: 0px none; border-collapse: separate;" cellspacing="0" cellpadding="-1"
|- ! style="vertical-align: middle; width: 30%; border-top: 1px #aaa solid; border-right: 1px #aaa solid; border-left: 0px; border-bottom: 0px; color:inherit; background-color:#f2f2f2; "|Preceding station ! style="border-left: 0px none; border-right: 0px none; border-bottom: 0px none; border-top: 1px #aaa solid; background-color:#"| ! style="vertical-align: middle; border-top: 1px #aaa solid; border-left: 0px none; border-right: 0px none; border-bottom: 0px none; background-color:#"| Amtrak ! style="border-left: 0px none; border-right: 0px none; border-bottom: 0px none; border-top: 1px #aaa solid; background-color:#"| ! style="vertical-align: middle; width: 30%; border-top: 1px #aaa solid; border-left: 1px #aaa solid; border-right: 0px; border-bottom: 0px; color:inherit; background-color:#f2f2f2; "|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 article 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.
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}}.
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- 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.
When giving coordinates, please don't be overly precise.
See also
[সম্পাদনা কৰক]- Template:Infobox NYCS for New York City Subway and Staten Island Railway stations
- Template:Infobox rail line
TemplateData
[সম্পাদনা কৰক]An infobox to summarize information about a train station.
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
Name | name | Name | শাৰী | প্ৰয়োজনীয় |
Native Name | native_name | Name in local language. If more than one, separate using {{Plain list}}. | শাৰী | ঐচ্ছিক |
Native Name Language | native_name_lang | ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead. | শাৰী | ঐচ্ছিক |
CTA Header | cta_header | Title of the infobox (otherwise, Name field would be used). | শাৰী | ঐচ্ছিক |
Type | type | Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail) | শাৰী | ঐচ্ছিক |
Style | style | Refers to an external 'style' template. Leave blank if you do not have this. | শাৰী | ঐচ্ছিক |
Image | image | Image of the station | শাৰী | ঐচ্ছিক |
Image Size | image_size | Size in pixels of the image of the station. | শাৰী | ঐচ্ছিক |
Image Caption | image_caption | Caption to be placed under the image of the station. | ষ্ট্ৰিং | ঐচ্ছিক |
Hangul Name | hangul | Korean name in Hangul. | শাৰী | ঐচ্ছিক |
Hanja Name | hanja | Korean name in Hanja. | শাৰী | ঐচ্ছিক |
Revised Romanization Name | rr | The Revised Romanization of the name. | শাৰী | ঐচ্ছিক |
McCune–Reischauer Name | mr | The McCune–Reischauer of the name. | শাৰী | ঐচ্ছিক |
Street Address | address | Street address of the station. | ষ্ট্ৰিং | ঐচ্ছিক |
Country | country | Country of the station. | শাৰী | ঐচ্ছিক |
ISO Region | iso_region | The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the Country parameter. To override this, use this parameter. | শাৰী | ঐচ্ছিক |
Display Coordinates at Top? | coordinates_display | Make this parameter non-blank to display coordinates at the top of the page. | শাৰী | ঐচ্ছিক |
Latitude | latitude | Latitude of the station. The coordinates of the station may be specified with decimal degrees using this field, or specified in degrees/minutes/seconds, using the Latitude (degrees/minutes/seconds/NS) fields. | সংখ্যা | ঐচ্ছিক |
Longitude | longitude | Longitude of the station. The coordinates of the station may be specified with decimal degrees using this field, or specified in degrees/minutes/seconds, using the Longitude (degrees/minutes/seconds/NS) fields. | সংখ্যা | ঐচ্ছিক |
Latitude (degrees) | latd | Latitude (degrees) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (minutes/seconds/NS) fields, or with decimal degrees using the Latitude field. | সংখ্যা | ঐচ্ছিক |
Latitude (minutes) | latm | Latitude (minutes) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/seconds/NS) fields, or with decimal degrees using the Latitude field. | সংখ্যা | ঐচ্ছিক |
Latitude (seconds) | lats | Latitude (seconds) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/minutes/NS) fields, or with decimal degrees using the Latitude field. | সংখ্যা | ঐচ্ছিক |
Latitude (NS) | latNS | Latitude (NS) of the station. Use 'N' or 'S'. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/minutes/seconds) fields, or with decimal degrees using the Latitude field. | শাৰী | ঐচ্ছিক |
Longitude (degrees) | longd | Longitude (degrees) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Longitude (minutes/seconds/NS) fields, or with decimal degrees using the Longitude field. | সংখ্যা | ঐচ্ছিক |
longm | longm | Longitude (minutes) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Longitude (degrees/seconds/NS) fields, or with decimal degrees using the Longitude field. | সংখ্যা | ঐচ্ছিক |
longs | longs | Longitude (seconds) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Longitude (degrees/minutes/NS) fields, or with decimal degrees using the Longitude field. | সংখ্যা | ঐচ্ছিক |
longEW | longEW | Longitude (EW) of the station. Use 'E' or 'W'. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/minutes/seconds) fields, or with decimal degrees using the Longitude field. | শাৰী | ঐচ্ছিক |
Coordinates | coordinates | Instead of using the latitude and longitude-related fields, use the {{Coord}} template in this format: {{Coord|LAT|LON|type:landmark_region:XX|display=inline,title}} | শাৰী | ঐচ্ছিক |
Elevation | elevation | MSL elevation. | শাৰী | ঐচ্ছিক |
Lines | line | List of services that serve the station. | ষ্ট্ৰিং | ঐচ্ছিক |
Connections | connections | Connecting services at the station such as bus, etc. | ষ্ট্ৰিং | ঐচ্ছিক |
Structure Type | structure | Type of station structure (underground, at-grade, or elevated). | শাৰী | ঐচ্ছিক |
Platform(s) | platform | Information on the type of platform(s) at the station. | ষ্ট্ৰিং | ঐচ্ছিক |
Depth | depth | The depth of the primary platform below ground level. | শাৰী | ঐচ্ছিক |
Levels | levels | Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included) | শাৰী | ঐচ্ছিক |
Tracks | tracks | Mumber of tracks at the station. | সংখ্যা | ঐচ্ছিক |
Parking | parking | Information on station's parking facilities. | ষ্ট্ৰিং | ঐচ্ছিক |
Bicycle Facilities | bicycle | Information on station's bicycle facilities. | ষ্ট্ৰিং | ঐচ্ছিক |
Baggage Check (Yes/No) | baggage_check | Whether bags can be checked. | শাৰী | ঐচ্ছিক |
Date Opened | opened | Date station originally opened. | শাৰী | ঐচ্ছিক |
Date Closed | closed | Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only). | শাৰী | ঐচ্ছিক |
Date Rebuilt | rebuilt | Date station last received a rebuild. | শাৰী | ঐচ্ছিক |
Date Electrified | electrified | Date station was electrified, if not previously at date of opening. | শাৰী | ঐচ্ছিক |
Accessible? (non-empty if yes) | ADA | If any text is placed here a universal symbol for accessible will appear. | শাৰী | ঐচ্ছিক |
Agency Station Code | code | Agency station code (used on tickets/reservations, etc.). | শাৰী | ঐচ্ছিক |
Station Owner | owned | Station owner name. | শাৰী | ঐচ্ছিক |
Station Operator | operator | Station operator name. | শাৰী | ঐচ্ছিক |
Fare Zone | zone | Fare zone station is located in. | শাৰী | ঐচ্ছিক |
Name of Smartcard(s) | smartcardname | Name of any smartcard(s) that are or will be available at the station. | ষ্ট্ৰিং | ঐচ্ছিক |
Status of Smartcard(s) | smartcardstatus | "Yes" if smart card is available, or a date (or other information) if available in the future (see the article "Union (TTC)" for an example). | শাৰী | ঐচ্ছিক |
Former Names | former | Previous station name(s). | ষ্ট্ৰিং | ঐচ্ছিক |
Passenger Traffic | passengers | Number of passengers using the station. In the reference, please make it clear if this figure is per day, per year, etc. | ষ্ট্ৰিং | ঐচ্ছিক |
Year of Passenger Traffic Data | pass_year | Year Passenger Traffic information was gathered | শাৰী | ঐচ্ছিক |
Percent Change in Passenger Traffic Data | pass_percent | Percentage increase or decrease in usage. | শাৰী | ঐচ্ছিক |
Passenger System | pass_system | System the passengers are using. | শাৰী | ঐচ্ছিক |
Multiple Passenger Data | mpassengers | Allows display of multiple passenger totals using {{rail pass box}}. | ষ্ট্ৰিং | ঐচ্ছিক |
Service Rail/Line Templates | services | Allows inclusion of the {{s-rail}}/{{s-line}} boxes. | ষ্ট্ৰিং | ঐচ্ছিক |
Locator Map | map_locator | Allows inclusion of an image of the station location on a map, using {{Location map}} or another method directly. | শাৰী | ঐচ্ছিক |
Route Map | route_map | Allows inclusion of route map diagram. | শাৰী | ঐচ্ছিক |
Map State | map_state | Determines route map state (e.g. "collapsed"). | শাৰী | ঐচ্ছিক |
The above documentation is transcluded from সাঁচ:Infobox station/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |