الگو:Infobox station

از ویکی‌پدیا، دانشنامهٔ آزاد
Infobox station
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

از این الگو برای ایستگاه راه‌آهن، تراموا، اتوبوس، و جابجایی چند کاربردی استفاده کنید.

استفاده[ویرایش]

{{{name}}}

{{{native_name}}}
{{{type}}}
[[پرونده:{{{image}}}|بی‌قاب|جایگزین={{{alt}}}|ایستاده={{{image_upright}}}]]
{{{caption}}}
نام‌های دیگر{{{other_name}}}
مکان{{{address}}}
{{{borough}}}
{{{country}}}
مختصات‌ها۰°شمالی ۰°شرقی / ۰°شمالی ۰°شرقی / 0; 0
{{{grid_name}}}{{{grid_position}}}
طبقات{{{elevation}}}
مالک{{{owned}}}
گرداننده{{{operator}}}
مدیر{{{manager}}}
مرجع ترابری{{{transit_authority}}}
خطوط{{{line}}}
فاصله{{{distance}}}
سکوها{{{platforms}}}
خطوط آهن{{{tracks}}}
گردانندگان قطار{{{train_operators}}}
مسیرهای اتوبوس{{{bus_routes}}}
ایستگاه‌های اتوبوس{{{bus_stands}}}
گردانندگان اتوبوس{{{bus_operators}}}
اتصال‌ها{{{connections}}}
ساخت
گونه سازه{{{structure}}}
عمق{{{depth}}}
بلندی جایگاه{{{levels}}}
پارکینگ{{{parking}}}
امکانات دوچرخه{{{bicycle}}}
دسترسی معلولین{{{disabled}}}
معمار{{{architect}}}
سبک معماری{{{architectural_style}}}
دیگر اطلاعات
وضعیت{{{status}}}
کد ایستگاه{{{code}}}
کد یاتا{{{iata}}}
محدوده{{{zone}}}
دسته‌بندی{{{classification}}}
وبگاه
{{{website}}}
تاریخچه
بازشده{{{opened}}}
بازشدن{{{opening}}}
بسته‌شده{{{closed}}}
بازسازی{{{rebuilt}}}
برقی‌شدن{{{electrified}}}
نام پیشین{{{former}}}
شرکت اصلی{{{original}}}
هم‌گروه پیشین{{{pregroup}}}
هم‌گروه پسین{{{postgroup}}}
پیش از ملی‌شدن{{{prenational}}}
زمان‌های کلیدی
{{{years}}}{{{events}}}
{{{years1}}}{{{events1}}}
{{{years11}}}{{{events11}}}
{{{years12}}}{{{events12}}}
ترافیک
مسافر (&#۱۲۳;&#۱۲۳;&#۱۲۳;pass_year&#۱۲۵;&#۱۲۵;&#۱۲۵;)&#۱۲۳;&#۱۲۳;&#۱۲۳;passengers&#۱۲۵;&#۱۲۵;&#۱۲۵; بی‌تغییر ٪۰ ({{{pass_system}}})
{{{mpassengers}}}
خدمات
  {{{services}}}  
{{{other_services_header}}}
  {{{other_services}}}  
{{{other_services2_header}}}
  {{{other_services2}}}  
{{{embedded}}}
{{{nrhp}}}
Route map
{{{route_map}}}
موقعیت
Map
نکته‌ها
{{{footnotes}}}

ایستگاه راه آهن[ویرایش]

{{Infobox station
| name                = 
| name_lang           = 
| native_name         = 
| native_name_lang    = 
| symbol              = 
| symbol_location     = 
| type                = 
| image               = 
| alt                 = 
| caption             = 
| other_name          = 
| address             = 
| borough             = 
| country             = 
| coordinates         = <!-- {{coord|xxxx|N/S|xxxx|E/W|region:ZZ_type:TT|display=inline,title}} یا {{coord|dd|mm|ss|N/S|dd|mm|ss|E/W|region:ZZ_type:TT|display=inline,title}} -->
| grid_name           = 
| grid_position       = 
| elevation           =
| owned               = 
| operator            = 
| manager             = 
| transit_authority   = 
| line                = 
| distance            = 
| platforms           = 
| tracks              = 
| train_operators     = 
| connections         = 
| structure           = 
| depth               =
| levels              =
| parking             = 
| bicycle             = 
| disabled            = 
| architect           =
| architectural_style = 
| status              = 
| code                = 
| iata                = 
| zone                = 
| classification      = 
| website             = 
| opened              = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| opening             = 
| closed              = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| rebuilt             = 
| electrified         = 
| former              = 
| original            = 
| pregroup            = 
| postgroup           = 
| prenational         = 
| years               = 
| events              = 
| passengers          = 
| pass_system         = 
| pass_year           = 
| pass_percent        = 
| pass_rank           = 
| services            = 
| other_services      = 
| other_services_collapsible = 
| other_services_header = 
| other_services2     = 
| other_services2_collapsible = 
| other_services2_header = 
| footnotes           = 

| mapframe = yes
| mapframe-stroke-color  = #C60C30
| mapframe-marker        = station
| mapframe-marker-color  = #1F2F57
| mapframe-zoom          = 9
}}

ایستگاه اتوبوس[ویرایش]

{{Infobox station
| name                = 
| name_lang           = 
| native_name         = 
| native_name_lang    = 
| symbol              = 
| symbol_location     = 
| type                = 
| image               = 
| alt                 = 
| caption             = 
| other_name          = 
| address             = 
| borough             = 
| country             = 
| <!-- {{coord|xxxx|N/S|xxxx|E/W|region:ZZ_type:TT|display=inline,title}} یا {{coord|dd|mm|ss|N/S|dd|mm|ss|E/W|region:ZZ_type:TT|
| grid_name           = 
| grid_position       = 
| elevation           =
| owned               = 
| operator            = 
| manager             = 
| transit_authority   = 
| line                = 
| distance            = 
| bus_routes          = 
| bus_stands          = 
| bus_operators       = 
| connections         = 
| structure           = 
| depth               =
| levels              =
| parking             = 
| bicycle             = 
| disabled            = 
| architect           =
| architectural_style = 
| status              = 
| code                = 
| iata                = 
| zone                = 
| classification      = 
| website             = 
| opened              = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| opening             = 
| closed              = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| rebuilt             = 
| former              = 
| original            = 
| pregroup            = 
| postgroup           = 
| prenational         = 
| years               = 
| events              = 
| passengers          = 
| pass_system         = 
| pass_year           = 
| pass_percent        = 
| pass_rank           = 
| services            = 
| other_services      = 
| other_services_collapsible = 
| other_services_header = 
| other_services2     = 
| other_services2_collapsible = 
| other_services2_header = 
| footnotes           = 

| mapframe = yes
| mapframe-stroke-color  = #C60C30
| mapframe-marker        = station
| mapframe-marker-color  = #1F2F57
| mapframe-zoom          = 9
}}

پارامترها[ویرایش]

Descriptions[ویرایش]

Name[ویرایش]

name
name
name_lang
ISO 639-1 code or IETF language tag (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 or IETF language tag (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}}. For best display results, set |child=yes.

Station symbols[ویرایش]

symbol
Symbol reference of the primary operator or network; second parameter of {{Rail-interchange}}
symbol_location
The code of location of the station; first parameter of {{Rail-interchange}}
symboln
Symbol reference of a secondary operator or network; second parameter of {{Rail-interchange}} (symboln from 2 to 6)
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)

Overview[ویرایش]

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; this is displayed inline and used with {{coord}} when present. Must be in a format recognized by {{ISO 3166 code}}.
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.
grid_name
Name of regional grid
grid_position
Position on regional grid (typically using a regional grid template)
elevation
MSL elevation
owned
Station owner name
operator
Station operator name, if different from manager
manager
Station manager name, if different from operator
transit_authority
Local transit authority
line
List of lines (physical infrastructure) that the station is on. Use {{Plainlist}}. Named services should go below. Alias is lines.
distance
The distance from a set point on the line, to this station
platforms
Information on the type of platform(s) at the station, alias is platform.
tracks
Number of tracks at the station
train_operators
List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}
bus_routes
number of bus routes serving the station
bus_stands
number of bus stands at the station
bus_operators
bus operators serving the station
connections
Connecting services that serve the station such as bus

Construction[ویرایش]

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[ویرایش]

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}}
footnotes
General footnotes

