Template:River item box/testcases
Appearance
This is the template test cases page for the sandbox of Template:River item box. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
{{River item box}}
{{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}}
Basic usage
[edit]{{River item box |River = [[Basic river]] |upstream = [[Basic bridge up there]] |downstream = [[Basic item down there]]}}
- will give
{{River item box}} | {{River item box/sandbox}} |
---|---|
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
{{River item box}} | {{River item box/sandbox}} |
---|---|
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
{{River item box}} | {{River item box/sandbox}} |
---|---|
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
{{River item box}} | {{River item box/sandbox}} |
---|---|