Template:Clyde bridge list: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 44: Line 44:
|type=f
|type=f
}}|8
}}|8
|Crawford Bridge={{#switch:{{{2}}}
|Camps Road Bridge={{#switch:{{{2}}}
|name=Crawford Bridge
|name=Camps Road Bridge
|name 2=
|name 2=
|n=8
|n=8
Line 111: Line 111:
|type=r
|type=r
}}|19
}}|19
|Clyde Bridge, Carstairs Junction={{#switch:{{{2}}}
|Clyde Bridge, Carstairs Junction
|name=Clyde Bridge, Carstairs Junction
|Clyde Bridge, Carstairs={{#switch:{{{2}}}
|name=Clyde Bridge, Carstairs
|name 2=Clyde Bridge
|name 2=Clyde Bridge
|n=19
|n=19
Line 210: Line 211:
|type=ford
|type=ford
}}|35
}}|35
|Ross Viaduct={{#switch:{{{2}}}
|Camp Viaduct={{#switch:{{{2}}}
|name=Ross Viaduct
|name=Camp Viaduct
|name 2=
|name 2=
|n=35
|n=35
Line 223: Line 224:
}}|37
}}|37
|Raith Bridge
|Raith Bridge
|M74 Clyde Bridge={{#switch:{{{2}}}
|M74 Clyde Bridge
|name=Raith Bridge
|M74 Raith Bridge
|name 2=
|Raith Cottage Road Bridge={{#switch:{{{2}}}
|name=Raith Cottage Road Bridge
|name 2=M74 Raith Bridge
|n=37
|n=37
|type=b
|type=b
Line 259: Line 262:
|type=f
|type=f
}}|43
}}|43
|Uddingston Railway Bridge={{#switch:{{{2}}}
|Uddingston Viaduct={{#switch:{{{2}}}
|name=Uddingston Railway Bridge
|name=Uddingston Viaduct
|name 2=Clyde Viaduct
|name 2=
|n=43
|n=43
|type=r
|type=r
Line 283: Line 286:
|type=pipe
|type=pipe
}}|47
}}|47
|Westburn Viaduct={{#switch:{{{2}}}
|Carmyle Viaduct={{#switch:{{{2}}}
|name=Westburn Viaduct
|name=Carmyle Viaduct
|name 2=Carmyle Viaduct
|name 2=
|n=47
|n=47
|type=v
|type=v
Line 331: Line 334:
|type=b
|type=b
}}|55
}}|55
|Clyde Viaduct={{#switch:{{{2}}}
|Dalmarnock Railway Bridge={{#switch:{{{2}}}
|name=Clyde Viaduct
|name=Dalmarnock Railway Bridge
|name 2=
|name 2=
|n=55
|n=55
Line 338: Line 341:
}}|56
}}|56
|Shawfield Smartbridge
|Shawfield Smartbridge
|Shawfield Bridge={{#switch:{{{2}}}
|Shawfield Footbridge={{#switch:{{{2}}}
|name=Shawfield Smartbridge
|name=Shawfield Footbridge
|name 2=Shawfield Smartbridge
|name 2=Shawfield Smartbridge
|n=56
|n=56
Line 446: Line 449:
|type=b
|type=b
}}|73
}}|73
|Govan Ferry={{#switch:{{{2}}}
|Govan–Partick Bridge={{#switch:{{{2}}}
|name=Govan Ferry
|name=Govan–Partick Bridge
|name 2=
|name 2=
|n=73
|n=73
|type=ferry
|type=p
}}|74
}}|74
|Clyde Tunnel
|Clyde Tunnel
Line 459: Line 462:
|type=t
|type=t
}}|75
}}|75
|Renfrew Ferry={{#switch:{{{2}}}
|Renfrew Bridge={{#switch:{{{2}}}
|name=Renfrew Ferry
|name=Renfrew Ferry / ''[[Renfrew Bridge|Bridge]]''
|name 2=
|name 2=
|n=75
|n=75
Line 478: Line 481:
}}
}}
}}<noinclude>
}}<noinclude>
{{Clyde bridges/doc}}</noinclude>
{{Clyde bridges/doc}}
 
[[Category:Bridge list templates]]</noinclude>

Latest revision as of 13:12, 9 November 2024


{{Clyde bridges}} is a bottom box that may be included at the foot of any article about a bridge on the River Clyde, from the Firth of Clyde up to Watermeetings, where the Clyde is formed by the junction of the Daer Water and the Potrail Water. It should show the bridge which the article concerns and the next three crossings each side, upstream and downstream (or in the case of one close to either end of the range, that end of the range).

The list includes bridges, tunnels, ferries and other crossings.

The bottom box runs off a database template, {{Clyde bridge list}}. The text of this template was generated with a mail merge from an Excel file held by RB, so if a bridge has to be added or deleted, the merge should be re-run, to avoid having to renumber every data record.

(The '#switch' function at the start of {{Clyde bridges}} will also have to be adjusted if the number of data records increases or decreases.)

If the name of the Article does not match the name given in the data template {{Clyde bridge list}} (in the #switch:{{{1}}} function and as "name=") then it will not "catch" and the data (and the Excel file) should be changed. A short name can be given in "name 2=".

The bridge name will be shown on the list just in black if there is no corresponding article, but it will appear as a blue link when an article is created. If the "name 2=" field is filled in, it will appear as a link even if there is no article yet.