Template:Infobox road/testcases

{{Testcases}}

See /USA, /CAN, /GBR, /international for standard testcases from the United States, Canada, the United Kingdom, and internationally, respectively.

{{testcase table

|_caption=Conversion tests

|length_mi=4

|length_notes={{tlx|convert}}: {{cvt|4|mi|km m}}

|section1=Length conversion test 1

|length_mi1=0.4

|length_notes1={{tlx|convert}}: {{cvt|0.4|mi|km m}}

|section2=Length conversion test 2

|length_mi2=40

|length_notes2={{tlx|convert}}: {{cvt|40|mi|km m}}

|section3=Length conversion test 3

|length_mi3=0.04

|length_notes3={{tlx|convert}}: {{cvt|0.04|mi|km m}}

|section4=Length conversion test 4

|length_mi4=400

|length_notes4={{tlx|convert}}: {{cvt|400|mi|km m}}

|section5=Length conversion test 5

|length_mi5=0.044

|length_notes5={{tlx|convert}}: {{cvt|0.044|mi|km m}}

|section6=Length conversion test 6

|length_mi6=440

|length_notes6={{tlx|convert}}: {{cvt|440|mi|km m}}

|section7=Length conversion test 7

|length_mi7=0.0044

|length_notes7={{tlx|convert}}: {{cvt|0.0044|mi|km m}}

|section8=Length conversion test 8

|length_mi8=4400

|length_notes8={{tlx|convert}}: {{cvt|4400|mi|km m}}

|section9=Length conversion test 9

|length_mi9=0.382

|length_notes9={{tlx|convert}}: {{cvt|0.382|mi|km m}}

}}

{{testcase table

|_caption=Conversion tests

|length_km=4

|length_notes={{tlx|convert}}: {{cvt|4|km|mi ft}}

|section1=Length conversion test 1

|length_km1=0.4

|length_notes1={{tlx|convert}}: {{cvt|0.4|km|mi ft}}

|section2=Length conversion test 2

|length_km2=40

|length_notes2={{tlx|convert}}: {{cvt|40|km|mi ft}}

|section3=Length conversion test 3

|length_km3=0.04

|length_notes3={{tlx|convert}}: {{cvt|0.04|km|mi ft}}

|section4=Length conversion test 4

|length_km4=400

|length_notes4={{tlx|convert}}: {{cvt|400|km|mi ft}}

|section5=Length conversion test 5

|length_km5=0.044

|length_notes5={{tlx|convert}}: {{cvt|0.044|km|mi ft}}

|section6=Length conversion test 6

|length_km6=440

|length_notes6={{tlx|convert}}: {{cvt|440|km|mi ft}}

|section7=Length conversion test 7

|length_km7=0.0044

|length_notes7={{tlx|convert}}: {{cvt|0.0044|km|mi ft}}

|section8=Length conversion test 8

|length_km8=4400

|length_notes8={{tlx|convert}}: {{cvt|4400|km|mi ft}}

}}

{{testcase table

|_caption=Image test

|photo=No image.svg

}}

{{testcase table

|_caption={{para|section}} test

|section=115

|subsection=22

|state=MN

|type=MN

|route=91

}}

{{testcase table

|_caption=Allocation test

|allocation=Alloc

}}

{{ testcase table

|_caption=Tolled highway test

| state=IL

| type=I

| route=88

| free_mi=43.98

| tolled_mi=96.40

| overall_mi=140.38

}}

{{ testcase table

|_caption=Automatic mapframe map

| state=IA

| type=IA

| route=100

| mapframe=yes

| mapframe-raw={{Wikipedia:Map data/Wikipedia KML/Iowa Highway 100}}

| length_mi=11.628

| counties=Linn

| next_type=IA

| next_route=99

}}

{{ testcase table

|_caption= Ring road

| country = GBR

| type = M

| route = 25

| alternate_name = London Orbital Motorway

| e-road = {{Jct|country=EUR|E|15}} and {{Jct|country=EUR|E|30}}{{cite book |title=Big Road Atlas Europe 2020 |author=AA Publishing |year=2019}}

| maint = Connect Plus (contracted to National Highways)

| length_mi = 117

| established = 1975

| history = Opened: 1975
Completed: 1986

| orbital = London (in conjunction with the A282)

| direction_a = South

| terminus_a = Dartford (Dartford Crossing southern approach)

| direction_b = North

| terminus_b = Thurrock (Dartford Crossing northern approach)

| counties = Kent, Surrey, Berkshire, Greater London, Buckinghamshire, Hertfordshire, Essex

| destinations = London, Dartford Crossing, Sevenoaks, Gatwick Airport, Heathrow Airport, Watford, Stansted Airport, Brentwood

| previous_type = M

| next_type = M

| previous_route = 23

| next_route = 26

}}

{{ testcase table

|_caption={{para|header_type|uc}}

| header_type=uc

| state=NY

| type=NY

| route=327

| planned_mi=7.11

| planned_ref=

| established=1930

| direction_a=South

| terminus_a={{jct|state=NY|NY|13|NY|34|NY|96}} in Ithaca

| direction_b=North

| terminus_b={{jct|state=NY|NY|79}} in Enfield

| counties=Tompkins

| previous_type=NY

| previous_route=326

| next_type=NY

| next_route=328

}}

