{{River item box|table=start
|upstream=A
|downstream=B
|river=C
}}
{{River item box|table=middle
|upstream=A
|downstream=B
|river=C
}}
{{River item box|table=end
|upstream=A
|downstream=B
|river=C
}}

{{River item box}}


Next crossing upstream C Next crossing downstream
A River item box/testcases B
Next crossing upstream C Next crossing downstream
A River item box/testcases B
Next crossing upstream C Next crossing downstream
A River item box/testcases B


{{River item box/sandbox}}


Next crossing upstream C Next crossing downstream
A River item box/testcases B
Next crossing upstream C Next crossing downstream
A River item box/testcases B
Next crossing upstream C Next crossing downstream
A River item box/testcases B

Basic usage

edit
{{River item box
|River = [[Basic river]]
|upstream = [[Basic bridge up there]]
|downstream = [[Basic item down there]]}}
will give
Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next crossing upstream Basic river Next crossing downstream
Basic bridge up there River item box/testcases Basic item down there
Next crossing upstream Basic river Next crossing downstream
Basic bridge up there River item box/testcases Basic item down there

Full usage

edit
{{River item box
|River = [[Full river]]
|upstream = [[Full tunnel up there]]
|downstream = [[Full island down there]]
|type = tunnel
|thisis = [[anything but the pagename]]
|upsub = ({{convert|60|ft|0}} down)
|downsub = Built many years ago
|location = NZ123456}}
will give
Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next tunnel upstream Full river Next tunnel downstream
Full tunnel up there
(60 feet (18 m) down)
anything but the pagename
Grid reference NZ123456
Full island down there
Built many years ago
Next tunnel upstream Full river Next tunnel downstream
Full tunnel up there
(60 feet (18 m) down)
anything but the pagename
Grid reference NZ123456
Full island down there
Built many years ago

Extended table

edit
{{River item box
|River = [[River Thames]]
|upstream = [[Mapledurham Lock]]
|downstream = [[Sonning Lock]]
|table = start
|type = lock
|thisis = Caversham Lock
|upsub = ({{convert|4.40|mi|2}})
|downsub = ({{Convert|2.63|mi|2}})
|location=SU718740}}

<!-- having a blank line here will disrupt the alignment in the third column -->

{{River item box
|River = [[River Thames]]
|upstream = [[Reading Bridge]]
|downstream=[[Sonning Bridge]] &<br /> [[Sonning Backwater Bridges]] 
|table = middle
|type = bridge
|thisis = Caversham Lock
|location=SU718740}}<!--

it can be fixed by looping the comment like this

-->{{River item box
|River = [[River Thames]]
|upstream = [[Fry's Island]]
|downstream=[[View Island]]
|table = end
|type = island
|thisis = De Bohun Island
|location=SU718740}}
will give
Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next lock upstream River Thames Next lock downstream
Mapledurham Lock
(4.40 miles (7.08 km))
Caversham Lock
Grid reference SU718740
Sonning Lock
(2.63 miles (4.23 km))
Next lock upstream River Thames Next lock downstream
Mapledurham Lock
(4.40 miles (7.08 km))
Caversham Lock
Grid reference SU718740
Sonning Lock
(2.63 miles (4.23 km))


Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next bridge upstream River Thames Next bridge downstream
Reading Bridge Caversham Lock
Grid reference SU718740
Sonning Bridge &
Sonning Backwater Bridges
Next bridge upstream River Thames Next bridge downstream
Reading Bridge Caversham Lock
Grid reference SU718740
Sonning Bridge &
Sonning Backwater Bridges
Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next island upstream River Thames Next island downstream
Fry's Island De Bohun Island
Grid reference SU718740
View Island
Next island upstream River Thames Next island downstream
Fry's Island De Bohun Island
Grid reference SU718740
View Island

River junction

edit
{{{River item box
|River      = [[River Tyne]]
|upstream   = [[Warden Railway Bridge]]
|upsub      = [[Tyne Valley line]]<br />([[River Tyne|River South Tyne]])
|upstream2  = [[Chesters Bridge]]
|upsub2     = Ruined [[Roman bridge]], formerly [[Military Way (Hadrian's Wall)|Military Way]]<br />([[River Tyne|River North Tyne]])
|downstream = [[Border Counties Bridge]]
|downsub    = Ruined, formerly [[Border Counties Railway]]
|type       = bridge
|table      = start
|location   = NY921654}}

{{River item box
|River      = [[River Tyne]]
|upstream   = [[Warden Bridge]]
|upsub      = Road and [[National Cycle Route 72]]<br />([[River Tyne|River South Tyne]])
|upstream2  = [[Chollerford Bridge]]
|upsub2     = [[Military Road (Northumberland)|B6318 road]]<br />([[River Tyne|River North Tyne]])
|downstream = [[Hexham Bridge]]
|type       = road bridge
|table      = end
|location   = NY921654}}
will give
Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next bridge upstream River Tyne Next bridge downstream
Warden Railway Bridge
Tyne Valley line
(River South Tyne)

Chesters Bridge
Ruined Roman bridge, formerly Military Way
(River North Tyne)
River item box/testcases
Grid reference NY921654
Border Counties Bridge
Ruined, formerly Border Counties Railway
Next bridge upstream River Tyne Next bridge downstream
Warden Railway Bridge
Tyne Valley line
(River South Tyne)

Chesters Bridge
Ruined Roman bridge, formerly Military Way
(River North Tyne)
River item box/testcases
Grid reference NY921654
Border Counties Bridge
Ruined, formerly Border Counties Railway
Side by side comparison
{{River item box}}{{River item box/sandbox}}
Next road bridge upstream River Tyne Next road bridge downstream
Warden Bridge
Road and National Cycle Route 72
(River South Tyne)

Chollerford Bridge
B6318 road
(River North Tyne)
River item box/testcases
Grid reference NY921654
Hexham Bridge
Next road bridge upstream River Tyne Next road bridge downstream
Warden Bridge
Road and National Cycle Route 72
(River South Tyne)

Chollerford Bridge
B6318 road
(River North Tyne)
River item box/testcases
Grid reference NY921654
Hexham Bridge