Jump to content

Template:Infobox road/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
remove High-use template from sandbox display
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{documentation subpage}}<includeonly>
{{documentation subpage}}<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{High-use}}
</includeonly>
</includeonly>
<!-------------------------------------------------------------------
<!-------------------------------------------------------------------
Line 17: Line 17:
This is the basic code needed to set up an infobox for a numbered route.
This is the basic code needed to set up an infobox for a numbered route.


<pre style="overflow: auto;">
<syntaxhighlight lang="wikitext" style="overflow: auto;">
{{Infobox road
{{Infobox road
| country =
| country =
Line 37: Line 37:
| next_route =
| next_route =
}}
}}
</syntaxhighlight>
</pre>


=== Unnumbered roads ===
=== Unnumbered roads ===
This is the basic code needed to set up an infobox for an unnumbered route. See also {{tl|infobox street}}.
This is the basic code needed to set up an infobox for an unnumbered route. See also {{tl|infobox street}}.


<pre style="overflow: auto;">
<syntaxhighlight lang="wikitext" style="overflow: auto;">
{{Infobox road
{{Infobox road
| name =
| name =
Line 58: Line 58:
| terminus_b =
| terminus_b =
}}
}}
</syntaxhighlight>
</pre>


=== Full ===
=== Full===
{{Hidden |style=overflow:auto; border:1px solid silver; |titlestyle=background-color:#CFC; |title=Extended content |content=
{{Hidden | style=overflow:auto; border:1px solid silver; | titlestyle=background-color:#CFC; | title=Extended content | content=
{{Parameter names example
<pre style="overflow: auto;">
| country=AFG
{{Infobox road
| name
| country =
| name =
| type
| state =
| route
| alternate_name
| type =
| marker_image
| route =
| translation
| alternate_name =
| lang=en
| marker_image =
| map
| province =
| map_notes
| subtype =
| image
| county =
| image_width
| translation =
| image_alt
| map =
| image_notes
| map_notes =
| image =
| section
| maint
| image_width =
| time_period
| image_alt =
| length_mi=0
| image_notes =
| length_km
| section =
| length_nmi
| maint =
| length_mi1=0
| time_period =
| length_km1
| length_mi =
| length_mi2
| length_km =
| length_km2=0
| length_notes =
| length_mi3=0
| established =
| length_km3
| formed =
| length_mi4
| history =
| known_for =
| length_km4=0
| spur_of =
| length_mi5=0
| length_km5
| restrictions =
| length_mi6
| tourist =
| length_km6=0
| allocation =
| status =
| length_mi7=0
| length_km7
| spur_type =
| length_mi8
| e-road =
| ahn =
| length_km8=0
| tahn =
| length_mi9=0
| length_km9
| mrn =
| length_mi10
| e-road-shield =
| length_km10=0
| arn-shield =
| length_notes
| tahn-shield =
| length_notes1
| mrn-shield =
| length_notes2
| established_by =
| length_notes3
| header_type =
| length_notes4
| decommissioned =
| length_notes5
| deleted =
| length_notes6
| significance =
| length_notes7
| related =
| length_notes8
| terminus_a =
| length_notes9
| end_a =
| length_notes10
| beltway_city =
| length_ref
| orbital =
| length_ref1
| loop =
| length_ref2
| tloop =
| length_ref3
| junction =
| length_ref4
| section0 =
| length_ref5
| ring_road =
| length_ref6
| direction_a =
| length_ref7
| terminus_b =
| length_ref8
| end_b =
| length_ref9
| direction_b =
| length_ref10
| system =
| established
| previous_route =
| formed
| browse =
| history
| previous_type =
| known_for
| browse_route =
| restrictions
| next_type =
| tourist
| next_route =
| allocation
| previous_dab =
| margary
| next_dab =
| nrhp =
| status
| e-road
| ahn
| tahn
| mrn
| e-road-shield
| tahn-shield
| mrn-shield
| established_by
| header_type
| decommissioned
| deleted
| significance
| related
| terminus_a
| end_a
| beltway_city
| ring_road
| orbital
| loop
| tloop
| junction
| junction1
| junction2
| junction3
| junction4
| junction5
| junction6
| junction7
| junction8
| junction9
| junction10
| section0
| direction_a
| terminus_b
| end_b
| direction_b
| section1
| direction_a1
| terminus_a1
| direction_b1
| terminus_b1
| section2
| direction_a2
| terminus_a2
| direction_b2
| terminus_b2
| section3
| direction_a3
| terminus_a3
| direction_b3
| terminus_b3
| section4
| direction_a4
| terminus_a4
| direction_b4
| terminus_b4
| section5
| direction_a5
| terminus_a5
| direction_b5
| terminus_b5
| section6
| direction_a6
| terminus_a6
| direction_b6
| terminus_b6
| section7
| direction_a7
| terminus_a7
| direction_b7
| terminus_b7
| section8
| direction_a8
| terminus_a8
| direction_b8
| terminus_b8
| section9
| direction_a9
| terminus_a9
| direction_b9
| terminus_b9
| section10
| direction_a10
| terminus_a10
| direction_b10
| terminus_b10
| system
| system1
| system2
| system3
| system4
| system5
| system6
| system7
| system8
| system9
| system10
| browse
| nrhp
| countries
| island
| community
| communities
| regions
| province
| provinces
| state
| states
| governorates
| county
| counties
| departments
| cantons
| prefectures
| divisions
| oblasts
| districts
| parish
| parishes
| communes
| territories
| location1
| location2
| location3
| location4
| location5
| subregions
| subcounties
| subprefectures
| label1
| label2
| label3
| label4
| label5
| lga
| locations
| rural_municipalities
| divisions
| republics
| okrugs
| krais
| federal_cities
| borough
| boroughs
}}
}}
'''Notes'''
</pre>
*{{para|country|AFG}} shown for convenience.
}}
}}


