This template produces a junction listing for the junction list of a highway article, and can be used as an argument to |road= in a template for an intersection such as ((jctint)).

Usage

[change source]

The full syntax is as follows.

((jct|country=|state=
  |to1=|1|2|county1=|dab1=|dir1=|name1=
  |to2=|3|4|county2=|dab1=|dir2=|name2=
  |to3=|5|6|county3=|dab1=|dir3=|name3=
  |to4=|7|8|county4=|dab1=|dir4=|name4=
  ...
  |toroad=|road=
  |city1=|location1=
  |city2=|location2=
  |city3=|location3=
  |city4=|location4=
  ...
  |extra=
))

Many parameters shown above are unnecessary in most cases, and can be omitted.

Parameters

[change source]

Parameters |in bold= are most important.

Location

[change source]

Intersecting routes

[change source]
For routes in the United States, see this page.
For routes in Canada, the following designations are supported:
  • AB (Alberta) - Hwy (primary and secondary provincial highways)
  • ON (Ontario) - Highway (provincial highway, all types), RR (Regional Road, must supply a county argument for region)
  • QC (Quebec) - Route (standard route), A (Autoroute)
  • MB (Manitoba) - Hwy (primary provincial highway), PR (secondary provincial highway), Winnipeg (Winnipeg city route)
  • NB (New Brunswick) - Route (NOTE: Not all routes have shield graphics at present.)
  • NS (Nova Scotia) - Trunk (trunk route), Hwy (highway), Route (other route)
  • PE (Prince Edward Island) - PE (all numbered routes except TCH)
  • All provinces - TCH (Trans-Canada Highway)
For routes in Australia, see this page.
For United Kingdom routes:
  • M = Motorway
  • A = A roads
For A roads that have a motorway segment, example: A1(M), use M as the route type and the A1 as the number
|toroad= has the same behavior for |road=.

Destinations

[change source]
|areadab<i>= accepts the area to be used for further disambiguating the ith city, such as a name that could refer to a town or a village within the same county.
|countydab<i>= accepts the name of the county to be used for disambiguating the ith city, e.g., for a town whose name coincides with another in a different county within the same state.
|location<i>= accepts wikicode that overrides |city<i>=, and should be used if the destination city is located outside of the state the junction is in.
Specifications for additional types and custom shields may be added to Module:Road data/extra.

Appearance

[change source]
|noshield= accepts any value. The presence of |noshield= indicates that no shield should be displayed.
|nolink= accepts any value. The presence of |nolink= indicates that all routes at the junction should not be wikilinked.

Examples

[change source]
I-35  – Dallas, San Antonio
SR A1A  – Miami, Jacksonville
NY 31 (Monroe Avenue)  – Pittsford

US 64 Bus. (Hiawassee Street)
M-37 (Broadmoor Avenue)  – Grand Rapids, Hastings, Gerald R. Ford International Airport
Hwy 99  – Vancouver
A 6 / A 81  – Würzberg, Nuremberg
M1  – The North
D303  – Rovinj

The list of countries that are set up limits the set of examples.

For a list of all current defined sub-templates, see: prefix:Template:Jct/

See also

[change source]