قالب:جدول طريق/doc



Usage

This template generates an infobox for roads, both numbered and unnumbered. Below is the basic syntax that you need 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 can and should be omitted. Other, more specific parameters exist and are described in detail below.

Numbered roads

This is the basic code you need to set up an infobox for a numbered route.

{{Infobox road
|country=
|type=
|route=
|map=
|length_mi=
|length_km=
|length_round=
|length_ref=
|established=
|replaces= 
|direction_a=
|terminus_a=
|junction=
|direction_b=
|terminus_b=
|previous_type=
|previous_route=
|next_type=
|next_route=
}}

Unnumbered roads

This is the basic code you need to set up an infobox for an unnumbered route.

{{Infobox road
|name=
|marker_image=
|map=
|length_mi=
|length_km=
|length_round=
|length_ref=
|established=
|direction_a=
|terminus_a=
|junction=
|direction_b=
|terminus_b=
}}

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. 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 the United States, Canada, or Mexico, and the route is located within one state or province use state (US and Mexico) or province (Canada) instead. The "state" and "province" parameters are not interchangeable. Accepted values for these two parameters are as follows:
  • type: the type of route the article is about. 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. 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".

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".

Route information

  • marker_image: shield image to be displayed. Requires full wiki markup. Typically not needed for numbered routes.
  • 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]].
    • 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.
  • 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 length_round (default 0) places. If the length is to a greater precision than the nearest unit, adjust length_round to match but be sure to avoid false precision. 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 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.
  • established: this is the date the route was commissioned or assigned to its current alignment. (Alternate parameter: formed)
  • decommissioned: date 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.
  • tourist: a list of the tourist routes that follow the route. Currently only set up for use in New Zealand, Canada, and the US.

Major intersections

  • beltway_city: for beltways only. This is the city that the beltway encircles.
  • direction_a: for U.S. roads, this should be either "South" or "West" per the standards set by the the U.S. Roads project. For roads in other jurisdictions, consult that area's WikiProject to determine which direction to put here.
  • terminus_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.
  • direction_b: The opposite of "direction_a"
  • terminus_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_round#: "length_round" 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#: "terminus_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#: "terminus_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).

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, HUN, 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 IRN, TUR, THA
counties a list of counties that the route enters no restrictions
parishes a list of parishes that the route enters no restrictions, but use only in Louisiana
rural_municipalities a list of rural municipalities that the route enters Manitoba, Saskatchewan
cities used to list the cities that the route serves everywhere but USA per USRD standards
towns used to list the towns that the route serves everywhere but USA per USRD standards
villages used to list the villages that the route serves everywhere but USA per USRD standards
destinations used to list the Primary destinations that the route serves AUS, GBR, IRL, MYS, NZL

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 signage. (Alternate values: historical, hist)
    • freeway: Canada only. For roads that are freeways for their entire length.
    • 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.
  • e-road, ahn or tahn: used to indicate that a roadway is part of the International E-road network in Europe, the Asian Highway Network or the Trans-African Highway network.

Technical details

See this page for details on the inner workings of the template.

Example

Outline of a green cube viewed obliquely, edged in white, containing "N TP J" in larger letters superimposed with "TURNPIKE" in smaller letters

New Jersey Turnpike