Line 146: Line 291:
** '''Canadian province''': the two-letter [[Canadian subnational postal abbreviations|postal abbreviation]] of the province.
** '''Canadian province''': the two-letter [[Canadian subnational postal abbreviations|postal abbreviation]] of the province.
** '''Mexican state''': the three-letter [[ISO 3166-2:MX]] code of the state, minus the "MX-" prefix.
** '''Mexican state''': the three-letter [[ISO 3166-2:MX]] code of the state, minus the "MX-" prefix.
* '''type''': the type of route the article is about. See [[Template:Infobox road/doc/type|this page]] for a list.
* '''type''': the type of route the article is about. The type code can be used to make shield images appear automatically. See [[Template:Infobox road/doc/type|this page]] for a list.
* '''subtype''': the type of [[special route]] that the article route is, if applicable
* '''subtype''': the type of [[special route]] that the article route is, if applicable
* '''county''': the county associated with the route that the article is about (not to be confused with the '''counties''' [[#Locations|location]] parameter). Use only for county routes.
* '''county''': the county associated with the route that the article is about (not to be confused with the '''counties''' [[#Locations|location]] parameter). Use only for county routes.
Line 160: Line 305:
* '''next_route''': the number of the route succeeding this one
* '''next_route''': the number of the route succeeding this one
* '''next_dab''': same as "previous_dab" but for the route following this one
* '''next_dab''': same as "previous_dab" but for the route following this one
* '''browse''': use to add additional browse lines, which are generated by templates similar to {{tl|ny browse}}. These templates accept the seven parameters given above plus "county"; however, "route" is used instead of "browse_route".
* '''browse''': use to add additional browse lines, which are generated by templates similar to {{tl|ny browse}}. These templates accept the seven parameters given above plus "county"; however, "route" is used instead of "browse_route". See [[:Category:Browse templates]].


=== Historical roads ===
=== Historical roads ===
Line 197: Line 342:
* '''tourist''': a list of the tourist routes that follow the route; currently only set up for use in Australia, New Zealand, Canada, and the US.
* '''tourist''': a list of the tourist routes that follow the route; currently only set up for use in Australia, New Zealand, Canada, and the US.
* '''restrictions''': a brief mention of any restrictions on the road. Examples include regular seasonal closures or permit requirements needed by motorists.
* '''restrictions''': a brief mention of any restrictions on the road. Examples include regular seasonal closures or permit requirements needed by motorists.
* '''nhs''': sections of the road included in the [[National Highway System (United States)|US National Highway System (NHS)]] network. If the entire road is part of the NHS, input "Entire route". This parameter is automatically generated for [[Interstate Highway System|US Interstate Highways]] (with <code>type=I</code>).


=== Major intersections ===
=== Major intersections ===
Line 714: Line 860:
== Example ==
== Example ==
{{Infobox road
{{Infobox road
|state=NJ
| state = NJ
|type=Turnpike
| type = NJTP
|maint=the [[New Jersey Turnpike Authority]]
| map = {{maplink-road|from=New Jersey Turnpike.map}}
| map_custom = yes
|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_notes = New Jersey Turnpike mainline and spurs highlighted in green
|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
| 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_mi = 117.20
|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_ref = <ref name="sld 1" /><ref name="sld 0">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000700__-.pdf |title = Route 700 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304211723/http://www.state.nj.us/transportation/refdata/sldiag/00000700__-.pdf |archive-date = March 4, 2016 |df = mdy-all |author-link = New Jersey Department of Transportation }}</ref><!--equation is 76.78+52.17-6.55=122.4-->
|length_notes={{plainlist|
| length_notes = (Mainline) {{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>
* {{cvt|11.03|mi|km}}—Western Spur<ref name="sld 2">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095W_-.pdf |title = Route 95W Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160113180423/http://www.state.nj.us/transportation/refdata/sldiag/00000095W_-.pdf |archive-date = January 13, 2016 |df = mdy-all }}</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>
* {{cvt|6.55|mi|km}}—Pennsylvania Extension<ref name="sld 1">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095__-.pdf |title = Route 95 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304210126/http://www.state.nj.us/transportation/refdata/sldiag/00000095__-.pdf |archive-date = March 4, 2016 |df = mdy-all }}</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>
* {{cvt|8.17|mi|km}}—Newark Bay Extension<ref name="sld 3">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000078__-.pdf |title = Route 78 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304212003/http://www.state.nj.us/transportation/refdata/sldiag/00000078__-.pdf |archive-date = March 4, 2016 |df = mdy-all }}</ref>
* {{cvt|5.20|mi|km}}—I-95 Extension<ref name="sld 1" />
* {{cvt|148.18|mi|km}}—Total Length of Turnpike including Extensions
}}
}}
|established=1951
| established = 1951
|allocation={{plainlist|1=
| allocation =
*{{jct|state=NJ|US|40}} in [[Pennsville Township, New Jersey|Pennsville Township]]
* {{Jct|state=NJ|Route|700|nolink=yes|noshield1=yes}} (unsigned) from [[Pennsville Township, New Jersey|Pennsville Township]] to [[Mansfield Township, Burlington County, New Jersey|Mansfield 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-Toll|95}} from [[Burlington Township, New Jersey|Burlington Township]] to [[Fort Lee, New Jersey|Fort Lee]]
*{{jct|state=NJ|I|95}} from Mansfield Township to [[Fort Lee, New Jersey|Fort Lee]]
* {{jct|state=NJ|I-Toll|78}} Newark Bay Extension from [[Newark, New Jersey|Newark]] to [[Jersey City, New Jersey|Jersey City]]
| restrictions = Buses and commercial vehicles must use outer roadways between Exits 6 and 14
*{{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|US|130}} in [[Pennsville Township, New Jersey|Pennsville]] near the [[Delaware Memorial Bridge]]
| junction =
* {{jct|state=NJ|NJ|73}} in [[Mount Laurel, New Jersey|Mount Laurel]]
* {{jct|state=NJ|I-Toll|95|PAEX|nolink2=yes}} 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]]
* {{jct|state=NJ|GSP||US|9}} in [[Woodbridge Township, New Jersey|Woodbridge Township]]
* {{jct|state=NJ|I|278}} in [[Elizabeth, New Jersey|Elizabeth]]
* {{jct|state=NJ|I-Toll|78|NBEX||US|1-9|nolink2=yes}} 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]]
| terminus_b = {{jct|state=NJ|I|95|US|1-9|US|46|NJ|4|US|9W|PIP|}} in [[Fort Lee, New Jersey|Fort Lee]] near the [[George Washington Bridge]]
| 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 = Route&nbsp;700
| next_type = I
| next_route = 895
| browse = {{nj browse|previous_type=I|previous_route=95|route=Route&nbsp;100|next_type=NJ-old|next_route=101
}}{{nj browse|previous_type=I|previous_route=295|route=Route&nbsp;300|next_type=NJ|next_route=303}}
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
|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
}}
}}
<pre style="overflow:auto;">
{{Infobox road
{{Infobox road
|state=NJ
| state = NJ
|type=Turnpike
| type = NJTP
|maint=the [[New Jersey Turnpike Authority]]
| map = {{maplink-road|from=New Jersey Turnpike.map}}
| map_custom = yes
|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_notes = New Jersey Turnpike mainline and spurs highlighted in green
|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
| 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_mi = 117.20
| length_ref = <ref name="sld 1" /><ref name="sld 0">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000700__-.pdf |title = Route 700 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304211723/http://www.state.nj.us/transportation/refdata/sldiag/00000700__-.pdf |archive-date = March 4, 2016 |df = mdy-all |author-link = New Jersey Department of Transportation }}</ref><!--equation is 76.78+52.17-6.55=122.4-->

| length_notes = (Mainline) {{plainlist|
|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-->
* {{cvt|11.03|mi|km}}—Western Spur<ref name="sld 2">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095W_-.pdf |title = Route 95W Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160113180423/http://www.state.nj.us/transportation/refdata/sldiag/00000095W_-.pdf |archive-date = January 13, 2016 |df = mdy-all }}</ref>
|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>
* {{cvt|6.55|mi|km}}—Pennsylvania Extension<ref name="sld 1">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095__-.pdf |title = Route 95 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304210126/http://www.state.nj.us/transportation/refdata/sldiag/00000095__-.pdf |archive-date = March 4, 2016 |df = mdy-all }}</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>
* {{cvt|8.17|mi|km}}—Newark Bay Extension<ref name="sld 3">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000078__-.pdf |title = Route 78 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304212003/http://www.state.nj.us/transportation/refdata/sldiag/00000078__-.pdf |archive-date = March 4, 2016 |df = mdy-all }}</ref>
* {{cvt|5.20|mi|km}}—I-95 Extension<ref name="sld 1" />
*{{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>
* {{cvt|148.18|mi|km}}—Total Length of Turnpike including Extensions
}}
|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
}}
}}
| established = 1951
| allocation =
* {{Jct|state=NJ|Route|700|nolink=yes|noshield1=yes}} (unsigned) from [[Pennsville Township, New Jersey|Pennsville Township]] to [[Mansfield Township, Burlington County, New Jersey|Mansfield Township]]
* {{jct|state=NJ|I-Toll|95}} from [[Burlington Township, New Jersey|Burlington Township]] to [[Fort Lee, New Jersey|Fort Lee]]
* {{jct|state=NJ|I-Toll|78}} Newark Bay Extension from [[Newark, New Jersey|Newark]] to [[Jersey City, New Jersey|Jersey City]]
| restrictions = Buses and commercial vehicles must use outer roadways between Exits 6 and 14
| direction_a = South
| direction_b = North
| terminus_a = {{jct|state=NJ|I|295|US|40|US|130}} in [[Pennsville Township, New Jersey|Pennsville]] near the [[Delaware Memorial Bridge]]
| junction =
* {{jct|state=NJ|NJ|73}} in [[Mount Laurel, New Jersey|Mount Laurel]]
* {{jct|state=NJ|I-Toll|95|PAEX|nolink2=yes}} 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]]
* {{jct|state=NJ|GSP||US|9}} in [[Woodbridge Township, New Jersey|Woodbridge Township]]
* {{jct|state=NJ|I|278}} in [[Elizabeth, New Jersey|Elizabeth]]
* {{jct|state=NJ|I-Toll|78|NBEX||US|1-9|nolink2=yes}} 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]]
| terminus_b = {{jct|state=NJ|I|95|US|1-9|US|46|NJ|4|US|9W|PIP|}} in [[Fort Lee, New Jersey|Fort Lee]] near the [[George Washington Bridge]]
| 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 = Route&nbsp;700
| next_type = I
| next_route = 895
| browse = {{nj browse|previous_type=I|previous_route=95|route=Route&nbsp;100|next_type=NJ-old|next_route=101
}}{{nj browse|previous_type=I|previous_route=295|route=Route&nbsp;300|next_type=NJ|next_route=303}}
}}
}}
</syntaxhighlight>
</pre>


