Template:Infobox Interstate

From Wikipedia, the free encyclopedia

Image:I-.svg
Interstate
{{{type}}} route of the Interstate Highway System

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.

{{Infobox Interstate
|article_route=
|type=
|map=
|length_mi=
|length_round=
|length_ref=
|length_notes=
|year_established=
|city=
|direction_a=
|terminus_a=
|junction=
|direction_b=
|terminus_b=
|browse=
|shield_ext=
}}
Interstate 590
Auxiliary route of the Interstate Highway System
Length: 5.31[1] mi (8.55 km)
Formed: 1977[1]
South end: I-390 in Brighton, NY
North end: I-490/NY 590 in
Rochester, NY
< I-587 NY NY 590 >

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

  • article_route: This is the number of the Interstate the article is about (ex. 88)
  • type: Main (2di) or Auxiliary (3di)
  • map: Name of map over at Wikimedia Commons
  • 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
  • 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
  • browse: For intrastate Interstates only - Browse lines can be added here using the {{XX browse}} templates. See WP:IH for a full explanation regarding these templates.
  • shield_ext: For intrastate Interstates only - Name of the state the Interstate is in

Any tags that do not apply to a particular route can either be omitted or left blank.

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

{{Infobox Interstate
|article_route=590
|type=Auxiliary
|map=Interstate 590 (NY) map.png
|length_mi=5.31<ref name=gribblenation>[http://www.gribblenation.net/nyroutes/ind/500_599.htm#590i Gribblenation.NET: New York Routes - Interstate 590]</ref>
|length_km=8.55
|year_established=1977<ref name=gribblenation>[http://www.gribblenation.net/nyroutes/ind/500_599.htm#590i Gribblenation.NET: New York Routes - Interstate 590]</ref>
|direction_a=South
|direction_b=North
|terminus_a=[[Image:I-390.svg|25px]] [[Interstate 390|I-390]] in [[Brighton, New York|Brighton, NY]]
|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<br>[[Rochester, New York|Rochester, NY]]
|browse={{ny browse||previous_type=Interstate|previous_route=587|route=[[List of State Routes in New York|NY]]|next_type=State|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!

Also, several parameters have been deprecated. Remove them if you see them.

You can use {{routeboxint/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.

[edit] shield_ext conditions

This is great, because it allows shields with state names to be displayed. Certain conditions must be met, however:

  1. The highway must be intrastate.
  2. There may be more than one of them (For instance, both I-88's do meet these first 2 requirements.)
  3. Image:Interstate # (state).svg must exist. (See Commons:Interstate shields for info on making them for those that do not exist.)
  4. The state should use these signs.

If it meets all of these requirements, simply set shield_ext=STATE.

Note that this is not yet working, since not all of those that have it set meet requirement #3 yet.

States that do not use the state name on their signs are not obligated nor forced to use "shield_ext" per condition 4.