文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

本模板用于创建纽约地铁斯坦登岛铁路站点的信息框。

使用方法[编辑]

复制并粘贴以下内容:

((Infobox New York City Subway station
| name                          =
| type                          =
| image                         =
| image_size                    =
| image_caption                 =
| alt                           =
| address                       =
| borough                       =
| neighborhood                  =
| area                          =
| coordinates                   =
| line                          =
| service                       =
| transfer                      =
| connection                    =
| structure                     =
| depth                         =
| levels                        =
| platforms                     =
| tracks                        =
| open_date                     =
| close_date                    =
| rebuilt                       =
| code                          =
| accessible                    =
| acc_note                      =
| cross_platform                =
| former                        =
| other_exits                   =
| opposite_transfer             =
| passengers                    =
| pass_ref                      =
| pass_station_name             =
| pass_year                     =
| pass_percent                  =
| next_north                    =
| next_south                    =
| next_topwest                  =
| next_east                     =
| next_west                     =
| adjacent_stations             =
| adjacent_stations_collapsible =
| unused_adjacent_stations      =
| other_adjacent_stations       =
| nolegend                      =
| legend                        =
| map_type                      =
| coordinates                   =
| layout                        =
))

参数说明[编辑]

信息框顶部[编辑]

车站概况[编辑]

其他信息[编辑]

客流量[编辑]

相邻车站[编辑]

车站服务时间标识[编辑]

用于表示车站服务时间。

已废弃的参数[编辑]

以下这些参数正在在条目中被使用,且应当被替换。(这么做的目的是最终可以减小此模板的大小,期许提升性能和改善模板可读性。)

以下参数已被移除:

未使用的参数[编辑]

以下参数暂未使用:

例子[编辑]

以下用例来源于杰克逊高地-罗斯福大道/74街车站的信息框。第二个和第三个信息框用于杰克逊高地-罗斯福大道/74街车站#IND皇后林荫路线的部分。

例1[编辑]

 Roosevelt Avenue/74th Street
 
紐約地鐵車站複合群英语List of New York City Subway transfer stations
Alternate text for Example
Caption for Bad Title Example.png
車站統計
地址intersection of Roosevelt Avenue, 74th Street and Broadway
Jackson Heights, NY 11373
鎮區皇后区
位於杰克逊高地
坐標40°44′48.35″N 73°53′29.47″W / 40.7467639°N 73.8915194°W / 40.7467639; -73.8915194
系統A系統IRT)、B系統(IND
軌道路線IRT法拉盛线
IND皇后林荫路线
服務路線   7 all times (任何時候停站)
   E all times (任何時候停站)
   F all times (任何時候停站) <F> two rush hour trains, peak direction (two rush hour trains, peak direction)
   M weekdays until 11:00 p.m. (weekdays until 11:00 p.m.)
   R all hours except late nights (all hours except late nights)
連接Q33 bus to LaGuardia Airport
Q47 bus to LaGuardia Marine Air Terminal
其他資訊
無障礙設施無障礙設施 無障礙通行
無線網絡此站設有無線網絡和蜂窩服務[1]
運輸
乘客數量
(2024)
16.467 million  3.14%
排行14/422
位置
Infobox New York City Subway station在紐約地鐵的位置
Infobox New York City Subway station
Infobox New York City Subway station在纽约市的位置
Infobox New York City Subway station
Infobox New York City Subway station在纽约州的位置
Infobox New York City Subway station
街道圖

地图

第一个信息框提供了车站综合体的信息。

((Infobox NYCS
| name = Roosevelt Avenue/74th Street
| type = complex
| image = Bad Title Example.png
| image_caption = Caption for Bad Title Example.png
| image_size = 200px
| alt = Alternate text for Example
| bg_color = black
| address = intersection of Roosevelt Avenue, 74th Street and Broadway <br/>Jackson Heights, NY 11373
| borough = [[皇后区]]
| locale = [[杰克逊高地]]
| coordinates = ((coord|40|44|48.35|N|73|53|29.47|W|type:railwaystation_region:US|display=inline))
| division = IRT/IND
| line = [[IRT法拉盛线]]<br>[[IND皇后林荫路线]]
| service = Roosevelt
| accessible = yes
| wifi = yes
| connection = [[Q33 (New York City bus)|Q33]] bus to [[LaGuardia Airport]]<br/>[[Q47 (New York City bus)|Q47]] bus to LaGuardia [[Marine Air Terminal]]
| passengers = 16.467 million
| pass_year = ((CURRENTYEAR))
| pass_percent = 3.14
| rank = 14
))

例2[编辑]

 Jackson Heights–
 Roosevelt Avenue
 
紐約地鐵車站 (地鐵)
Alternate text for Example
Caption for Bad Title Example.png
車站統計
坐標40°44′48.35″N 73°53′29.47″W / 40.7467639°N 73.8915194°W / 40.7467639; -73.8915194
系統B系統IND
軌道路線IND Queens Boulevard Line
服務路線   E all times (任何時候停站)
   F all times (任何時候停站) <F> two rush hour trains, peak direction (two rush hour trains, peak direction)
   M weekdays until 11:00 p.m. (weekdays until 11:00 p.m.)
   R all hours except late nights (all hours except late nights)
結構underground
月台2 island platforms
軌道4
其他資訊
啟用August 19, 1933
無障礙設施無障礙設施 無障礙通行
服務
上一站 纽约地铁 纽约地铁 下一站
Queens Plaza
E all except late nights

快車
Forest Hills–71st Avenue
E all except late nightsF all times <F> two rush hour trains, peak direction
東行
21st Street–Queensbridge
F all times <F> two rush hour trains, peak direction

快車
65th Street
E 僅深夜停站F 僅深夜停站M 僅平日停站R 任何時候停站(深夜除外)

慢車
Elmhurst Avenue
E 僅深夜停站F 僅深夜停站M 僅平日停站R 任何時候停站(深夜除外)
位置
Infobox New York City Subway station在紐約地鐵的位置
Infobox New York City Subway station
Infobox New York City Subway station在纽约市的位置
Infobox New York City Subway station
Infobox New York City Subway station在纽约州的位置
Infobox New York City Subway station
街道圖

地图

第二个信息框展示了IND皇后林荫路线部分的信息。

IRT法拉盛线部分的信息展示格式类似。

((Infobox New York City Subway station
| name = Jackson Heights–<br/>&nbsp;Roosevelt Avenue
| image = Bad Title Example.png
| image_caption = Caption for Bad Title Example.png
| image_size = 200px
| alt = Alternate text for Example
| bg_color = #11117D
| bg_color_2 = #FF6E1A
| division = IND
| line = [[IND Queens Boulevard Line]]
| service = Queens
| structure = underground
| platforms = 2 [[island platform]]s
| tracks = 4
| open_date = 	August 19, 1933
| accessible = yes
| adjacent_stations = ((Adjacent stations|system=New York City Subway
|line1=Queens express Roosevelt|left1=Queens Plaza|right1=Forest Hills–71st Avenue|note-left1=((NYCS Queens Plaza express|time=1))|note-right1=((NYCS Queens express|time=1))
|line2=Queens express via 63rd|left2=21st Street–Queensbridge|right2=Forest Hills–71st Avenue|note-left2=((NYCS 63rd IND|time=1))|note-right2=((NYCS Queens express|time=1))
|line3=Queens local|left3=65th Street|right3=Elmhurst Avenue|note-left3=((NYCS Queens local|time=1))|note-right3=((NYCS Queens local|time=1))))
| layout=
| coordinates = ((coord|40|44|48.35|N|73|53|29.47|W|type:railwaystation_region:US|display=inline))
))

微格式[编辑]

本模板產生的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更名或删除。

當指定經緯度數值時,請避免太過詳細。

另请参见[编辑]

参考资料[编辑]

  1. ^ "NYC Subway Wireless – Active Stations". Transit Wireless Wifi. Retrieved 2016-05-18.