; Example references
'''Example references'''
{{Reflist}}
{{Reflist}}


{{Clear}}
== TemplateData ==
== TemplateData ==
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
Line 1,503: Line 1,627:
* {{clc|Infobox road transclusion errors}}
* {{clc|Infobox road transclusion errors}}
* {{clc|Infobox road maps for Wikidata migration}}
* {{clc|Infobox road maps for Wikidata migration}}
* {{clc|Infobox road articles without wikidata country}}
* {{clc|Infobox road articles without Wikidata country}}
* {{clc|Infobox road articles without wikidata instance of}}
* {{clc|Infobox road articles without Wikidata instance of}}
* {{clc|Pages using infobox road with unknown parameters}}
* {{clc|Pages using infobox road with unknown parameters}}

== Instances ==
* {{Category tree|Infobox road instances by country}}


== See also ==
== See also ==
Line 1,520: Line 1,647:
[[Category:Infobox templates using Wikidata]]
[[Category:Infobox templates using Wikidata]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]

}}</includeonly>
}}</includeonly>

Latest revision as of 04:16, 26 July 2024

Usage

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.

Numbered roads

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_ref =
| established =
| direction_a =
| terminus_a =
| junction =
| direction_b =
| terminus_b =
| previous_type =
| previous_route =
| next_type =
| next_route =
}}

Unnumbered roads

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_ref =
| established =
| allocation =
| direction_a =
| terminus_a =
| junction =
| direction_b =
| terminus_b =
}}

Full

Extended content
{{{marker_image}}}
{{{name}}}
{{{translation}}}
{{{alternate_name}}}
[[File:{{{map}}}|300px|alt=]]
{{{map_notes}}}
[[File:{{{image}}}|{{{image_width}}}|alt={{{image_alt}}}]]
{{{image_notes}}}
Route information
{{{e-road-shield}}} Part of {{{e-road}}}
Part of {{{ahn}}}
{{{tahn-shield}}} Part of {{{tahn}}}
{{{mrn-shield}}} Part of {{{mrn}}}
Maintained by {{{maint}}}
Established by {{{established_by}}}
Length0 mi{{{length_ref}}} (0 m)
{{{length_notes}}}
Status{{{status}}}
Existed{{{established}}}–{{{decommissioned}}}
History{{{history}}}
Time period{{{time_period}}}
Cultural significance{{{significance}}}
Known for{{{known_for}}}
Related routes{{{related}}}
Component
highways
{{{allocation}}}
Tourist
routes
{{{tourist}}}
Restrictions{{{restrictions}}}
Margary number{{{margary}}}
{{{section0}}}
Ring road around {{{ring_road}}}
{{{direction_a}}} end{{{terminus_a}}}
Major intersections{{{junction}}}
{{{direction_b}}} end{{{terminus_b}}}
{{{section1}}}
Length0 mi{{{length_ref1}}} (0 m)
{{{length_notes1}}}
{{{direction_a1}}} end{{{terminus_a1}}}
Major intersections{{{junction1}}}
{{{direction_b1}}} end{{{terminus_b1}}}
{{{section2}}}
Length0 km{{{length_ref2}}} (0 mi; 0 ft)
{{{length_notes2}}}
{{{direction_a2}}} end{{{terminus_a2}}}
Major intersections{{{junction2}}}
{{{direction_b2}}} end{{{terminus_b2}}}
{{{section3}}}
Length0 mi{{{length_ref3}}} (0 m)
{{{length_notes3}}}
{{{direction_a3}}} end{{{terminus_a3}}}
Major intersections{{{junction3}}}
{{{direction_b3}}} end{{{terminus_b3}}}
{{{section4}}}
Length0 km{{{length_ref4}}} (0 mi; 0 ft)
{{{length_notes4}}}
{{{direction_a4}}} end{{{terminus_a4}}}
Major intersections{{{junction4}}}
{{{direction_b4}}} end{{{terminus_b4}}}
{{{section5}}}
Length0 mi{{{length_ref5}}} (0 m)
{{{length_notes5}}}
{{{direction_a5}}} end{{{terminus_a5}}}
Major intersections{{{junction5}}}
{{{direction_b5}}} end{{{terminus_b5}}}
{{{section6}}}
Length0 km{{{length_ref6}}} (0 mi; 0 ft)
{{{length_notes6}}}
{{{direction_a6}}} end{{{terminus_a6}}}
Major intersections{{{junction6}}}
{{{direction_b6}}} end{{{terminus_b6}}}
{{{section7}}}
Length0 mi{{{length_ref7}}} (0 m)
{{{length_notes7}}}
{{{direction_a7}}} end{{{terminus_a7}}}
Major intersections{{{junction7}}}
{{{direction_b7}}} end{{{terminus_b7}}}
{{{section8}}}
Length0 km{{{length_ref8}}} (0 mi; 0 ft)
{{{length_notes8}}}
{{{direction_a8}}} end{{{terminus_a8}}}
Major intersections{{{junction8}}}
{{{direction_b8}}} end{{{terminus_b8}}}
{{{section9}}}
Length0 mi{{{length_ref9}}} (0 m)
{{{length_notes9}}}
{{{direction_a9}}} end{{{terminus_a9}}}
Major intersections{{{junction9}}}
{{{direction_b9}}} end{{{terminus_b9}}}
{{{section10}}}
Length0 km{{{length_ref10}}} (0 mi; 0 ft)
{{{length_notes10}}}
{{{direction_a10}}} end{{{terminus_a10}}}
Major intersections{{{junction10}}}
{{{direction_b10}}} end{{{terminus_b10}}}
Location
CountryAfghanistan
Island{{{island}}}
Communities{{{communities}}}
Regions{{{regions}}}
Provinces{{{provinces}}}
States{{{states}}}
Governorates{{{governorates}}}
Counties{{{counties}}}
Departments{{{departments}}}
Cantons{{{cantons}}}
Prefectures{{{prefectures}}}
Divisions{{{divisions}}}
Oblasts{{{oblasts}}}
Districts{{{districts}}}
Parishes{{{parishes}}}
Communes{{{communes}}}
Territories{{{territories}}}
{{{label1}}}{{{location1}}}
{{{label2}}}{{{location2}}}
{{{label3}}}{{{location3}}}
{{{label4}}}{{{location4}}}
{{{label5}}}{{{location5}}}
Subregions{{{subregions}}}
Subcounties{{{subcounties}}}
Subprefectures{{{subprefectures}}}
Highway system
{{{system}}}
{{{system1}}}
{{{system2}}}
{{{system3}}}
{{{system4}}}
{{{system5}}}
{{{system6}}}
{{{system7}}}
{{{system8}}}
{{{system9}}}
{{{system10}}}
{{{browse}}}
{{{nrhp}}}

