Module:Road data/browsetable/testcases

Simple

edit
{{Box|width=20em|padding=8px|
{{#invoke:Road data/browsetable|browsetable|
{{oh browse|previous_type=SR|previous_route=222|route=OH|next_type=OH 1927|next_route=223|next_dab=1927-1930}}
{{mi browse|previous_type=M|previous_route=222|route=MI|next_type=M|next_route=227}}
}}
}}

{{#invoke:Road data/browsetable|browse}}

  SR 222OH  SR 223
  M-222MI  M-227

{{#invoke:Road data/browsetable/sandbox|browse}}

  SR 222OH  SR 223
  M-222MI  M-227

Infobox

edit
{{Infobox
| data1 = {{#invoke:Road data/browsetable|browsetable|
{{ny browse
 | route = 40
 | type = I
 | previous_type = I
 | previous_route = 30
 | next_type = I
 | next_route = 50
}}
}}
| data2 = {{#invoke:Road data/browsetable|browsetable|style=margin-top:-3px;|
{{oh browse
 | route = OH
 | previous_type = OH
 | previous_route = 10
 | next_type = OH
 | next_route = 14
}}
{{oh browse
 | route = OH
 | previous_type = OH
 | previous_route = 10
 | next_type = OH
 | next_route = 14
}}
}}
}}

{{#invoke:Road data/browsetable|browse}}

  I-3040  I-50
  SR 10OH  SR 14
  SR 10OH  SR 14

{{#invoke:Road data/browsetable/sandbox|browse}}

  I-3040  I-50
  SR 10OH  SR 14
  SR 10OH  SR 14

Sibling tables

edit
{{Box|width=20em|padding=8px|
{{#invoke:Road data/browsetable|browsetable|style=margin-top:-3px;|
{{#invoke:Road data/browse|browse|
 | country = USA
 | state = OH
 | route = OH
 | previous_type = OH
 | previous_route = 10
 | next_type = OH
 | next_route = 14
}}
{{oh browse
 | route = OH
 | previous_type = OH
 | previous_route = 10
 | next_type = OH
 | next_route = 14
}}
}}
{{#invoke:Road data/browsetable|browsetable|
{{oh browse
 | route = OH
 | previous_type = OH
 | previous_route = 10
 | next_type = OH
 | next_route = 14
}}
}}
}}

{{#invoke:Road data/browsetable|browse}}

  SR 10OH  SR 14
  SR 10OH  SR 14
  SR 10OH  SR 14

{{#invoke:Road data/browsetable/sandbox|browse}}

  SR 10OH  SR 14
  SR 10OH  SR 14
  SR 10OH  SR 14

ON former

edit
{{Box|width=20em|padding=8px|
{{#invoke:Road data/browsetable|browsetable|style=margin-top:-3px;|
{{ON former|previous=11A|next=12}}
{{ON former|previous=11A|next=12}}
}}
}}

{{#invoke:Road data/browsetable|browse}}

{{#invoke:Road data/browsetable/sandbox|browse}}

Browse break

edit
{{Box|width=20em|padding=8px|
{{#invoke:Road data/browsetable|browsetable|style=margin-top:-3px;|
{{ON former|previous=11A|next=12}}
{{Browse break}}
{{ON former|previous=11A|next=12}}
}}
}}

{{#invoke:Road data/browsetable|browse}}

{{#invoke:Road data/browsetable/sandbox|browse}}

edit
{{Box|width=20em|padding=8px|
{{#invoke:Road data/browsetable|browsetable|style=margin-top:-3px;|
{{ON former|previous=11A|next=12}}
{{Browse links|province=ON|type=Hwy}}
{{ON browse|previous_type=ON|previous_route=125|next_type=ON|next_route=127}}
}}
}}

{{#invoke:Road data/browsetable|browse}}

Former provincial highways
←   Highway 11A Highway 12   →
  Highway 125  Highway 127

{{#invoke:Road data/browsetable/sandbox|browse}}