Template:Infobox Interstate/Intrastate

From Wikipedia, the free encyclopedia

[edit] Template documentation
Interstate 590
Auxiliary route of the Interstate Highway System
Length: 5.31 mi[1] (8.55 km)
Formed: 1977[1]
South end: I-390 in Brighton, NY
North end: I-490/NY 590 in Rochester, NY
Numbered highways in New York
< I-587 NY 590 >
Interstate - U.S. - N.Y. - Reference

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. Copy and paste the following code from the box, not the source. Any parameters that do not apply to a particular route can be omitted.

{{Infobox Interstate/Intrastate
|state=
|article_route=
|type=
|map=
|alternate_name=
|maint=
|section=
|length_mi=
|length_round=
|length_ref=
|length_notes=
|year_established=
|city=
|direction_a=
|terminus_a=
|junction=
|direction_b=
|terminus_b=
|previous_type=
|previous_route=
|next_type=
|next_route=
|browse=
|commons=
|customcommons=
}}

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

  • state: This is the state the Interstate is in (ex. NY)
  • article_route: This is the number of the Interstate the article is about (ex. 88)
  • type: Main (2di), Auxiliary (3di), or Future
  • map: Name of map over at Wikimedia Commons
  • alternate_name: alternate name of the Interstate. Please limit to only a handful of names.
  • maint: name of the agency that maintains the road.
  • section: (CA and WA only) code of law that defines the road.
  • 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 parameter, 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 parameter.
  • length_ref: To do what a good article writer should, provide your reference for the length of the route using standard <ref> method. For example: <ref name="nyr">[http://www.gribblenation.net/nyroutes/ind/500_599.htm#590i New York Routes - Interstate 590]</ref>
  • length_notes: For any notes regarding the length.
  • year_established: This is the date the route was commissioned, assigned to its current alignment, or completed
  • year_decommissioned: the date the route was decommissioned, if applicable.
  • city: (For beltways only) - Name of the city that the Interstate is in
  • 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.
  • terminus_a: This is where the route begins and is either at the southern terminus or western terminus.
  • junction: See WP:IH for directions regarding this parameter.
  • direction_b: The opposite of direction_a
  • terminus_b: Where the route ends, in accordance with the guidelines set forth with starting_terminus
  • counties: a list of counties that the Interstate enters. Should be in a comma-delimited list, as per WP:USRD/INNA guidelines.
  • previous_type: This is the type of route that precedes the current one in the system. The value for this is: Interstate, US, or (2di state abbrev.) for Interstates, U.S. Routes and state highways, respectively.
  • 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: Extra browse rows can be added here using {{XX browse}} templates. See WP:USRD for a full explanation regarding these templates.
  • commons: Links to a gallery or category on Wikimedia Commons
  • customcommons: Change the default Commons link to another category or gallery there

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

{{Infobox Interstate/Intrastate
|state=NY
|article_route=590
|type=Auxiliary
|map=Interstate 590 (NY) map.png
|length_mi=5.31
|length_round=2
|length_ref=<ref name="nyr">[http://www.gribblenation.net/nyroutes/ind/500_599.htm#590i Gribblenation.NET: New York Routes - Interstate 590]</ref>
|year_established=1977<ref name="nyr" />
|direction_a=South
|terminus_a=[[Image:I-390.svg|25px]] [[Interstate 390|I-390]] in [[Brighton, New York|Brighton, NY]]
|direction_b=North
|terminus_b=[[Image:I-490.svg|25px]][[Image:NY-590.svg|25px]] [[Interstate 490 (New York)|I-490]]/[[New York State Route 590|NY 590]] in [[Rochester, New York|Rochester, NY]]
|previous_type=Interstate
|previous_route=587
|next_type=NY
|next_route=590
}}

This template is liable to change; please return to this page if your route should in the future look 'broken'. See the "In Practice Examples" subsection for working examples, as well.

If you change the template, please either fix broken routeboxes on each article or post a note on the talk page so that we know we need to fix stuff. Thanks!

You can use {{Infobox Interstate/quick}} when writing the termini or junction lists to speed things up. See WP:IH for complete instructions regarding the the quick template.

For more help, please visit WP:IH or post a note on WT:IH.