Notes

  • |country=AFG shown for convenience.

Parameters

Numbered roads

These parameters are typically used only for numbered routes.

  • country: the ISO 3166-1 alpha-3 code of the country that the route is in (not to be confused with the countries location parameter). Use this list to find the correct code for the country. These countries have had the necessary subtemplates set up; see that page for instructions on how to set up new countries. If the route is located in Australia, the United States, Canada, or Mexico, and the route is located within one state or province use state (Australia, US, and Mexico) or province (Canada) instead (not to confused with the states and provinces location parameters). The "state" and "province" parameters are not interchangeable. Accepted values for these two parameters are as follows:
    • Australian state: the two- or three-letter abbreviation of the state. Note: |country=AUS must also be set if the state is NT or WA to avoid conflicts with other countries.
    • U.S. state: the two-letter postal abbreviation of the state.
    • Canadian province: the two-letter postal abbreviation of the province.
    • Mexican state: the three-letter ISO 3166-2:MX code of the state, minus the "MX-" prefix.
  • type: the type of route the article is about. The type code can be used to make shield images appear automatically. See this page for a list.
  • subtype: the type of special route that the article route is, if applicable
  • county: the county associated with the route that the article is about (not to be confused with the counties location parameter). Use only for county routes.
  • route: the number of the route.
  • section: the section of code that defines this route. Very few areas use this, and the appropriate subpage ([[/law/USA]] for example) must be set up for the parameter to work. The state of Minnesota also uses subsection to specify the exact section of the legal code definition.
  • spur_type: defines the type of route that the route is a spur of. Use for spur routes, such as a loop road, bypass, alternate route, business route, truck route, or other type of route. Example: Use WV for West Virginia Route 10 Alternate.
  • spur_of: defines what the parent route is, such as Highway 7A's parent is Highway 7, or Interstate 110's parent is Interstate 10. The usual text that would go here is the road number, such as "7" or "10" or "500".
  • previous_type: this is the type of route that proceeds the current one in the system. See this page for a list.
  • previous_route: the number of the route preceding this one
  • previous_dab: any disambiguation needed to generate the correct link to the previous route
  • browse_route: the route associated with the current browse row. Typically used only if the browsing route is not the route that the rest of the infobox is about.
  • next_type: same as "previous_type" but for the route following this one
  • next_route: the number of the route succeeding this one
  • next_dab: same as "previous_dab" but for the route following this one
  • browse: use to add additional browse lines, which are generated by templates similar to {{ny browse}}. These templates accept the seven parameters given above plus "county"; however, "route" is used instead of "browse_route". See Category:Browse templates.

Historical roads

These parameters are typically used only for roads of a historic nature, such as the Silk Road.

  • time_period: the time period that the road existed in.
    • established_by: the body that built or established the road. Used only in conjunction with "time_period".
    • significance: the historical/cultural significance of the route. Used only in conjunction with "time_period".
    • related: roads related to the historical road. Used only in conjunction with "time_period".
  • margary: the Margary number of a Roman road in Britain.

Route information

  • marker_image: shield image to be displayed. Requires full wiki markup. Typically not needed for numbered routes. Can be set to 'none' to show no marker
  • name: road name to be displayed. Typically not needed for numbered routes.
  • maint: the agency that maintains the highway. If the appropriate subpage ([[/maint/USA]] for example) exists and a specific jurisdiction is specified (such as "state=AZ"), this parameter will be filled in automatically with that jurisdiction's department of transportation. "maint" still works, however, if the default agency needs to be overwritten, for instance if the route is maintained by another agency.
  • alternate_name: Use in situations where the entire route has another name. For example, New York State Route 590 is called the Sea Breeze Expressway for its entire length.
  • map: image name of a map for the route, without the 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_alt: alt text for the map, for visually impaired readers. See WP:ALT. This parameter should be specified if map is specified.
    • map_notes: an optional parameter with text to display along with the map.
    • map_custom: optionally set to yes if you want to override the template's default image link; then you may specify your own complete image link with: map=[[File:map_name|...]]
    • For best results, your map image width should be 290px.
    • See the WP:USRD maps task force for maps for roads in the United States.
  • photo or image: image name of a photo for the route, without the 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]].
    • photo_width or image_width: sets the width in pixels of non-map images. Default value is 290.
    • photo_alt or image_alt: alt text for the photo, for visually impaired readers. See WP:ALT. This parameter should be specified if photo is specified.
    • photo_notes or image_notes: an optional parameter with text to display along with the photo.
    • This set of parameters will not work for articles in the United States per WP:USRD consensus.
  • length_mi or length_km: length of the route in miles (in countries where the imperial system is used) or kilometres (in countries where the metric system is used). Only one can be used in an article. The value from the one defined is the one that appears first. The other is calculated and rounded to the same level of precision as the stated value. If neither "length_mi" nor "length_km" exists, no length is displayed.
    • length_ref, if defined, appears after the first length. Use a citation for the length (wrapped in <ref>...</ref> tags) or {{fact}} here. Be sure that the first length is the one for which you have a reference.
    • length_notes, if defined, appears as a note below the length. This can be used to show former length, or future length, etc.
  • status: the status of cancelled or under construction roadways; this will not show unless the infobox uses |header_type= with historic, former or under construction values (or their alternates).
  • established: this is the date or year in which the route was commissioned or assigned to its current alignment. (Alternate parameter: formed)
  • decommissioned: the date or year the route was decommissioned (Alternate parameter: deleted)
  • history: a brief summary of the route's history. Typically used in place of the above two parameters.
  • known_for: if defined, prints any notable landmarks on the road with an independent article; eg: Stonehenge, Angel of the North
  • allocation: a list of highway designations allocated to the roadway. For Australia, this uses a label of "Allocation:" while for other countries it will use "Component highways:" instead.
  • tourist: a list of the tourist routes that follow the route; currently only set up for use in Australia, New Zealand, Canada, and the US.
  • restrictions: a brief mention of any restrictions on the road. Examples include regular seasonal closures or permit requirements needed by motorists.
  • nhs: sections of the road included in the US National Highway System (NHS) network. If the entire road is part of the NHS, input "Entire route". This parameter is automatically generated for US Interstate Highways (with type=I).

Major intersections

  • beltway_city, orbital, loop, or tloop: for beltways, orbitals, loop roads, or tourist loops only. This is the city that the beltway/orbital/loop encircles. The output differs between the three to accommodate variation in English for different geographic areas. In the case of tourist loops, using |tloop=none will omit a location around which the roadway would loop.
  • direction_a: for U.S. roads, this should be either "South" or "West" per the standards set by the U.S. Roads project. For roads in other jurisdictions, consult that area's WikiProject to determine which direction to put here.
  • terminus_a or end_a: this is where the route begins and, for U.S. roads, is either at the southern terminus or western terminus
  • junction: a list of major junctions. Each WikiProject has different standards for major junctions, so consult the relevant WikiProject for more details. Uses plainlist class so {{Plainlist}} is not necessary; only a bulleted list is needed.
  • direction_b: The opposite of "direction_a"
  • terminus_b or end_b: where the route ends, in accordance with the guidelines set forth with terminus_a

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:

  • section#, where # is the number of the segment (1 being the first entered into the infobox, 2 being the next, and so on). By default, the text "Major intersections" is replaced in the header with "Section #"; this parameter allows for a custom header to be used.
  • length_mi# or length_km#: "length_mi" or "length_km" for the # segment
    • length_ref#: "length_ref" for the # segment
    • length_notes#: "length_notes" for the # segment
  • direction_a: same as described above; however, in this usage it will provide a default direction for the beginning point of all of the segments. If the direction of one endpoint is different, use direction_a# for that endpoint.
  • terminus_a# or end_a#: "terminus_a"/"end_a" for the # segment
  • junction#: "junction" for the # segment
  • direction_b: same as described above; however, in this usage it will provide a default direction for the ending point of all of the segments. If the direction of one endpoint is different, use direction_b# for that endpoint.
  • terminus_b# or end_b#: for the # segment

Location

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). Updates in 2022 added many new parameters for describing locations and made them available to more locations. Even where usage is possible, each parameter is still optional on an article-by-article basis based on local consensus.

Specific countries

Available location parameters by listed country
Country Subdivision Parameter Location description
Asian Highway Network
ASIA
|countries= Countries, only wikilinks
Australia
AUS
|state= State, two-letter abbreviation; |country=AUS is required for |state=WA
Territory, two-letter abbreviation (ACT, JBT, or NT); |country=AUS is required for |state=NT
|states= States, will not display if |state= is used
|lga= Local government areas; links based on state
|locations= Major settlements, Major suburbs, or Suburb based on type
Brazil
BRA
|state= State; two-letter abbreviation
Federal district; two-letter abbreviation (DF)
|states= States, will not display if |state= is used
Canada
CAN
All locations |province= Province, two-letter abbreviation
Territory, two-letter abbreviation (NT, NU, or YK)
|provinces= Provinces, will not display if |province= is used
Alberta
AB
|rural_municipalities= Specialized and rural municipalities
|areas= Special areas
|districts= Improvement districts
British Columbia
BC
|districts=
|rural_municipalities=
Regional districts
Manitoba
MB
|rural_municipalities= Rural municipalities
New Brunswick
NB
|counties= Counties
|parishes= Parishes
Northwest Territories
NT
|regions= Regions
Nova Scotia
NS
|counties= Counties
Nunavut
NU
|regions= Regions
Ontario
ON
|rural_municipalities= Municipalities
|counties= Counties
|regions= Regions
|districts= Districts
|divisions= Divisions
Prince Edward Island
PE
|counties= Counties
|parishes= Parishes
Québec
QC
|rural_municipalities= Regional county municipalities
|territories= Equivalent territories
Saskatchewan
SK
|rural_municipalities= Rural municipalities
Yukon
YK
China
CHN
Hong Kong SAR
HKG
|districts= Districts
Macau SAR
MAC
All other locations |province= Province; two-letter abbreviation
|provinces= Provinces; two-letter abbreviation, will not display if |province= is used
|regions= Autonomous regions
International E-road Network
EUR
|countries= Countries, only wikilinks
France
FRA
French Guiana
GUF
Guadaloupe
GLP
Martinique
MTQ
Mayotte
MYT
Reunion
REU
All other locations |regions= Regions
|departments= Departments
India
IND
|state= State; two-letter abbreviation
Union territory; two-letter abbreviation (AN, CH, DH, DL, JK, LA, LD, PY)
|states= States, will not display if |state= is used
|territories= Union territories
|districts= Districts
Mexico
MEX
|state= State; three-letter abbreviation
Autonomous city; three-letter abbreviation (CMX)
|states= States, will not display if |state= is used
Kingdom of the
Netherlands
Netherlands
NLD
|provinces= Provinces
Aruba
ABW
Curaçao
CUW
Sint Maarten
SXM
Russia
RUS
|oblasts= Oblasts
|republics= Republics
|okrugs= Autonomous okrugs
|krais= Krais
|federal_cities= Federal cities
Spain
ESP
|province= Province, one- or two-letter abbreviation; will display the appropriate autonomous community automatically
|provinces= Provinces, will not display if |province= is used
|community= Autonomous community, two-letter abbreviation; only use for inter-provincial routes
|communities= Autonomous communities; will not display if |community= is used
United Kingdom Generic usage
GBR
|counties= Counties
England
ENG
|counties= Counties
|boroughs= Boroughs
Northern Ireland
NIR
|districts= Districts
Scotland
SCT
|areas= Council areas
Wales
WLS
|counties= Counties
|boroughs= County boroughs
Guernsey
GGY
|parishes= Parishes
Isle of Man
IMN
|sheadings= Sheadings
Jersey
JEY
|parishes= Parishes
Anguilla
AIA
|districts= Districts
Bermuda
BMU
|parishes= Parishes
British Indian Ocean Territory
IOT
British Virgin Islands
VGB
|districts= Districts
Cayman Islands
CYM
|districts= Districts
Falkland Islands
FLK
Gibraltar
GIB
Montserrat
MSR
|parishes= Parishes
Pitcairn Islands
PCN
Saint Helena, Ascension and
Tristan da Cunha
SHN
|island= Island
South Georgia and the
South Sandwich Islands
SGS
Turks and Caicos Islands
TCA
|districts= Districts
All locations |destinations= Primary destinations
United States
USA
All locations |state= State, two-letter abbreviation
Territory, two-letter abbreviation (AS, GU, MP, PR, or VI)
Federal district, two-letter abbreviation (DC)
|states= States, will not display if |state= is used
|indep_city= Independent city
|indep_cities= Independent cities, will not display if |indep_city= is used
Alaska
AK
|borough= Borough
|boroughs= Boroughs, will not display if |borough= is used
Louisiana
LA
|parish= Parish
|parishes= Parishes, will not display if |parish= is used
Puerto Rico
PR
|municipality= Municipality
|municipalities= Municipalities, will not display if |municipality= is used
All other locations |county= County
|counties= Counties, will not display if |county= is used

