Jump to content

Template:Interprovincial highway/doc

From Wikipedia, the free encyclopedia

{{Interprovincial highway}} is used to show the succession of the component highways of a interprovincial highways, such as the Trans-Canada Highway. It should be placed below all article content but above the categories.

Usage

[edit]

Basic

[edit]
{{Interprovincial highway
| curr = 
| curr_type = 
| curr_province = 
| name = 
| prev = 
| prev_type = 
| prev_province = 
| next = 
| next_type = 
| next_province = 
}}

Single highway

[edit]
{{Interprovincial highway
| curr = 
| curr_type = 
| curr_province = 
| name = 
| prev = 
| prev_type = 
| prev_province = 
| prev2 = 
| prev2_type = 
| prev2_province =
| ...
| next = 
| next_type = 
| next_province = 
| next2 = 
| next2_type = 
| next2_province = 
| ...
}}

Multiple highways

[edit]
{{Interprovincial highway
| curr = 
| curr_type = 
| curr_province = 
| name = 
| prev = 
| prev_type = 
| prev_province = 
| prev2 = 
| prev2_type = 
| prev2_province =
| ...
| next = 
| next_type = 
| next_province = 
| next2 = 
| next2_type = 
| next2_province = 
| ...
| hwy2_name = 
| hwy2_prev = 
| hwy2_prev_type = 
| hwy2_prev_province = 
| hwy2_prev2 = 
| hwy2_prev2_type = 
| hwy2_prev2_province =
| ...
| hwy2_next = 
| hwy2_next_type = 
| hwy2_next_province = 
| hwy2_next2 = 
| hwy2_next2_type = 
| hwy2_next2_province = 
| ...
}}

Parameters

[edit]

All parameters can be repeated with the prefixes hwy2_, hwy3_, ... to list interprovincial highways.

Interprovincial highway

[edit]

Previous route(s)

[edit]
  • |prev= - The previous route that forms a part of the interprovincial highway. Terminus is shown if none is given.
  • |prev_type= - The type of the previous route. See Template:Jct/doc#Intersecting routes for supported types.
  • |prev_province= - The province of the previous route.
  • |prev<i>= - Additional previous routes where <i> is a number starting from 2.
  • |prev<i>_type= - The type of the additional route defined by |prev<i>=.
  • |prev<i>_type= - The province of the additional route defined by |prev<i>=.

Current route

[edit]
  • |curr= - The current route that forms a part of the interprovincial highway.
  • |curr_type= - The type of the current route. See Template:Jct/doc#Intersecting routes for supported types.
  • |curr_province= - The province of the current route.

Next route(s)

[edit]
  • |next= - The next route that forms a part of the interprovincial highway. Terminus is shown if none is given.
  • |next_type= - The type of the next route. See Template:Jct/doc#Intersecting routes for supported types.
  • |next_province= - The province of the next route.
  • |next<i>= - Additional next routes where <i> is a number starting from 2.
  • |next<i>_type= - The type of the additional route defined by |next<i>=.
  • |next<i>_type= - The province of the additional route defined by |next<i>=.

Examples

[edit]
{{Interprovincial highway
| name = TCH
| curr = 417
| curr_type = Hwy
| curr_province = ON
| prev = 17
| prev_type = Hwy
| prev_province = ON
| prev2 = 7
| prev2_type = Hwy
| prev2_province = ON
| next = 40
| next_type = A
| next_province = QC
}}
Trans-Canada Highway
Previous routes
Highway 17 marker Highway 17
Highway 7 marker Highway 7
Highway 417 marker Highway 417 Next route
QC Autoroute 40 marker QC Autoroute 40
{{Interprovincial highway
| curr = 16
| curr_type = Hwy
| curr_province = BC
| name = Yellowhead
| next = 16
| next_type = Hwy
| next_province = AB
| hwy2_name = TCH
| hwy2_next = 16
| hwy2_next_type = Hwy
| hwy2_next_province = AB
}}
Yellowhead Highway
Previous route
Terminus
Highway 16 marker Highway 16 Next route
AB Highway 16 marker AB Highway 16
Trans-Canada Highway
Previous route
Terminus
Highway 16 marker Highway 16 Next route
AB Highway 16 marker AB Highway 16

Supported highways

[edit]
ValueTitle
Yellowhead Yellowhead Highway
2Interprovincial Highway 2
TCH Trans-Canada Highway

Types retrieved from Module:Interprovincial highway/data (edit).

See also

[edit]