Wikipedia:WikiProject U.S. Roads/Article Templates

From Wikipedia, the free encyclopedia

Contents

[edit] Infobox

For states with their own state highway WP, see that WP to determine what infobox to use. For Interstates and U.S. Routes, {{Infobox Interstate}} and {{Infobox U.S. Route}} are to be used with the exception of intrastate routes, which use either {{Infobox Interstate/Intrastate}} (Interstates) or {{Infobox U.S. Route}}/{{Infobox road}} (U.S. Routes).

State Road 3
Maintained by INDOT
Length: 223.55 mi[1] (359.77 km)
South end: SR 62 in Charlestown
Major
junctions:
US 50 in Vernon
I-74 in Greensburg
US 52 in Rushville
I-70 near Spiceland
US 36 in Mount Summit
US 35 in Muncie,
US 224 in Markle,
I-69/US 27/30/SR 1 in Fort Wayne
US 6 in Kendallville
North end: SR 120 near Brighton
Counties: Clark, Scott, Jennings, Decatur, Rush, Henry, Delaware, Blackford, Wells, Huntington, Allen, DeKalb, Noble, LaGrange
Major cities: Charlestown, Vernon, Westport, Greensburg, Rushville, Dunreith, Spiceland, New Castle, Mount Summit, Muncie, Eaton, Hartford City, Markle, Fort Wayne, Huntertown, Avilla, Kendallville
Indiana roads
< SR 2 SR 4 >
Interstates - U.S. Routes - State Roads - Former

This is the basic syntax you need to get a complete routebox on the article page, just place this before any other text and fill in the variables. Note that this is a complete list of every variable that can be used with Infobox road and that many are unnecessary in most cases. Variables that are empty can be omitted.

{{Infobox road
|marker_image=
|state=
|highway_name=
|name_notes=
|type=
|route=
|alternate_name=
|maint=
|section=
|map=
|length_mi=
|length_round=
|length_ref=
|length_notes=
|established=
|decommissioned=
|direction_a=
|starting_terminus=
|beltway_city=
|junction=
|direction_b=
|ending_terminus=
|counties=
|cities=
|system=
|previous_type=
|previous_route=
|next_type=
|next_route=
|browse=
|commons=
}}

For the above parameters here's what you should fill in:

  • marker_image: shield image to be displayed
  • state: two-letter abbreviation, state that the article route is located in
  • highway_name: road name to be displayed; only use this if the road is unnumbered. If it has a number, use alternate_name.
  • name_notes: foot notes that will be displayed in small text underneath the highway name
  • type: usually the two-letter state abbreviation for state roads; see the state WikiProject for more details
  • route: This is the number of the route the article is about
  • alternate_name: Use in situations where the entire route has another name (i.e. NY 590 is called the Sea Breeze Expressway for its entire length)
  • maint: The agency that maintains the highway
  • section The section of code that defines this route. Only CA and WA use this, and the appropriate subpage [[/CA law]] for example must be set up.
  • map: image name of a map for the route, width should be 290px; see the maps task force for maps
  • length_mi: This is the length of the route in miles. If you specify beyond integers (i.e. add a decimal value) you will need to set the following paramater, length_round
  • length_round: If your value for length_mi is a whole number, you can omit this. Otherwise it needs to be set to the decimal precision of the length_mi paramater.
  • length_ref: To do what a good article writer should, provide your reference for the length of the route using standard <ref> method.
  • length_notes: see below
  • established: This is the date the route was commissioned or assigned to its current alignment
  • decommissioned: date the route was decommissioned
  • direction_a: This should be either south or west to keep in accordance with the U.S. Roads parent project, which lists termini and junctions in progression travelling from West to East and South to North.
  • starting_terminus: This is where the route begins and is either at the southern terminus or western terminus.
  • beltway_city: for beltways. This is the city that the beltway encircles
  • 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
  • ending_terminus: where the route ends, in accordance with the guidelines set forth with starting_terminus
  • counties: a list of counties that the route enters
  • cities: a list of cities that the route enters
  • system: the highway system that the article route is part of
  • previous_type: This is the type of route that preceeds the current one in the system. The value for this is: Interstate, US, or (State) for Interstates, U.S. Routes and other state roads, respectively. Each state has a different parameter for state roads, so consult the WikiProject if in doubt.
  • previous_route: The number of the route preceding this one
  • next_type: Same as previous_type but for the route following this one
  • next_route: The number of the route succeeding this one
  • browse: use to add additional browse lines
  • commons: use to add link to image gallery or category in commons, input should be gallery, category, or left blank

