Template:Interprovincial highway/testcases

Simple
{{Interprovincial highway|curr=2 |curr_province=NS |curr_type=Trunk |name=2 |prev=2 |prev_province=NB |prev_type=TCH}}

{{Interprovincial highway}}

Interprovincial Highway 2
Previous route
NB Route 2 marker NB Route 2
Trunk 2 marker Trunk 2 Next route
Terminus

{{Interprovincial highway/sandbox}}

Interprovincial Highway 2
Previous route
NB Route 2 marker NB Route 2
Trunk 2 marker Trunk 2 Next route
Terminus
Large
{{Interprovincial highway|curr=17 |curr_province=ON |curr_type=Hwy |name=TCH |next=417 |next2=11 |next2_province=ON |next2_type=Hwy |next_province=ON |next_type=Hwy |prev=1 |prev2=71 |prev2_province=ON |prev2_type=Hwy |prev3=11 |prev3_province=ON |prev3_type=Hwy |prev4=69 |prev4_province=ON |prev4_type=Hwy |prev_province=MB |prev_type=Hwy}}

{{Interprovincial highway}}

Trans-Canada Highway
Previous routes
MB Provincial Trunk Highway 1 marker MB Provincial Trunk Highway 1
Highway 71 marker Highway 71
Highway 11 marker Highway 11
Highway 69 marker Highway 69
Highway 17 marker Highway 17 Next routes
Highway 417 marker Highway 417
Highway 11 marker Highway 11

{{Interprovincial highway/sandbox}}

Trans-Canada Highway
Previous routes
MB Provincial Trunk Highway 1 marker MB Provincial Trunk Highway 1
Highway 71 marker Highway 71
Highway 11 marker Highway 11
Highway 69 marker Highway 69
Highway 17 marker Highway 17 Next routes
Highway 417 marker Highway 417
Highway 11 marker Highway 11
Multiple
{{Interprovincial highway|curr=16 |curr_province=AB |curr_type=Hwy |hwy2_name=TCH |hwy2_next=16 |hwy2_next_province=SK |hwy2_next_type=Hwy |hwy2_prev=16 |hwy2_prev_province=BC |hwy2_prev_type=Hwy |name=Yellowhead |next=16 |next_province=SK |next_type=Hwy |prev=16 |prev_province=BC |prev_type=Hwy}}

{{Interprovincial highway}}

Yellowhead Highway
Previous route
BC Highway 16 marker BC Highway 16
Highway 16 marker Highway 16 Next route
SK Highway 16 marker SK Highway 16
Trans-Canada Highway
Previous route
BC Highway 16 marker BC Highway 16
Highway 16 marker Highway 16 Next route
SK Highway 16 marker SK Highway 16

{{Interprovincial highway/sandbox}}

Yellowhead Highway
Previous route
BC Highway 16 marker BC Highway 16
Highway 16 marker Highway 16 Next route
SK Highway 16 marker SK Highway 16
Trans-Canada Highway
Previous route
BC Highway 16 marker BC Highway 16
Highway 16 marker Highway 16 Next route
SK Highway 16 marker SK Highway 16