History[ویرایش]

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
electrified
Date station was electrified, if not previously at date of opening
former
Previous station name(s)
original
Original company name
pregroup
Pre-grouping
postgroup
Post-grouping
prenational
Pre-nationalisation
years
Date or year of an event (continue with yearsn from 1 to 12)
events
Event that occurred on that date (continue with eventsn from 1 to 12)

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_system
System the passengers are using
pass_year
Year passenger information was gathered
pass_percent
Percentage increase or decrease in usage
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[ویرایش]

services
Allows inclusion of the s-rail/s-line boxes for named services. (Do not use {{s-start}} and {{s-end}} templates.)
services_collapsible
If set to 1, yes or collapsible, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header

Other services[ویرایش]

other_services
Allows inclusion of the s-rail/s-line boxes for additional services. (Do not use {{s-start}} and {{s-end}} templates.) Goes up to other_services2.
other_services_collapsible
If set to 1, yes or collapsible, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header. Goes up to other_services2_collapsible.
other_services_header
Set the header of this section (defaults to Other services). Goes up to other_services2_header.

Location[ویرایش]

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[ویرایش]

  • 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 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= and borough= parameters. This can be overridden by specifying region:XX or region: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 -->
...
}}

Mapframes[ویرایش]

This template supports mapframes. Parameter instructions:

الگو:Infobox mapframe/doc/parameters

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=STM will use the {{STM 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

For systems which have an Adjacent stations module defined the |style2= parameter may be used to specify a sub-style within that system. For example, |style2=Amtrak old used with |style=Amtrak will return the pre-Acela Amtrak heritage colors from Module:Adjacent stations/Amtrak.

Embedding other infoboxes[ویرایش]

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

Old parameters[ویرایش]

Obsolete / Unsupported[ویرایش]

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
  • iso_region

Deprecated[ویرایش]

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_image – Allows inclusion of an image of the station location on a map (only use when a mapframe or a location map is not appropriate).
Korean name[ویرایش]

نمونه‌ها[ویرایش]

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

Sinanju Ch'ŏngnyŏn Station
Sinanju Chongnyon Station.jpg
نام کره‌ای
هانگول
신안주청년역
هانجا
لاتین‌نویسی اصلاح‌شدهSinanju-cheongnyeonyeok
مک‌کیون–ریشاورSinanju-ch'ŏngnyŏnyŏk
General information
مکان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
| 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 station article uses {{Adjacent stations}} in the |services= parameter, and the external style template:

Paso Robles, CA
Paso Robles Train Station.jpg
Paso Robles train station in 2012
مکان800 Pine Street
Paso Robles, California 93446
مختصات‌ها۳۵°۳۷′۲۲″شمالی ۱۲۰°۴۱′۱۶″غربی / ۳۵٫۶۲۲۷°شمالی ۱۲۰٫۶۸۷۸°غربی / 35.6227; -120.6878
مالکCity of Paso Robles
خطوطCoast Line
سکوها1 side platform
خطوط آهن1
اتصال‌هاAmtrak Thruway Motorcoach, RTA Route 9, Paso Express, MST Route 83, Orange Belt Stages
دیگر اطلاعات
کد ایستگاهPRB
تاریخچه
شرکت اصلیSouthern Pacific
ترافیک
مسافر (۲۰۱۵)۱۲,۱۴۹ افزایش ٪۰٫۶۹ (Amtrak)
خدمات
Preceding station BSicon LOGO Amtrak2.svg Amtrak Following station
Salinas
toward Seattle
Coast Starlight San Luis Obispo
Former services
Preceding station Southern Pacific Railroad Following station
Wellsona Coast Line Atscadero
موقعیت
Map
{{Infobox station
 | style          = Amtrak
 | name           = Paso Robles, CA
 | image          = Paso Robles Train Station.jpg
 | caption        = Paso Robles train station in 2012
 | address        = 800 Pine Street<br />[[Paso Robles, California]] 93446
 | coordinates    = {{coord|35.6227|-120.6878|region:US-CA|display=inline}}
 | mapframe       = yes
 | mapframe-zoom  = 14
 | line           = [[Coast Line (UP)|Coast Line]]<!-- the physical "line" is not the same as "services" which are detailed below -->
 | connections    = [[Amtrak Thruway Motorcoach]], [[San Luis Obispo Regional Transit Authority|RTA]] Route 9, [[List of small Southern California transit agencies#Paso Express|Paso Express]], [[Monterey Salinas Transit|MST]] Route 83, [[Orange Belt Stages]]
 | platform       = 1 [[side platform]]
 | tracks         = 1
 | passengers     = 12,149
 | pass_year      = 2015
 | pass_percent   = 0.69
 | pass_system    = Amtrak
 | original       = [[Southern Pacific]]
 | code           = PRB
 | owned          = City of Paso Robles 
 | services       = {{Adjacent stations|system=Amtrak|line=Coast Starlight|left=Salinas|right=San Luis Obispo|to-left=Seattle|to-right=Los Angeles}}
 | other_services_header = Former services
 | other_services_collapsible = yes
 | other_services = {{Adjacent stations|system1=Southern Pacific Railroad|line1=Coast Line|left1=Wellsona|right1=Atscadero}}
}}

میکروفرمت[ویرایش]

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

زیر-الگوها[ویرایش]

اگر مکان دارای تاریخ "ساخت"ُ، "پایه‌گذاری‌"، "گشایش" یا موارد مشابه است از {{تاریخ آغاز}} مگر اینکه تاریخ گاه‌شماری دوران مشترک پیش از ۱۵۸۳ باشد.

اگر پیوند دارد از {{نشانی وب}} استفاده کنید.

Please do not remove instances of these sub-templates.

دسته‌بندی‌ها[ویرایش]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

مختصات با فراخوانی {{coord}} و استفاده از کلاس‌های اچ‌تی‌م‌ال زیر تولید می‌شود:

  • geo
  • latitude
  • longitude

لطفاً این دسته‌بندی‌ها را جابجا نکنید، تغییر نام ندهید، و زیربخش‌های آن را نهفته نکنید

دقت[ویرایش]

هنگام ارائه مختصات، لطفاً از سطح مناسبی از دقت استفاده کنید. پارامتر |name= از الگوی {{coord}} را بکار نبرید.

TemplateData[ویرایش]


زیرالگو[ویرایش]

رده‌های ردیابی[ویرایش]

الگوهای وابسته[ویرایش]