معلومات الطريق
يصونه the New Jersey Turnpike Authority
الطول122.40 mi[1][2] (196.98 km)
11.03 mi (17.75 km) Western Spur[3]
6.55 mi (10.54 km) Pennsylvania Extension[2]
8.17 mi (13.1 km) Newark Bay Extension[4]
تواجـَد1951–present
Major junctions
South endI-295.svgUS 40.svg I-295/US 40 in Pennsville
Major intersectionsCircle sign 168.svg NJ 168 near Camden
I-95.svgI-276.svg I-95/I-276/PA Tpk in Mansfield Twp
I-195.svg I-195 in Robbinsville Twp
Circle sign 18.svg NJ 18 in East Brunswick Twp
I-287.svgCircle sign 440.svg I-287/NJ 440 in Edison Twp
GSPkwy Shield.svgUS 9.svg GSP/US 9 in Woodbridge Twp
I-278.svg I-278 in Linden/Elizabeth
I-78.svg I-78 in Newark
Circle sign 495.svg NJ 495 in Secaucus
I-80.svg I-80 in Teaneck Twp
North endI-95.svgUS 1-9.svgUS 46.svg I-95/US 1/9/46 in Fort Lee
Location
CountryUnited States
StateNew Jersey
نظام الطرق السريعة
Error: Invalid type: Interstate700 Error: Invalid type: Interstate
{{Infobox road
|marker_image=[[Image:New Jersey Turnpike Shield.svg|70px|alt=Outline of a green cube viewed obliquely, edged in white, containing "N TP J" in larger letters superimposed with "TURNPIKE" in smaller letters]]
|state=NJ
|type=NJ
|route=700
|name=New Jersey Turnpike
|maint=the New Jersey Turnpike Authority
|length_mi=122.40
|length_round=2
|length_ref=<ref name="sld 0">{{cite web|url=http://www.state.nj.us/transportation/refdata/sldiag/00000700__-.pdf|title=Route 700 Straight Line Diagram|accessdate=2007-04-26|format=PDF|publisher=[[New Jersey Department of Transportation|NJDOT]]}}</ref><ref name="sld 1" /><!--equation is 76.78+52.17-6.55=122.4-->
|length_notes={{convert|11.03|mi|km|2|abbr=on|}} Western Spur<ref name="sld 2">{{cite web|url=http://www.state.nj.us/transportation/refdata/sldiag/00000095W__-.pdf|title=Route 95W Straight Line Diagram|accessdate=2007-04-26|format=PDF|publisher=[[New Jersey Department of Transportation|NJDOT]]}}</ref><br>{{convert|6.55|mi|km|2|abbr=on}} Pennsylvania Extension<ref name="sld 1">{{cite web|url=http://www.state.nj.us/transportation/refdata/sldiag/00000095__-.pdf|title=Route 95 Straight Line Diagram|accessdate=2007-04-26|format=PDF|publisher=[[New Jersey Department of Transportation|NJDOT]]}}</ref><br>{{convert|8.17|mi|km|1|abbr=on}} Newark Bay Extension<ref name="sld 3">{{cite web|url=http://www.state.nj.us/transportation/refdata/sldiag/00000078__-.pdf|title=Route 78 Straight Line Diagram|accessdate=2007-04-26|format=PDF|publisher=[[New Jersey Department of Transportation|NJDOT]]}}</ref>
|established=1951
|direction_a=South
|direction_b=North
|terminus_a=[[Image:I-295.svg|25px|link=]][[Image:US 40.svg|20px|link=]] [[Interstate 295 (Delaware-New Jersey)|I-295]]/[[U.S. Route 40|US 40]] in [[Pennsville Township, New Jersey|Pennsville]]
|junction=[[Image:Circle sign 168.svg|25px|link=]] [[New Jersey Route 168|NJ 168]] near [[Camden, New Jersey|Camden]]<!--to Atlantic City Expressway and I-76--><br>[[Image:I-95.svg|20px|link=]][[Image:I-276.svg|25px|link=]] [[Interstate 95 in New Jersey|I-95]]/[[Interstate 276|I-276]]/[[Pennsylvania Turnpike|PA Tpk]] in [[Mansfield Township, Burlington County, New Jersey|Mansfield Twp]]<br>[[Image:I-195.svg|25px|link=]] [[Interstate 195 (New Jersey)|I-195]] in [[Robbinsville Township, New Jersey|Robbinsville Twp]]<br>[[Image:Circle sign 18.svg|20px|link=]] [[New Jersey Route 18|NJ 18]] in [[East Brunswick Township, New Jersey|East Brunswick Twp]]<br>[[Image:I-287.svg|25px|link=]][[Image:Circle sign 440.svg|25px|link=]] [[Interstate 287|I-287]]/[[New Jersey Route 440|NJ 440]] in [[Edison, New Jersey|Edison Twp]]<br>[[Image:GSPkwy Shield.svg|20px|link=]][[Image:US 9.svg|20px|link=]] [[Garden State Parkway|GSP]]/[[U.S. Route 9 in New Jersey|US 9]] in [[Woodbridge Township, New Jersey|Woodbridge Twp]]<br>[[Image:I-278.svg|25px|link=]] [[Interstate 278|I-278]] in [[Linden, New Jersey|Linden]]/[[Elizabeth, New Jersey|Elizabeth]]<br>[[Image:I-78.svg|20px|link=]] [[Interstate 78|I-78]] in [[Newark, New Jersey|Newark]]<br>[[Image:Circle sign 495.svg|25px|link=]] [[New Jersey Route 495|NJ 495]] in [[Secaucus, New Jersey|Secaucus]]<br>[[Image:I-80.svg|20px|link=]] [[Interstate 80 in New Jersey|I-80]] in [[Teaneck, New Jersey|Teaneck Twp]]
|terminus_b=[[Image:I-95.svg|20px|link=]][[Image:US 1-9.svg|25px|link=]][[Image:US 46.svg|20px|link=]] [[Interstate 95 in New Jersey|I-95]]/[[U.S. Route 1/9|US 1/9]]/[[U.S. Route 46|46]] in [[Fort Lee, New Jersey|Fort Lee]]
|previous_type=Interstate
|previous_route=695
|browse_route=700
|next_type=Interstate
|next_route=895
}}

See also

References

  1. ^ "Route 700 Straight Line Diagram" (PDF). NJDOT. Retrieved 2007-04-26.
  2. ^ أ ب "Route 95 Straight Line Diagram" (PDF). NJDOT. Retrieved 2007-04-26.
  3. ^ "Route 95W Straight Line Diagram" (PDF). NJDOT. Retrieved 2007-04-26.
  4. ^ "Route 78 Straight Line Diagram" (PDF). NJDOT. Retrieved 2007-04-26.