Template:Interprovincial highway/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

{{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.

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

Single highway

[edit source]
{{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 source]
{{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 source]

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

Interprovincial highway

[edit source]

Previous route(s)

[edit source]
  • |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 source]
  • |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 source]
  • |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 source]
{{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
}}
{{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
}}

Supported highways

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

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

See also

[edit source]