All other countries

Available location parameters for all other countries
Parameter Location description
|country= Country
|countries= Countries, will not display if |country= is used
|island= Island
|communities= Communities
|regions= Regions
|provinces= Provinces
|states= States
|governorates= Governorates
|counties= Counties
|departments= Departments
|cantons= Cantons
|prefectures= Prefectures
|divisions= Divisions
|oblasts= Oblasts
|districts= Districts
|parishes= Parishes
|communes= Communes
|territories= Territories
|location1= |label1= Generic label
|location2= |label2= Generic label
|location3= |label3= Generic label
|location4= |label4= Generic label
|location5= |label5= Generic label
|subregions= Subregions
|subcounties= Subcounties
|subprefectures= Subprefectures

Municipal divisions

Available municipal parameters for all countries except the United States
Parameter Location description
|municipalities= Municipalities
|cities= Major cities
|towns= Towns
|villages= Villages
|destinations= Primary destinations

Other parameters

  • header_type: IBR has a small set of alternate header shades for specific sets of articles. They are:
    • under construction: for roads where construction has begun on the highway and no sections have been opened to traffic. Do not use for roads that are open to traffic in some capacity. (Alternate values: const, uc)
    • historic: for roads of a historic nature, such as auto trails or highways posted with brown, historical or scenic signage. (Alternate values: historical, hist, scenic)
    • former: for highway designations no longer maintained by the corresponding government authority. (Alternate value: decommissioned)
    • minor: UK only. For A roads signed with black-on-white markers.
  • system: the highway system that the article route is part of. Typically not needed for numbered routes.
  • system#, where # is the number of the next additional highway system to be displayed (1 being the first entered into the infobox, 2 being the next, and so on).
  • e-road, ahn, tahn or mrn: used to indicate that a roadway is part of the International E-road network in Europe, the Asian Highway Network, the Trans-African Highway network or the Arab Mashreq International Road Network.
    • e-road-shield, ahn-shield, tahn-shield or mrn-shield: shield or route marker image for the E-road, AHN, TAHN or MRN route. Requires full wiki markup.
  • embedded: embed another infobox with such capability like {{Designation list}} and {{Infobox NRHP}}.

Example

New Jersey Turnpike marker
New Jersey Turnpike
Map
New Jersey Turnpike mainline and spurs highlighted in green
Route information
Maintained by NJTA
Length117.20 mi[1][2] (188.62 km)
(Mainline)
  • 11.03 mi (17.75 km)—Western Spur[3]
  • 6.55 mi (10.54 km)—Pennsylvania Extension[1]
  • 8.17 mi (13.15 km)—Newark Bay Extension[4]
  • 5.20 mi (8.37 km)—I-95 Extension[1]
  • 148.18 mi (238.47 km)—Total Length of Turnpike including Extensions
Existed1951–present
Component
highways
RestrictionsBuses and commercial vehicles must use outer roadways between Exits 6 and 14
Major junctions
South end I-295 / US 40 / US 130 in Pennsville near the Delaware Memorial Bridge
Major intersections
North end I-95 / US 1-9 / US 46 / Route 4 / US 9W / Palisades Parkway in Fort Lee near the George Washington Bridge
Location
CountryUnited States
StateNew Jersey
CountiesSalem, Gloucester, Camden, Burlington, Mercer, Middlesex, Union, Essex, Hudson, Bergen
Highway system
I-695Route 700 I-895
I-95Route 100 Route 101
I-295Route 300 Route 303
{{Infobox road
| state = NJ
| type = NJTP
| map = {{maplink-road|from=New Jersey Turnpike.map}}
| map_custom = yes
| map_notes = New Jersey Turnpike mainline and spurs highlighted in green
| 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 = 117.20
| length_ref = <ref name="sld 1" /><ref name="sld 0">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000700__-.pdf |title = Route 700 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304211723/http://www.state.nj.us/transportation/refdata/sldiag/00000700__-.pdf |archive-date = March 4, 2016 |df = mdy-all |author-link = New Jersey Department of Transportation }}</ref><!--equation is 76.78+52.17-6.55=122.4-->
| length_notes = (Mainline) {{plainlist|
* {{cvt|11.03|mi|km}}—Western Spur<ref name="sld 2">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095W_-.pdf |title = Route 95W Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160113180423/http://www.state.nj.us/transportation/refdata/sldiag/00000095W_-.pdf |archive-date = January 13, 2016 |df = mdy-all }}</ref>
* {{cvt|6.55|mi|km}}—Pennsylvania Extension<ref name="sld 1">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000095__-.pdf |title = Route 95 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304210126/http://www.state.nj.us/transportation/refdata/sldiag/00000095__-.pdf |archive-date = March 4, 2016 |df = mdy-all }}</ref>
* {{cvt|8.17|mi|km}}—Newark Bay Extension<ref name="sld 3">{{cite web |author = New Jersey Department of Transportation |url = http://www.state.nj.us/transportation/refdata/sldiag/pdf/00000078__-.pdf |title = Route 78 Straight Line Diagram |access-date = March 17, 2020 |publisher = New Jersey Department of Transportation |url-status = live |archive-url = https://web.archive.org/web/20160304212003/http://www.state.nj.us/transportation/refdata/sldiag/00000078__-.pdf |archive-date = March 4, 2016 |df = mdy-all }}</ref>
* {{cvt|5.20|mi|km}}—I-95 Extension<ref name="sld 1" />
* {{cvt|148.18|mi|km}}—Total Length of Turnpike including Extensions
}}
| established = 1951
| allocation =
* {{Jct|state=NJ|Route|700|nolink=yes|noshield1=yes}} (unsigned) from [[Pennsville Township, New Jersey|Pennsville Township]] to [[Mansfield Township, Burlington County, New Jersey|Mansfield Township]]
* {{jct|state=NJ|I-Toll|95}} from [[Burlington Township, New Jersey|Burlington Township]] to [[Fort Lee, New Jersey|Fort Lee]]
* {{jct|state=NJ|I-Toll|78}} Newark Bay Extension from [[Newark, New Jersey|Newark]] to [[Jersey City, New Jersey|Jersey City]]
| restrictions = Buses and commercial vehicles must use outer roadways between Exits 6 and 14
| direction_a = South
| direction_b = North
| terminus_a = {{jct|state=NJ|I|295|US|40|US|130}} in [[Pennsville Township, New Jersey|Pennsville]] near the [[Delaware Memorial Bridge]]
| junction =
* {{jct|state=NJ|NJ|73}} in [[Mount Laurel, New Jersey|Mount Laurel]]
* {{jct|state=NJ|I-Toll|95|PAEX|nolink2=yes}} 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]]
* {{jct|state=NJ|GSP||US|9}} in [[Woodbridge Township, New Jersey|Woodbridge Township]]
* {{jct|state=NJ|I|278}} in [[Elizabeth, New Jersey|Elizabeth]]
* {{jct|state=NJ|I-Toll|78|NBEX||US|1-9|nolink2=yes}} 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]]
| terminus_b = {{jct|state=NJ|I|95|US|1-9|US|46|NJ|4|US|9W|PIP|}} in [[Fort Lee, New Jersey|Fort Lee]] near the [[George Washington Bridge]]
| 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 = Route&nbsp;700
| next_type = I
| next_route = 895
| browse = {{nj browse|previous_type=I|previous_route=95|route=Route&nbsp;100|next_type=NJ-old|next_route=101
}}{{nj browse|previous_type=I|previous_route=295|route=Route&nbsp;300|next_type=NJ|next_route=303}}
}}