{{ testcase table

|_caption={{para|nobrowse|yes}}

| header_type=historic

| state=NY

| type=US

| route=44

| maint=NYSDOT and New York State Bridge Authority

| map=US 44 (NY) map.svg

| map_notes=Map of New York with US 44 highlighted in red

| length_mi=65.98

| length_ref=

| established=ca. 1935

| direction_a=West

| terminus_a={{jct|state=NY|US|209|NY|55}} in Wawarsing

| junction={{jct|state=NY|US|9}} in Poughkeepsie

| direction_b=East

| terminus_b={{jct|state=CT|US|44}} at the Connecticut state line in Amenia

| counties=Ulster, Dutchess

| previous_type=NY

| previous_route=43

| next_type=NY

| next_route=45

| nobrowse=yes

}}

{{testcase table

|_caption=Multiple browses (non-functional)

|country=USA

|route=676

|type=I

|map_notes=I-676 highlighted in red

|map_alt=A map showing major roads in the Philadelphia-Camden area. I-676 runs east across Philadelphia before entering Camden, where it turns south.

|maint=PennDOT, DRPA, and NJDOT

|length_mi=6.90

|length_ref={{cite web|url=http://www.fhwa.dot.gov/reports/routefinder/table2.htm|title=Route Log and Finder List, Table 2|publisher=Federal Highway Administration|date= 2002-10-31|accessdate=2007-06-06}}

|established=1964

|history=Completed in 1991{{cite news|first=Dave|last=Bittan|title=Expressway Through Your City's Heart Opens Vine Highway Connects Schuylkill to I-95|url=http://wikipedia-usrd.pastebin.ca/545904|publisher=Philadelphia Daily News|date= 1991-01-11|accessdate=2007-06-06}}

|direction_a=West

|terminus_a={{jct|state=PA|I|76|US|30}} in Philadelphia, PA

|junction={{jct|state=PA|PA|611}} in Philadelphia, PA
{{jct|state=PA|I|95}} in Philadelphia, PA
{{jct|state=NJ|US|30}} in Camden, NJ

|direction_b=South

|terminus_b={{jct|state=NJ|I|76}} in Gloucester City, NJ

|states=Pennsylvania, New Jersey

|counties=PA: Philadelphia
NJ: Camden

|system1={{infobox road/browselinks/USA|state=PA}}

|system2={{infobox road/browselinks/USA|state=NJ}}

|spur_type=I

|spur_of=76

|spur_dab=Ohio–New Jersey

|browse_state1=PA

|browse_route1=PA

|previous_type1=PA 1926

|previous_route1=672

|next_type1=PA 1960

|next_route1=680

|browse_state2=NJ

|browse_route2=NJ

|previous_type2=NJ

|previous_route2=495

|next_type2=I

|next_route2=695

}}

{{testcase table

|_caption=Browse with different shield and shieldmain

|province = ON

|type = Fwy

|route = 406

|alternate_name =

|map = Ontario 406 map.svg

|length_km = 26.0

|established = December 7, 1965{{cite book

| title = A.A.D.T. Traffic Volumes 1955–1969 And Traffic Collision Data 1967–1969

| publisher = Ontario Department of Highways

| year = 1970

| page = 12}}

|direction_a = South

|terminus_a = East Main Street in Welland

|junction = {{jcon|Hwy|58|town=Thorold}}

|direction_b = North

|terminus_b = {{jcon|Hwy|QEW}} in St. Catharines

|previous_type = ON

|previous_route = 405

|next_type = ON

|next_route = 407

}}

{{testcase table

|_caption=Browselinks override with {{para|system}}

|province=ON

|type=MR

|county=Greater Sudbury

|route=55

|alternate_name=Old Highway 17
Lorne Street
Douglas Street
Brady Street
Lloyd Street
The Kingsway

|length_km=40.9

|length_ref={{cite web|url=http://maps.google.ca/maps?f=d&source=s_d&saddr=RR-55+%4046.376618,+-81.346644&daddr=46.39519,-81.23085+to:46.488941,-81.0036591+to:Kingsway+Rd+%4046.495514,+-80.884922&hl=en&geocode=FaqmwwIdrL8m-w%3BFTbvwwId_oMo-ymLHHf2jE4uTTGXAfcWsqebew%3BFW1dxQIddfsr-ynPpPX43qovTTHLUkWqTVhd_A%3BFRp3xQIdRsst-w&mra=dpe&mrcr=0&mrsp=1&sz=11&via=1,2&dirflg=h&sll=46.445901,-81.13472&sspn=0.277724,0.727158&ie=UTF8&t=h&z=11|date=2008-01-08|accessdate=2008-01-08|title=Google map showing Greater Sudbury Road 55's entire length|author=Google Map}}

|direction_a=West

|terminus_a=20px20px Highway 17/TCH at Whitefish

|direction_b=East

|terminus_b=20px20px Highway 17/TCH at Coniston

|cities=Greater Sudbury

|system=Greater Sudbury Municipal Roads

}}

Embedding

{{Test case nowiki|format=columns|showcode=no|code=

{{Infobox tunnel

|name= Brooklyn–Battery Tunnel

|image= TBTA BROOKLYN BATTERY TUNNEL.svg

|image_size = 100

|caption=Logo of the Brooklyn–Battery Tunnel

|official_name= Hugh L. Carey Tunnel

|also_known_as=

|lanes= 4

|route= {{jct|state=NY|I|478}}

|crosses= East River

|location= The boroughs of Manhattan and Brooklyn, in New York City, New York

|operator= MTA Bridges and Tunnels

|length= {{cvt|9117|ft|m}}

|width=

|height={{cvt|12|ft|1|in|m}}

|traffic= 45,337 (2010){{cite web |url=https://www.dot.ny.gov/divisions/engineering/technical-services/hds-respository/Traffic%20Data%20Report%202010%20Appendix%20C%20-%20AADT%20Values%20for%20Select%20Toll%20Facilities.pdf

|title=2008 Traffic Data Report for New York State |format=PDF |publisher=New York State Department of Transportation |at=Appendix C |accessdate=February 27, 2010}}

|opened= {{start date and age|1950|05|25}}

|closed=

|toll= $7.50 (cash); $5.33 (New York State E-ZPass)

|coordinates={{coord|40.695833|-74.013611|type:landmark_region:US-NY|display=inline}}

|map=File:Brooklyn–Battery Tunnel Map.svg

|extra={{__TEMPLATENAME__

|child=yes

|state=NY

|route=478

|type=I

|maint=MTA Bridges and Tunnels

|length_mi=2.14

|length_round=2

|length_ref={{cite web|url=http://www.fhwa.dot.gov/reports/routefinder/table2.cfm |title=Route Log and Finder List — Interstate System: Table 2 |publisher=FHWA |accessdate=March 28, 2008}}

|established=1971

|direction_a=South

|terminus_a={{Jct|state=NY|I|278}} in Brooklyn

|direction_b=North

|terminus_b={{Jct|state=NY|NY|9A}} in Manhattan

|previous_type=NY

|previous_route=474

|next_type=I

|next_route=481

}}

}}

}}

{{Test case nowiki|format=columns|showcode=no|

{{__TEMPLATENAME__

|state=NY

|route=478

|type=I

|maint=MTA Bridges and Tunnels

|length_mi=2.14

|length_ref={{cite web|url=http://www.fhwa.dot.gov/reports/routefinder/table2.cfm |title=Route Log and Finder List — Interstate System: Table 2 |publisher=FHWA |accessdate=March 28, 2008}}

|established=1971

|direction_a=South

|terminus_a={{Jct|state=NY|I|278}} in Brooklyn

|direction_b=North

|terminus_b={{Jct|state=NY|NY|9A}} in Manhattan

|previous_type=NY

|previous_route=474

|next_type=I

|next_route=481

|embedded={{__TEMPLATENAME__

|child=yes

|header_type=historic

|state=NY

|type=US

|route=44

|maint=NYSDOT and New York State Bridge Authority

|map=US 44 (NY) map.svg

|map_notes=Map of New York with US 44 highlighted in red

|length_mi=65.98

|length_round=2

|length_ref=

|established=ca. 1935

|direction_a=West

|terminus_a={{jct|state=NY|US|209|NY|55}} in Wawarsing

|junction={{jct|state=NY|US|9}} in Poughkeepsie

|direction_b=East

|terminus_b={{jct|state=CT|US|44}} at the Connecticut state line in Amenia

|counties=Ulster, Dutchess

|previous_type=NY

|previous_route=43

|next_type=NY

|next_route=45

|nobrowse=yes

}}

}}

}}

=Dash in existed date range=

{{ testcase table

|_caption=|established=1930

| established=1930

}}

{{ testcase table

|_caption=|established=January 1930

| established=January 1930

}}

----

{{ testcase table

|_caption=|established={{start date|1930}}

| established={{start date|1930}}

}}

{{ testcase table

|_caption=|established={{start date|1930|1}}

| established={{start date|1930|1}}

}}

----

{{ testcase table

|_caption=|established=1930 |deleted=1940

|established=1930 |deleted=1940

}}

{{ testcase table

|_caption=|established=1930 |deleted=May 1940

|established=1930 |deleted=May 1940

}}

{{ testcase table

|_caption=|established=March 1930 |deleted=May 1940

|established=March 1930 |deleted=May 1940

}}

----

{{ testcase table

|_caption=|established={{start date|1930}} |deleted={{end date|1940}}

|established={{start date|1930}} |deleted={{end date|1940}}

}}

{{ testcase table

|_caption=|established={{start date|1930}} |deleted={{end date|1940|5}}

|established={{start date|1930}} |deleted={{end date|1940|5}}

}}

{{ testcase table

|_caption=|established={{start date|1930|3}} |deleted={{end date|1940|5}}

|established={{start date|1930|3}} |deleted={{end date|1940|5}}

}}