మూస:Infobox station/sandbox
This is the template sandbox page for మూస:Infobox station (diff). See also the companion subpage for test cases. |
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 = | type = | style = | image = | image_size = | image_caption = | alt = | hangul = | hanja = | rr = | mr = | other_name = | address = | 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 = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | closed = <!-- {{End date|YYYY|MM|DD|df=y}} --> | rebuilt = | electrified = | ADA = | code = | iata = | 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
- other_name - current alternative name(s)
- 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 (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
- 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)
- 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.)
- iata - IATA airport code
- 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 | |
---|---|
సాధారణ సమాచారం | |
Location | 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 | |
---|---|
సాధారణ సమాచారం | |
Location | 800 Pine Street Paso Robles, California 93446 |
యజమాన్యం | City of Paso Robles |
లైన్లు | Coast Starlight |
ఫ్లాట్ ఫారాలు | 1 side platform |
పట్టాలు | 1 |
{{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 markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates మార్చు
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes మార్చు
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision మార్చు
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData మార్చు
పరామితి | వివరణ | రకం | స్థితి | |
---|---|---|---|---|
cta_header | cta_header | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
name | name | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
type | type | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
native_name | native_name | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
native_name_lang | native_name_lang | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
style | style | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
image | image | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
image_size | image_size | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
alt | alt | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
image_caption | image_caption | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
style2 | style2 | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
hangul | hangul | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
hanja | hanja | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
rr | rr | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
mr | mr | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
other_name | other_name | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
address | address | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
country | country | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
latitude | latitude | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
latd | latd | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
longitude | longitude | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
longd | longd | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
coordinates | coordinates | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
elevation | elevation | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
line | line | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
train_operators | train_operators | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
other | other | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
structure | structure | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
depth | depth | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
levels | levels | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
platform | platform | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
tracks | tracks | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
gates | gates | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
parking | parking | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
bicycle | bicycle | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
travelcentre | travelcentre | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
baggage_check | baggage_check | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
disabled | disabled | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
facilities | facilities | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
latm | latm | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
lats | lats | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
latNS | latNS | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
longm | longm | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
longs | longs | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
longEW | longEW | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
iso_region | iso_region | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
coordinates_format | coordinates_format | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
coordinates_display | coordinates_display | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
station_type | station_type | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
connections | connections | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
distance | distance | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
bus_stands | bus_stands | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
bus_operators | bus_operators | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
routes | routes | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
opened | opened | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
architect | architect | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
closed | closed | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
rebuilt | rebuilt | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
electrified | electrified | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
ADA | ADA | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
code | code | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
iata | iata | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
owned | owned | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
operator | operator | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
zone | zone | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
smartcardstatus | smartcardstatus | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
status | status | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
former | former | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
Melway | Melway | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
web | web | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map | map | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
classification | classification | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
smartcardname | smartcardname | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
passengers | passengers | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
mpassengers | mpassengers | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
pass_system | pass_system | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
pass_year | pass_year | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
pass_percent | pass_percent | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
services | services | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_locator | map_locator | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_type | map_type | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
AlternativeMap | AlternativeMap | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_alt | map_alt | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_overlay | map_overlay | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map dot label | map dot label | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_dot_label | map_dot_label | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_caption | map_caption | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_size | map_size | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
embedded | embedded | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
nrhp | nrhp | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
route_map | route_map | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_state | map_state | వివరణ లేదు | తెలియనిది | ఐచ్చికం |
map_name | map_name | వివరణ లేదు | తెలియనిది | ఐచ్చికం |