Example references

  1. ^ a b c New Jersey Department of Transportation. "Route 95 Straight Line Diagram" (PDF). New Jersey Department of Transportation. Archived (PDF) from the original on March 4, 2016. Retrieved March 17, 2020.
  2. ^ New Jersey Department of Transportation. "Route 700 Straight Line Diagram" (PDF). New Jersey Department of Transportation. Archived (PDF) from the original on March 4, 2016. Retrieved March 17, 2020.
  3. ^ New Jersey Department of Transportation. "Route 95W Straight Line Diagram" (PDF). New Jersey Department of Transportation. Archived (PDF) from the original on January 13, 2016. Retrieved March 17, 2020.
  4. ^ New Jersey Department of Transportation. "Route 78 Straight Line Diagram" (PDF). New Jersey Department of Transportation. Archived (PDF) from the original on March 4, 2016. Retrieved March 17, 2020.

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox road in articles based on its TemplateData.

TemplateData for Infobox road

An infobox template for highway articles.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Countrycountry

The ISO 3166-1 alpha-3 code of the country the route is in.

Stringoptional
Statestate

The two to three letter abbreviation of the Australian, U.S., or Mexican state the route is in.

Stringoptional
Provinceprovince

The two letter postal abbreviation of the Canadian province the route is in.

Stringoptional
Typetype

The type code of the route from Template:Infobox_road/doc/type.

Stringoptional
Route numberroute

The number of the route.

Stringoptional
Marker imagemarker_image

Marker image or shield to be displayed. Use full wiki markup. Not needed for numbered routes, usually.

Contentoptional
Namename

The name of the road (not used for numbered routes).

Stringoptional
Alternate namealternate_name

The alternate name of the road. Use only when the entire route has that name.

Stringoptional
Maintenancemaint

The agency that maintains the road. Numbered routes have this automatically populated.

Stringoptional
Mapmap

The file name of the map of the road, without File:. If this is blank and the map is available on Wikidata, it will be used.

Stringoptional
Map alternate textmap_alt

The alternate text for the map, for visually impaired readers.

Stringoptional
Map notesmap_notes

Text to display with the map.

Stringoptional
Photophoto image

A photo to display, without File:. Does not work in the US.

Fileoptional
Photo alternate textphoto_alt image_alt

The alternate text for the photo, for visually impaired readers.

Stringoptional
Photo notesphoto_notes image_notes

Text to display with the map.

Stringoptional
Map custommap_custom

Use yes if you want to override the template's default image link; then use the Map parameter to specify a link instead.

Stringoptional
Length in mileslength_mi

If and only if the route is in a country on the imperial system, list the length in miles here.

Numberoptional
Length in kilometreslength_km

If and only if the route is in a country on the metric system, list the length in kilometres here.

Numberoptional
Length referencelength_ref

A reference for the given length.

Stringoptional
Length noteslength_notes

Notes for the length.

Stringoptional
Establishedestablished formed

Date the route was commissioned.

Stringoptional
Decommissioneddecommissioned deleted

Date the route was decommissioned.

Stringoptional
Historyhistory

Summary of the route's history, instead of the established and decommissioned fields.

Contentoptional
Allocationallocation

Highway designations allocated to the roadway.

Stringoptional
Tourist routestourist

Tourist routes that follow the route (Australia, New Zealand, Canada, US).

Stringoptional
Restrictionsrestrictions

Summary of the route's restrictions such as closures or permits.

Stringoptional
Direction Adirection_a

The first direction.

Stringoptional
Direction Bdirection_b

The second direction.

Stringoptional
Terminus Aterminus_a end_a

The first terminus.

Stringoptional
Terminus Bterminus_b end_b

The second terminus.

Stringoptional
Major junctionsjunctions junction

A brief list of major junctions. In the US, do not use more than 10.

Stringoptional
Beltway citybeltway_city

The city the beltway encircles.

Stringoptional
Orbital cityorbital

The city the orbital encircles.

Stringoptional
Loop road cityloop

The city the loop road encircles.

Stringoptional
Tourist loop citytloop

The city the tourist loop encircles.

Stringoptional
Time periodtime_period

The time period the road existed in.

Stringoptional
Established byestablished_by

If a time period is used, the body that built or established the road.

Stringoptional
Significancesignificance

If a time period is used, the historical/cultural significance of the route.

Stringoptional
Related roadsrelated

If a time period is used, roads related to the historical road.

Stringoptional
Subtypesubtype

If the route is a spur or a special route.

Stringoptional
Spur typespur_type

The type of the parent route that this is a spur of.

Stringoptional
Spur ofspur_of

The parent route of this spur route.

Stringoptional
County (for county routes)county

The county associated with the route that the article is about. Use only for county routes.

Stringoptional
Previous route typeprevious_type

The type code of the previous route in the system from Template:Infobox_road/doc/type.

Stringoptional
Next route typenext_type

The type code of the next route in the system from Template:Infobox_road/doc/type.

Stringoptional
Previous routeprevious_route

The number of the previous route in the system.

Stringoptional
Next routenext_route

The number of the next route in the system.

Stringoptional
Previous route disambiguationprevious_dab

The disambiguation suffix of the previous route in the system.

Stringoptional
Next route disambiguationnext_dab

The disambiguation suffix of the next route in the system.

Stringoptional
Browse routebrowse_route

The number of the current route in the system, if not the same as the rest of the infobox.

Stringoptional
Additional browse linesbrowse

Use to add additional browse lines with additional templates

Stringoptional
List of countriescountries

A list of countries the route enters (EUR, ASIA)

Stringoptional
List of regionsregions

