Wikivoyage:Routebox navigation

From Wikivoyage
(Redirected from Routebox)
Jump to navigation Jump to search

Cities with routebox  [?]
8481 / 20875 = 40.628%

Routebox navigation is a supplement to the Go next section of an article which allows the user to browse directly from article to article along a given route or combination of routes, and gives the user a quick way to see what destination articles are nearby at a glance. The box contains a logo for each route in the center. To the left and right of the logo are 1) the direction the route follows, 2) the next minor destination, i.e. the next destination for which we have an article, and 3) the next major destination or major thoroughfare junction. More detailed descriptions of how to choose these follows in the sections below.

Templates

[edit]

The Mediawiki template {{routebox}} is used to create the boxes. The template is placed at the end of the Go next section, just before the breadcrumb navigation, geocoding or article status templates, and looks like this:

Routes through Childress
Altus Lawton  N  S  Paducah Lubbock
Shamrock Wellington  N  S  Paducah Abilene
Amarillo Memphis  N  S  Quanah Wichita Falls


The above box is produced by the following code:

{{routebox
| placename=Childress
| image1=US 62.svg
| imagesize1=22
| directionl1=N
| majorl1=[[Altus (Oklahoma)|Altus]]
| minorl1=[[Lawton (Oklahoma)|Lawton]]
| directionr1=S
| majorr1=[[Lubbock]]
| minorr1=[[Paducah (Texas)|Paducah]]
| link1=
| caption1=

| image2=US 83.svg
| imagesize2=22
| directionl2=N
| majorl2=[[Shamrock]]
| minorl2=[[Wellington]]
| directionr2=S
| majorr2=[[Abilene]]
| minorr2=[[Paducah (Texas)|Paducah]]
| link2=
| caption2=

| image3=US 287.svg
| imagesize3=22
| directionl3=N
| majorl3=[[Amarillo]]
| minorl3=[[Memphis (Texas)|Memphis]]
| directionr3=S
| majorr3=[[Wichita Falls]]
| minorr3=[[Quanah]]
| link3=
| caption3=
}}

The 'link' parameter is normally left blank except where a highway is itself the basis for an itinerary such as Route 66. It can also be used to link to a section of a region page detailing the route. The 'caption' parameter can be used to change the text on mouse over when not linking to a dedicated page about the route.

Routes through Routebox navigation
Bonn Kaub  N Bundesstraße 42 S  Assmannshausen Darmstadt
Bonn Kaub  N  S  Assmannshausen Wiesbaden
Koblenz Kaub  N Rechte Rheinstrecke RE 10 S  Assmannshausen Frankfurt
Cologne Bacharach  N KD Cruise line S  Assmannshausen Mainz


The above box is produced by the following code:

{{routebox
| image1=Bundesstraße 42 number.svg
| imagesize1=
| directionl1=N
| majorl1=[[Bonn]]
| minorl1=[[Kaub]]
| directionr1=S
| majorr1=[[Darmstadt]]
| minorr1=[[Assmannshausen]]
| link1=Middle Rhine Valley#By car 2
| caption1=Bundesstraße 42

| image2=Rheinsteig-01.jpg
| imagesize2=
| directionl2=N
| majorl2=[[Bonn]]
| minorl2=[[Kaub]]
| directionr2=S
| majorr2=[[Wiesbaden]]
| minorr2=[[Assmannshausen]]
| link2=Rheinsteig

| image3=BSicon SBHF.svg
| imagesize3=
| directionl3=N
| majorl3=[[Koblenz]]
| minorl3=[[Kaub]]
| directionr3=S
| majorr3=[[Frankfurt]]
| minorr3=[[Assmannshausen]]
|link3=Middle Rhine Valley#By train 2
|caption3= Rechte Rheinstrecke RE 10

| image4=KölnDüsseldorfer.svg
| imagesize4=
| directionl4=N
| majorl4=[[Cologne]]
| minorl4=[[Bacharach]]
| directionr4=S
| majorr4=[[Mainz]]
| minorr4=[[Assmannshausen]]
|link4=Middle Rhine Valley#By boat
| caption4=KD Cruise line
}}

Criteria for route inclusion

[edit]

Preference should be given to routes which are most often used by travellers in the given area. Disagreements about whether a given route should be included should be addressed on the discussion page of the region or country for which the route applies. The routebox section should not be too cluttered and if possible be limited to the 9 most notable routes through a place (less for minor destinations).

In general, to be included, a route should have at least 4 destinations for which we have articles. Smaller routes such as state highways should be omitted if they duplicate the same access path as another route. Like other sections of our articles, the number of listings should never exceed nine.

Listing order

[edit]

Preference should be given in the following order:

  • Famous historical routes (the Silk Road, Route 66, Camino de Santiago/Way of St. James)
  • High speed train lines
  • Regular train lines
  • Major national highways, in numerical order
  • Minor national highways, in numerical order
  • State highways, private toll roads, or scenic routes, in numerical order

Obtaining an icon

[edit]

For numbered highways, official route shields are preferred when available. For many routes, an appropriate image can be found on the Route icon list or at commons:Category:Diagrams of route signs by country. The Wikipedia:WikiProject Highways task forces and subprojects (Canada, India, UK, US) have a good selection of route markers, most of which are directly available through Wikimedia Commons.

