Infobox station2 |
---|
此Template被引用於許多頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
此模板使用Lua语言: |
本模板使用以下模板样式: |
本模板照搬自当前英维Infobox station模板。当前中维Infobox station模板已与英维模板差异过大,但考虑到其链入量过大,进行大幅改动则会“牵一发而动全身”,故不宜再一一对照英维更新。
(({name))} (({native_name))} | ||||||||
---|---|---|---|---|---|---|---|---|
(({type))} | ||||||||
[[File:(({image))}|frameless|alt=(({alt))}|upright=(({image_upright))}|(({alt))}]] | ||||||||
基本信息 | ||||||||
其他名称 | (({other_name))} | |||||||
位置 | (({address))} (({borough))} (({country))} | |||||||
坐标 | 0°N 0°E / 0°N 0°E | |||||||
(({grid_name))} | (({grid_position))} | |||||||
海拔 | (({elevation))} | |||||||
所属机构 | (({owned))} | |||||||
运营机构 | (({operator))} | |||||||
管理机构 | (({manager))} | |||||||
交通局 | (({transit_authority))} | |||||||
线路 | (({line))} | |||||||
距离 | (({distance))} | |||||||
站台 | (({platforms))} | |||||||
股道 | (({tracks))} | |||||||
铁路运营商 | (({train_operators))} | |||||||
有轨电车线路 | (({tram_routes))} | |||||||
有轨电车运营商 | (({tram_operators))} | |||||||
公共汽车线路 | (({bus_routes))} | |||||||
公共汽车站牌数量 | (({bus_stands))} | |||||||
公共汽车运营商 | (({bus_operators))} | |||||||
换乘交通 | (({connections))} | |||||||
车站建筑 | ||||||||
站体类型 | (({structure))} | |||||||
深度 | (({depth))} | |||||||
车站层数 | (({levels))} | |||||||
停车设施 | (({parking))} | |||||||
自行车停放设施 | (({bicycle))} | |||||||
无障碍车站 | (({accessible))} | |||||||
建筑设计 | (({architect))} | |||||||
建筑风格 | (({architectural_style))} | |||||||
其他信息 | ||||||||
状态 | (({status))} | |||||||
车站编号 | (({code))} | |||||||
IATA代码 | (({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))} ━ 0% ((({pass_system))}) | |||||||
排行 | (({pass_rank))} | |||||||
(({mpassengers))} | ||||||||
| ||||||||
| ||||||||
| ||||||||
(({embedded))} | ||||||||
(({nrhp))} | ||||||||
| ||||||||
位置 | ||||||||
注释 | ||||||||
(({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|latitude|N/S|longitude|E/W|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 =
| accessible =
| 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-custom = ((Maplink|frame=yes|plain=yes|frame-align=center|frame-width=300|frame-height=180|zoom=12|type=point|marker=rail))
))
((Infobox station
| name =
| name_lang =
| native_name =
| native_name_lang =
| symbol =
| symbol_location =
| type =
| image =
| alt =
| caption =
| other_name =
| address =
| borough =
| country =
| coordinates = <!-- ((coord|latitude|N/S|longitude|E/W|display=inline,title)) -->
| grid_name =
| grid_position =
| elevation =
| owned =
| operator =
| manager =
| transit_authority =
| line =
| distance =
| bus_routes =
| bus_stands =
| bus_operators =
| connections =
| structure =
| depth =
| levels =
| parking =
| bicycle =
| accessible =
| 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-custom = ((Maplink|frame=yes|plain=yes|frame-align=center|frame-width=300|frame-height=180|zoom=12|type=point|marker=bus))
))
fr
for French.fr
for French. If more than one, use ((lang)) instead|child=yes
.1
, yes
or collapsible
, makes the boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header1
, yes
or collapsible
, makes the boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header. Goes up to other_services2_collapsible.|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).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 -->
...
))
This template supports mapframes. Parameter instructions:
Template:Infobox mapframe/doc/parameters
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=DB-IC
will use the ((DB-IC 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.
The |embedded=
or |nrhp=
parameters can be used to embed another infobox with such capability like ((infobox designation list)) and ((infobox NRHP)).
The following parameters have been obsoleted and will no longer function:
The following parameters are deprecated and may be removed in the future:
This first example shows the infobox of Sinanju Station with the Korean names:
Sinanju Ch'ŏngnyŏn Station | |
---|---|
朝鲜語名稱 | |
諺文 | 신안주청년역 |
汉字 | 新安州青年驛 |
文观部式 | Sinanju-cheongnyeonyeok |
马-赖式 | 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
| mlanguage = ((Infobox Korean name|child=yes
| 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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
基本信息 | |||||||||||
位置 | 800 Pine Street Paso Robles, California 93446 | ||||||||||
坐标 | 35°37′22″N 120°41′16″W / 35.6227°N 120.6878°W | ||||||||||
所属机构 | 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 | ||||||||||
营运信息 | |||||||||||
乘客數量 (2015) | 12,149 ▲ 0.69% (Amtrak) | ||||||||||
服务 | |||||||||||
| |||||||||||
| |||||||||||
位置 | |||||||||||
((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))
))
本模板產生的HTML記號包含了HCard 微格式,能夠讓電腦解析地點名稱和位置,具有可自動將文章分類至適當類別的功能。在HCard中有Geo微格式,能讓電腦分析经纬度資料,因此可在地圖上查詢,或下載至全球定位系统(GPS)裝置。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
hCard 使用以下的 HTML class:
adr
county-name
fn
label
locality
nickname
note
org
vcard
Geo由((coord))產生,並使用以下的HTML class:
geo
latitude
longtitude
请勿将这些class更名或删除。
當指定經緯度數值時,請避免太過詳細。
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Infobox station2模板数据 Displays an infobox for a rail, bus, tram or intermodal station.
|
|
上述文档嵌入自Template:Infobox station2/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (编辑 | 差异)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |