![]() | Bản mẫu này sử dụng những tính năng phức tạp của cú pháp bản mẫu.
Bạn được khuyến khích làm quen với cấu trúc của bản mẫu này và các hàm cú pháp trước khi sửa đổi bản mẫu. Nếu sửa đổi của bạn gây ra lỗi không mong muốn, hãy sửa chữa hoặc lùi lại nhanh chóng, vì bản mẫu này có thể xuất hiện trên một số lượng lớn trang. |
![]() | Bản mẫu này sử dụng Lua: |
This template generates an infobox for roads, both numbered and unnumbered. Below is the basic syntax needed to get a complete infobox for an article. Place this below any hatnotes and before any other text and fill in the variables. If a variable is empty, it should be omitted. Other, more specific, parameters exist and are described in detail below.
This is the basic code needed to set up an infobox for a numbered route.
{{Infobox road | country = | type = | route = | map = | length_mi = | length_km = | length_round = | length_ref = | established = | direction_a = | terminus_a = | junction = | direction_b = | terminus_b = | previous_type = | previous_route = | next_type = | next_route = }}
This is the basic code needed to set up an infobox for an unnumbered route. See also {{infobox street}}.
{{Infobox road | name = | marker_image = | map = | length_mi = | length_km = | length_round = | length_ref = | established = | allocation = | direction_a = | terminus_a = | junction = | direction_b = | terminus_b = }}
{{Infobox road | country = | name = | state = | type = | route = | alternate_name = | marker_image = | province = | subtype = | county = | translation = | map = | map_notes = | image = | image_width = | image_alt = | image_notes = | section = | maint = | time_period = | length_mi = | length_km = | length_notes = | established = | formed = | history = | known_for = | spur_of = | restrictions = | tourist = | allocation = | status = | spur_type = | e-road = | ahn = | tahn = | mrn = | e-road-shield = | arn-shield = | tahn-shield = | mrn-shield = | established_by = | header_type = | decommissioned = | deleted = | significance = | related = | terminus_a = | end_a = | beltway_city = | orbital = | loop = | tloop = | junction = | section0 = | ring_road = | direction_a = | terminus_b = | end_b = | direction_b = | system = | previous_route = | browse = | previous_type = | browse_route = | next_type = | next_route = | previous_dab = | next_dab = | nrhp = }}
These parameters are typically used only for numbered routes.
|country=AUS
must also be set if the state is NT or WA to avoid conflicts with other countries.These parameters are typically used only for roads of a historic nature, such as the Silk Road.
File:
namespace prefix, which the template will place into an image link for you. For example, map=map_name|map_alt=alt text
will render as: [[File:map_name|290x172px|alt=alt text]]
. Note: this will pull the file name from Wikidata if left empty and the associated item has the information.
map=[[File:map_name|...]]
File:
namespace prefix, which the template will place into an image link for you. For example, photo=photo_name|photo_alt=alt text
will render as: [[File:photo_name|290px|alt=alt text]]
.
|header_type=
with historic, former or under construction values (or their alternates).|tloop=none
will omit a location around which the roadway would loop.This template is capable of creating separate "major intersection" sections for individual segments of a route that is split into two to four segments. The parameters associated with this feature are:
This infobox has several parameters to list locations; however, many are restricted to use in only certain regions or countries for various reasons, including but not limited to local WikiProject consensus and common sense (for example, "countries" shouldn't be used on intra-country articles, and since the only locations with rural municipalities are Manitoba and Saskatchewan, "rural_municipalities" should be used there and nowhere else). Even where usage is possible, each parameter is still optional on an article-by-article basis based on local consensus.
Parameter | Usage | Allowed for |
---|---|---|
countries | a list of countries that the route enters | EUR, ASIA |
regions | a list of regions that the route enters | EUR, ITA, HRV, CZE, CYP, GRC, POL, SVN, SVK, AUT, TUR, UKR, BIH, SRB, SGP |
states | a list of states that the route enters | USA (but not for intrastate articles), IND, DEU |
provinces | a list of provinces that the route enters | CAN, IRN, TUR, THA, BEL, NLD |
counties | a list of counties that the route enters | HUN (no restrictions) |
parishes | a list of parishes that the route enters | Louisiana (USA) |
rural_municipalities | a list of rural municipalities that the route enters | Manitoba, Saskatchewan (CAN) |
municipalities | a list of municipalities that the route enters | Puerto Rico (USA) |
districts | a list of districts that the route enters | Indian states (and other locations) that use districts instead of counties |
cities | used to list the cities that the route serves | everywhere but USA (per USRD) |
towns | used to list the towns that the route serves | everywhere but USA (per USRD) |
villages | used to list the villages that the route serves | everywhere but USA (per USRD) |
destinations | used to list the Primary destinations that the route serves | AUS, GBR, IRL, MYS, NZL, IND |
lga | used to list the Local Government Areas that the route servers | AUS |
locations | used to list the locations that the route serves; label varies based on route type | AUS |
New Jersey Turnpike | ||||||
---|---|---|---|---|---|---|
![]() Map of the New Jersey Turnpike mainline and spurs in red in relation to other Interstates (blue) and toll roads (green) in the state | ||||||
Thông tin tuyến đường | ||||||
Được quản lý bởi the New Jersey Turnpike Authority | ||||||
Chiều dài | 122,40 mi[4][2] (196,98 km)
| |||||
Đã tồn tại | 1951 – nay | |||||
Thành phần đường cao tốc |
| |||||
Các điểm giao cắt chính | ||||||
Đầu South | Lỗi Lua trong Mô_đun:Jct tại dòng 204: attempt to concatenate local 'link' (a boolean value). in Pennsville Township | |||||
| ||||||
Đầu North | Lỗi Lua trong Mô_đun:Jct tại dòng 204: attempt to concatenate local 'link' (a boolean value). in Fort Lee | |||||
Vị trí | ||||||
Hạt | Salem, Gloucester, Camden, Burlington, Mercer, Middlesex, Union, Essex, Hudson, Bergen | |||||
Hệ thống cao tốc | ||||||
|
{{Infobox road |state=NJ |type=Turnpike |maint=the [[New Jersey Turnpike Authority]] |map=New Jersey Turnpike simple map.svg |map_notes=Map of the New Jersey Turnpike mainline and spurs in red in relation to other Interstates (blue) and toll roads (green) in the state |map-alt=Map of New Jersey with a long red line running from the southwest corner of the state to the northeast corner of the state signifying the mainline, three short red lines signifying the spur routes |length_mi=122.40 |length_ref=<ref name="sld 0">{{cite web |author= Staff |url=http://www.state.nj.us/transportation/refdata/sldiag/00000700__-.pdf |title=Route 700 Straight Line Diagram |accessdate=March 25, 2016 |format=PDF |publisher=New Jersey Department of Transportation}}</ref><ref name="sld 1" /><!--equation is 76.78+52.17-6.55=122.4--> |length_notes={{plainlist| *{{convert|11.03|mi|km|2|abbr=on}}—Western Spur<ref name="sld 2">{{cite web |author= Staff |url=http://www.state.nj.us/transportation/refdata/sldiag/00000095W_-.pdf |title=Route 95W Straight Line Diagram |accessdate=March 25, 2016 |format=PDF |publisher=New Jersey Department of Transportation}}</ref> *{{convert|6.55|mi|km|2|abbr=on}}—Pennsylvania Extension<ref name="sld 1">{{cite web |author= Staff |url=http://www.state.nj.us/transportation/refdata/sldiag/00000095__-.pdf |title=Route 95 Straight Line Diagram |accessdate=March 25, 2016 |format=PDF |publisher=New Jersey Department of Transportation}}</ref> *{{convert|8.17|mi|km|1|abbr=on}}—Newark Bay Extension<ref name="sld 3">{{cite web |author= Staff |url=http://www.state.nj.us/transportation/refdata/sldiag/00000078__-.pdf |title=Route 78 Straight Line Diagram |accessdate=March 25, 2016 |format=PDF |publisher=New Jersey Department of Transportation}}</ref> }} |established=1951 |allocation={{plainlist|1= *{{jct|state=NJ|US|40}} in [[Pennsville Township, New Jersey|Pennsville Township]] *{{Jct|state=NJ|Route|700|nolink1=yes|noshield1=yes}} from [[Pennsville Township, New Jersey|Pennsville Township]] to [[Mansfield Township, Burlington County, New Jersey|Mansfield Township]] *{{jct|state=NJ|I|95}} from Mansfield Township to [[Fort Lee, New Jersey|Fort Lee]] *{{Jct|state=NJ|I|78}} from I-95 to [[New Jersey Route 139|Route 139]] }} |direction_a=South |direction_b=North |terminus_a={{jct|state=NJ|I|295|US|40}} in Pennsville Township |junction={{plainlist| *{{jct|state=NJ|PAEX|nolink1=yes||I|95}} in [[Mansfield Township, Burlington County, New Jersey|Mansfield Township]] *{{jct|state=NJ|I|195}} in [[Robbinsville Township, New Jersey|Robbinsville Township]] *{{jct|state=NJ|I|287|NJ|440}} in [[Edison, New Jersey|Edison Township]] *{{jct|state=NJ|GSP||US|9}} in [[Woodbridge Township, New Jersey|Woodbridge Township]] *{{jct|state=NJ|I|278}} in [[Linden, New Jersey|Linden]]/[[Elizabeth, New Jersey|Elizabeth]] *{{jct|state=NJ|I|78|US|1-9|US|22}} in [[Newark, New Jersey|Newark]] *{{jct|state=NJ|I|280}} in [[Kearny, New Jersey|Kearny]] *{{jct|state=NJ|NJ|495}} in [[Secaucus, New Jersey|Secaucus]] *{{jct|state=NJ|I|80}} in [[Teaneck, New Jersey|Teaneck Township]] *{{jct|state=NJ|US|1-9|US|46|US|9W|PIP}} in [[Fort Lee, New Jersey|Fort Lee]] }} |terminus_b={{jct|state=NJ|I|95|US|1-9|US|46}} in Fort Lee |counties=[[Salem County, New Jersey|Salem]], [[Gloucester County, New Jersey|Gloucester]], [[Camden County, New Jersey|Camden]], [[Burlington County, New Jersey|Burlington]], [[Mercer County, New Jersey|Mercer]], [[Middlesex County, New Jersey|Middlesex]], [[Union County, New Jersey|Union]], [[Essex County, New Jersey|Essex]], [[Hudson County, New Jersey|Hudson]], [[Bergen County, New Jersey|Bergen]] |previous_type=I |previous_route=695 |browse_route=700 |next_type=I |next_route=895 |browse={{nj browse |previous_type=I |previous_route=95 |route={{nowrap|100}} |next_type=NJ-old |next_route=101 }}{{nj browse |previous_type=I |previous_route=295 |route={{nowrap|300}} |next_type=NJ |next_route=303 }} }}
See Infobox road/doc/tech for details on the inner workings of the template, including a list of tracking categories.
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.
Dữ liệu bản mẫu cho Hộp thông tin đường An infobox template for highway articles.
|