If no legally-usable official symbol can be found, you can create an icon by modifying the following .svg files with a program like Inkscape. The recommended font is the free version of Blue Highway by Ray Larabie. The recommended image size for the typical highway shield is 22 pixels.

For national routes, use white text on this shield: Image:blank national shield.svg


For subnational routes, use black text over this shield: Image:Blank subnational shield.svg


Other types of icons may be custom-created as needed. The preferred icon size is 100 by 25 pixels. Some examples:



If you import or create a new icon for a route, please add it to the appropriate part of the list, so that other users can find it.

Articles referencing an icon that does not exist are listed at Category:Routeboxes needing image.

Assigning directions

[edit]

Directions should be assigned according to official signage when available. In general, the two directions indicated by the routebox should be consistent for the length of the route when possible. Exceptions can be made when official signage indicates, or for loop lines such as a highway which circumnavigates an island or, for example, Tokyo's Yamanote line. In many countries directions that are just a cardinal direction on the compass make little sense as the route curves and the signage only indicates city names.

  • For consistency's sake, the direction to the left of the icon should always be the westernmost or northernmost direction.

Assigning major destinations

[edit]

Criteria for what is assigned as a major destination in each direction depends on the relative importance of the route.

  • Disagreements about whether a given city should be considered a major destination should be resolved on the talk page of the city in question.

For highways

[edit]

For highways, the goal is to have the routebox match the signage the traveller will see along a given road.

  • If the route goes for 2 hours' travel time or more without a major city, the next biggest city in the region should be used to break it up.
  • If the route passes near a major city, that city should still be included as a major city if signage along the route indicates it. For example, Pittsburgh could be included along I-79 because signage for Pittsburgh via Spur I-279 is placed along I-79 in the region.
  • If a major junction point occurs at a place which is not a control city, that place may be used as a major
  • For routes away from large cities, preference for major destinations is given to places which have junctions with more important routes. For example if a less important US Route intersects an Interstate at a smaller city, that city should still be used as a control. Thus, for US-83 in the Texas Panhandle, Shamrock is used as a control city because it has a major junction with I-40.
  • Some routes may pass through many destinations of roughly the same size or importance without passing through any major city at all. Other routes may pass for more than two hours through dozens of smaller places before reaching a place for which we have an article. In these cases, the next destination may be used as the control.

For train lines

[edit]

Most train lines have designated major destinations which often appear in a larger bold font or with a larger bullet on train route maps. For one route served by multiple types of trains, the routes served by the more "express" trains have a claim to "major" status but those served only by the more "local" trains do not. High speed rail lines sometimes have stops rather outside of established settlements, those should be mentioned if we have an article for them but they are almost invariably "minor" points on the routebox.

Assigning minor destinations

[edit]

The minor destination in each direction should always be the next place along the route for which we have an article. This should include any national parks or state parks unless the next city is within the park. Care should be taken in assuring that nothing is skipped. Running names from a map into our search engine is generally a good way to ensure complete coverage.

Termini, merging, and rural junctions

[edit]
  • When a route ends at the next destination, the next destination is listed as minor, and the field for major destination should read "END" (without quotes).
  • When a route ends at the current destination, the minor field is left blank, and the major field should read "END" (without quotes).
  • When a road route ends at a perpendicular route at a place for which we have no article, "Ends at" plus a reduced-size icon of the highway in question is used in place of "END".
  • When a route ends very near a major city, in a suburb for example, and the traveller could reasonably find their way into that city, that city may be used as a major destination.
  • When a route ends at a named destination for which we have no article, the destination name should be left unlinked.
  • When a road route merges with another route going in the same direction, "Merges with" plus a reduced-size icon of the highway in question is used in place of "END".
  • When a route changes name at a city or border in a way that no exit need be taken, "Becomes" plus a reduced-size icon of the highway in question should be inserted in the routeboxes of the adjacent destination articles.
  • When a road route crosses another route of equal or higher importance at a place for which we have no article, an unlinked text note reading "Junction" plus a reduced-size icon of the highway in question should be inserted, along with an arrow and space on the appropriate side. Insert the or characters by entering &larr; or &rarr; as source, copying them from here, or by selecting those arrows in the editing toolbar, under Special charactersSymbols. Unices may have them as <Compose> < - and <Compose> - > respectively.

A fictitious box below illustrates how the above points should look when utilized:

Routes through Fort Worth
Midland Weatherford  W  E  Arlington Dallas
Merges into  W  E  Arlington Dallas
END Denton  N  S  Junction Waco
Ends at Decatur  N  S  Corsicana Beaumont


Rest areas, travel information centers, and picnic areas

[edit]

Rest areas, travel information centers, and picnic areas can be inserted in addition to the two destinations in each direction. They should only be inserted when they fall between the current article and the next destination and should be spaced with a single space and an arrow on the appropriate side in the field of the minor destination. Extra arrows can be produced by using the templates {{subst:rtarrow}} and {{subst:lfarrow}} for right and left arrows respectively. The fictitious box below provides an example:

Routes through Vernon, Texas
Sayre Altus  N  S  London → Junction Brady
Amarillo Quanah  N  S  Rest area → Wichita Falls Fort Worth


Inserting a new article in a pre-existing route

[edit]

When inserting a new article along a route for which routeboxes are already implemented, don't forget to visit the article for the adjacent minor destinations and adjust the links to include the new article.