If neither length_mi nor length_km exists, no length is displayed.

Otherwise, if length_first is either mi or km, that one appears first. Ensure that this one is defined, or it will show up blank.
Otherwise, if only one of length_mi or length_km is defined, that one appears first. The other is calculated and rounded to length_round (default 0) places. Be sure to avoid false precision.
length_ref, if defined, appears after the first length. Use a citation 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.

By completing the infobox as follows, you'll get a routebox like the one above.

{{Infobox road
|marker_image=
|state=IN
|highway_name=
|name_notes=
|type=IN
|route=3
|alternate_name=
|maint=[[Indiana Department of Transportation|INDOT]]
|section=
|map=
|length_mi=223.55
|length_round=2
|length_ref=<ref name="illi-indi">[http://illi-indi.com/EndsPage.php?id=1003&section=1 Indiana Highway Ends - SR 3]</ref>
|length_notes=
|established=
|decommissioned=
|direction_a=South
|starting_terminus=[[Image:Indiana 62.svg|20px]] [[Indiana State Road 62|SR 62]] in [[Charlestown, Indiana|Charlestown]]
|beltway_city=
|junction=[[Image:US 50.svg|25x20px]] [[U.S. Route 50|US 50]] in [[Vernon, Indiana|Vernon]]<br>[[Image:I-74.svg|25x20px]] [[Interstate 74|I-74]] in [[Greensburg, Indiana|Greensburg]]<br>[[Image:US 52.svg|25x20px]] [[U.S. Route 52|US 52]] in [[Rushville, Indiana|Rushville]]<br>[[Image:I-70.svg|20px]] [[Interstate 70|I-70]] near [[Spiceland, Indiana|Spiceland]]<br>[[Image:US 36.svg|25x20px]] [[U.S. Route 36|US 36]] in [[Mount Summit, Indiana|Mount Summit]]<br>[[Image:US 35.svg|25x20px]] [[U.S. Route 35|US 35]] in [[Muncie, Indiana|Muncie, ]]<br>[[Image:US 224.svg|25x20px]] [[U.S. Route 224|US 224]] in [[Markle, Indiana|Markle, ]]<hr>[[Image:I-69.svg|20px]] [[Image:US 27.svg|20px]] [[Image:US 30.svg|20px]] [[Image:Indiana 1.svg|20px]] [[Interstate 69|I-69]]/[[U.S. Route 27|US 27]]/[[U.S. Route 30|30]]/[[Indiana State Road 1|SR 1]] in [[Fort Wayne, Indiana|Fort Wayne]]<br>[[Image:US 6.svg|25x20px]] [[U.S. Route 6|US 6]] in [[Kendallville, Indiana|Kendallville]]
|direction_b=North
|ending_terminus=[[Image:Indiana 120.svg|25px]] [[Indiana State Road 120|SR 120]] near [[Brighton, Indiana|Brighton]]
|counties=[[Clark County, Indiana|Clark]], [[Scott County, Indiana|Scott]], [[Jennings County, Indiana|Jennings]], [[Decatur County, Indiana|Decatur]], [[Rush County, Indiana|Rush]], [[Henry County, Indiana|Henry]], [[Delaware County, Indiana|Delaware]], [[Blackford County, Indiana|Blackford]], [[Wells County, Indiana|Wells]], [[Huntington County, Indiana|Huntington]], [[Allen County, Indiana|Allen]], [[DeKalb County, Indiana|DeKalb]], [[Noble County, Indiana|Noble]], [[LaGrange County, Indiana|LaGrange]]
|cities=Charlestown, Vernon, [[Westport, Indiana|Westport]], Greensburg, Rushville, Dunreith, Spiceland, New Castle, Mount Summit, Muncie, [[Eaton, Indiana|Eaton]], Hartford City, Markle, Fort Wayne, [[Huntertown, Indiana|Huntertown]], Avilla, Kendallville
|system=
|previous_type=IN
|previous_route=2
|next_type=IN
|next_route=4
|browse=
}}

[edit] Junction table

The junction table, to be located in "Major intersections", is for listing all of the intersections, both actual junctions and over/underpasses, that this route has with state routes, U.S. routes, Interstates and, optionally, county routes.

This is the basic syntax you need to get a complete junction table for routes that only has at-grade intersections. Just copy and paste the code below into the "Major intersections" section:

{{Jcttop}}
{{Jctint
|state=
|county=
|cspan=
|location=
|lspan=
|type=
|mile=
|road=
|notes=
}}
{{Jctbtm}}

...and fill in the variables! For more entries, use this:

{{Jctint
|state=
|location=
|lspan=
|type=
|mile=
|road=
|notes=
}}

For the above parameters, here's what you should fill in:

  • state: the state the intersection is at, do not use if cspan or lspan is specified for the row (use the state's postal abbreviation)
  • county: name of the county without wiki markup - the county is automatically linked by the template
  • cspan: number of rows the county spans - if value=1, omit this parameter
  • location: name of the location without wiki markup - the location is automatically linked by the template
  • lspan: number of rows the location spans - if value=1, omit this parameter
  • area: (optional for use with location) used to disambiguate between town, city, village, etc.
  • ctdab: (optional for use with location) further disambiguation by county (Brighton in New York is an example where this tag would be used)
  • location_special: (replaces location) location where the junction is located - use for custom entries only. Wiki markup is required.
  • type: noaccess, mplex (for concurrency), decomd (for decommissioned), unbuilt, closed
  • mile: milepost of the junction. If unknown, leave blank.
  • road: road that the article route intersects at this junction. To generate the proper coding, use:
    • State:[[Image:State num.svg|25x20px]] '''[[State Route num|SR num]]''' (refer to naming conventions)
    • US:[[Image:US num.svg|25x20px]] '''[[U.S. Route num|US num]]'''
    • Interstate:[[Image:I-num.svg|25x20px]] '''[[Interstate num|I-num]]'''.
  • street: (optional for use with location) Used to break up monotony in sections where the route has the same town name six or more times over (see NY 33 for an example of appropriate usage).
  • notes: any notes regarding that junction.

Any parameter which is empty can be omitted.



[edit] Browse numbered routes

There are two methods of implementation, depending on how many states the highway in question enters.

[edit] One state

Type the following code in the browse parameter of the infobox, if the infobox supports this.

{{XX browse|previous_type=|previous_route=|route=|next_type=|next_route=}}

where XX is the two-letter abbreviation of the state in lowercase (California is ca, New York is ny, etc.).

For the above parameters here's what you should fill in:

  • previous_type: previous route (by number) in that state. Interstate, US (for U.S. routes), and (state's 2-letter abbreviation) (for state highways).
  • previous_route: route number.
  • route: a link to the list page for that state's highway system (optional if the infobox already has said link)
  • next_type: the same as previous_type, but for the next route.
  • next_route: same as previous_route, but for the next route.

Some state infoboxes, particularly {{Infobox road}} and those derived from it, also have a browse "built-in", in which case it is not necessary to manually add a browse.

[edit] Multiple states

Type the following code at the bottom of the article after all article content (including links, footer templates like {{Interstates}}, etc) but before category links.

{{start srbox}}
{{end box}}

In between the start and end templates, the state browse templates should be added. These templates exist in the form

{{XX browse|previous_type=|previous_route=|route=|next_type=|next_route=}}

where XX is the two-letter abbreviation of the state in lowercase (California is ca, New York is ny, etc.).

For the above parameters here's what you should fill in:

  • previous_type: previous route (by number) in that state. Interstate, US (for U.S. routes), and (state's 2-letter abbreviation) (for state highways).
  • previous_route: route number.
  • route: a link to the list page for that state's highway system.
  • next_type: the same as previous_type, but for the next route.
  • next_route: same as previous_route, but for the next route.