A list of regions the route enters (EUR, ITA, HRV, CZE, CYP, GRC, POL, HUN, SVN, SVK, AUT, TUR, UKR, BIH, SRB, SGP)

Stringoptional
List of statesstates

A list of states the route enters (USA in multiple states, IND, DEU)

Stringoptional
List of provincesprovinces

A list of provinces the route enters (IRN, TUR, THA)

Stringoptional
List of countiescounties

A list of counties the route enters (anywhere)

Stringoptional
List of parishesparishes

A list of parishes the route enters (Louisiana)

Stringoptional
List of rural municipalitiesrural_municipalities

A list of countries the route enters (Manitoba, Saskatchewan)

Stringoptional
List of municipalitiesmunicipalities

A list of municipalities the route enters (Puerto Rico)

Stringoptional
List of districtsdistricts

A list of districts the route enters (India, other countries with districts)

Stringoptional
List of boroughsboroughs borough

A list of boroughs the route enters (Alaska)

Stringoptional
List of divisionsdivisions

A list of divisions the route enters (Ontario)

Stringoptional
List of citiescities

A list of cities the route enters (everywhere but USA)

Stringoptional
List of townstowns

A list of towns the route enters (everywhere but USA)

Stringoptional
List of villagesvillages

A list of villages the route enters (everywhere but USA)

Stringoptional
List of destinationsdestinations

A list of primary destinations the route enters (AUS, GBR, IRL, MYS, NZL, IND)

Stringoptional
List of LGAslga

A list of LGAs the route enters (Australia)

Stringoptional
List of locationslocations

A list of locations the route enters (Australia)

Stringoptional
Section of codesection

The section of the highway code the route is defined in.

Stringoptional
Subsection of codesubsection

The subsection of the highway code the route is defined in (for Minnesota only).

Stringoptional
Header typeheader_type

under construction, historic, former, freeway (Canada only), minor (UK only)

Stringoptional
Highway systemsystem

The highway system the article route is a part of. Typically not used for numbered routes.

Stringoptional
E-roade-road

The E-road that the route is a part of (Europe).

Stringoptional
E-road route marker imagee-road-shield

Route marker image for the E-road that the route is a part of (Europe). Requires full wiki markup.

Stringoptional
Asian Highway Network designationahn

The Asian Highway that the route is a part of.

Stringoptional
Asian Highway route marker imageahn-shield

Route marker image for the Asian Highway that the route is a part of. Requires full wiki markup.

Stringoptional
Trans-African Highway designationtahn

The Trans-African Highway that the route is a part of.

Stringoptional
Trans-African Highway route marker imagetahn-shield

Route marker image for the Trans-African Highway that the route is a part of. Requires full wiki markup.

Stringoptional
Header for section 1section1

If the route is divided into sections, this is the header for section 1.

Default
Section 1
Stringoptional
Section 1 length in mileslength_mi1

If and only if the route is in a country on the imperial system, list the length in miles on section 1 here.

Numberoptional
Section 1 length in kilometreslength_km1

If and only if the route is in a country on the metric system, list the length in kilometres on section 1 here.

Numberoptional
Length reference for section 1length_ref1

A reference for the given length for section 1.

Stringoptional
Length notes for section 1length_notes1

Notes for the length for section 1.

Stringoptional
Direction A for section 1direction_a1

The first direction for section 1, to override direction_a.

Stringoptional
Direction B for section 1direction_b1

The second direction for section 1, to override direction_b.

Stringoptional
Terminus A for section 1terminus_a1 end_a1

The first terminus for section 1.

Stringoptional
Terminus B for section 1terminus_b1 end_b1

The second terminus for section 1.

Stringoptional
Major junctions for section 1junctions1

A brief list of major junctions for section 1. In the US, do not use more than 10.

Stringoptional
Header for section 2section2

If the route is divided into sections, this is the header for section 2.

Default
Section 2
Stringoptional
Section 2 length in mileslength_mi2

If and only if the route is in a country on the imperial system, list the length in miles on section 2 here.

Numberoptional
Section 2 length in kilometreslength_km2

If and only if the route is in a country on the metric system, list the length in kilometres on section 2 here.

Numberoptional
Length reference for section 2length_ref2

A reference for the given length for section 2.

Stringoptional
Length notes for section 2length_notes2

Notes for the length for section 2.

Stringoptional
Direction A for section 2direction_a2

The first direction for section 2, to override direction_a.

Stringoptional
Direction B for section 2direction_b2

The second direction for section 2, to override direction_b.

Stringoptional
Terminus A for section 2terminus_a2 end_a2

The first terminus for section 2.

Stringoptional
Terminus B for section 2terminus_b2 end_b2

The second terminus for section 2.

Stringoptional
Major junctions for section 2junctions2

A brief list of major junctions for section 2. In the US, do not use more than 10.

Stringoptional
Header for section 3section3

If the route is divided into sections, this is the header for section 3.

Default
Section 3
Stringoptional
Section 3 length in mileslength_mi3

If and only if the route is in a country on the imperial system, list the length in miles on section 3 here.

Numberoptional
Section 3 length in kilometreslength_km3

If and only if the route is in a country on the metric system, list the length in kilometres on section 3 here.

Numberoptional
Length reference for section 3length_ref3

A reference for the given length for section 3.

Stringoptional
Length notes for section 3length_notes3

Notes for the length for section 3.

Stringoptional
Direction A for section 3direction_a3

The first direction for section 3, to override direction_a.

Stringoptional
Direction B for section 3direction_b3

The second direction for section 3, to override direction_b.

Stringoptional
Terminus A for section 3terminus_a3 end_a3

The first terminus for section 3.

Stringoptional
Terminus B for section 3terminus_b3 end_b3

The second terminus for section 3.

Stringoptional
Major junctions for section 3junctions3

A brief list of major junctions for section 3. In the US, do not use more than 10.

Stringoptional
Header for section 4section4

If the route is divided into sections, this is the header for section 4.

Default
Section 4
Stringoptional
Section 4 length in mileslength_mi4

If and only if the route is in a country on the imperial system, list the length in miles on section 4 here.

Numberoptional
Section 4 length in kilometreslength_km4

If and only if the route is in a country on the metric system, list the length in kilometres on section 4 here.

Numberoptional
Length reference for section 4length_ref4

A reference for the given length for section 4.

Stringoptional
Length notes for section 4length_notes4

Notes for the length for section 4.

Stringoptional
Direction A for section 4direction_a4

The first direction for section 4, to override direction_a.

Stringoptional
Direction B for section 4direction_b4

The second direction for section 4, to override direction_b.

Stringoptional
Terminus A for section 4terminus_a4 end_a4

The first terminus for section 4.

Stringoptional
Terminus B for section 4terminus_b4 end_b4

The second terminus for section 4.

Stringoptional
Major junctions for section 4junctions4

A brief list of major junctions for section 4. In the US, do not use more than 10.

Stringoptional
Translated titletranslation

A translation of the title, displayed as a subheading.

Contentoptional

Technical details

See Infobox road/doc/tech for details on the inner workings of the template, including a list of tracking categories.

Tracking categories

Instances

Click on "►" below to display subcategories:

See also