Template:Tyne bridge list: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with "{{#switch:{{{1}}} |1*|mouth={{#switch:{{{2}}}*|name=mouth*|name 2=*|n=1*|type=end }}|2*|Gateshead Millennium Bridge={{#switch:{{{2}}}*|name=Gateshead Millennium Bridge*|name 2..."
 
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|1*|mouth={{#switch:{{{2}}}*|name=mouth*|name 2=*|n=1*|type=end
|1
}}|2*|Gateshead Millennium Bridge={{#switch:{{{2}}}*|name=Gateshead Millennium Bridge*|name 2=*|n=2*|type=b
|mouth={{#switch:{{{2}}}
}}|3*|Tyne Bridge={{#switch:{{{2}}}*|name=Tyne Bridge*|name 2=*|n=3*|type=b
|name=mouth
}}|4*|Swing Bridge={{#switch:{{{2}}}*|name=Swing Bridge*|name 2=*|n=4*|type=b
|name 2=
}}|5*|High Level Bridge*|A1 Tweed Bridge={{#switch:{{{2}}}*|name=High Level Bridge*|name 2=*|n=5*|type=b
|n=1
}}|6*|Metro Bridge*|Union Bridge, Tweed={{#switch:{{{2}}}*|name=Metro Bridge*|name 2=*|n=6*|type=f
|type=end
}}|7*|King Edward Bridge={{#switch:{{{2}}}*|name=King Edward Bridge*|name 2=*|n=7*|type=b
}}|2
}}|8*|Redheugh Bridge={{#switch:{{{2}}}*|name=Redheugh Bridge*|name 2=*|n=8*|type=b
|Gateshead Millennium Bridge={{#switch:{{{2}}}
}}|9*|Scotswood Bridge*|Hunters Bridge={{#switch:{{{2}}}*|name=Scotswood Bridge*|name 2=*|n=9*|type=b
|name=Gateshead Millennium Bridge
}}|10*|Scotswood Railway Bridge*|Rennie's Bridge={{#switch:{{{2}}}*|name=Scotswood Railway Bridge*|name 2=*|n=10*|type=b
|name 2=
}}|11*|Blaydon Bridge={{#switch:{{{2}}}*|name=Blaydon Bridge*|name 2=*|n=11*|type=f
|n=2
}}|12*|Lemington Bridge={{#switch:{{{2}}}*|name=Lemington Bridge*|name 2=*|n=12*|type=b
|type=b
}}|13*|Newburn Bridge={{#switch:{{{2}}}*|name=Newburn Bridge*|name 2=*|n=13*|type=f
}}|3
}}|14*|Wylam Bridge={{#switch:{{{2}}}*|name=Wylam Bridge*|name 2=*|n=14*|type=b
|Tyne Bridge={{#switch:{{{2}}}
}}|15*|Wylam Railway Bridge={{#switch:{{{2}}}*|name=Wylam Railway Bridge*|name 2=*|n=15*|type=b
|name=Tyne Bridge
}}|16*|Ovingham Bridge={{#switch:{{{2}}}*|name=Ovingham Bridge*|name 2=*|n=16*|type=v
|name 2=
}}|17*|Bywell Bridge*|Melrose Chain Bridge={{#switch:{{{2}}}*|name=Bywell Bridge*|name 2=*|n=17*|type=f
|n=3
}}|18*|Styford Bridge={{#switch:{{{2}}}*|name=Styford Bridge*|name 2=*|n=18*|type=b
|type=b
}}|19*|Corbridge Bridge={{#switch:{{{2}}}*|name=Corbridge Bridge*|name 2=*|n=19*|type=v
}}|4
}}|20*|Hexham Bridge={{#switch:{{{2}}}*|name=Hexham Bridge*|name 2=*|n=20*|type=b
|Swing Bridge={{#switch:{{{2}}}
}}|21*|Hexham A69 Bridge={{#switch:{{{2}}}*|name=Hexham A69 Bridge*|name 2=*|n=21*|type=b
|name=Swing Bridge
}}|22*|Meeting of the Waters (Tyne)={{#switch:{{{2}}}*|name=Meeting of the Waters (Tyne)*|name 2=Meeting of the Waters*|n=22*|type=end
|name 2=
|n=4
|type=b
}}|5
|High Level Bridge
|A1 Tweed Bridge={{#switch:{{{2}}}
|name=High Level Bridge
|name 2=
|n=5
|type=b
}}|6
|Metro Bridge
|Union Bridge, Tweed={{#switch:{{{2}}}
|name=Metro Bridge
|name 2=
|n=6
|type=f
}}|7
|King Edward Bridge={{#switch:{{{2}}}
|name=King Edward Bridge
|name 2=
|n=7
|type=b
}}|8
|Redheugh Bridge={{#switch:{{{2}}}
|name=Redheugh Bridge
|name 2=
|n=8
|type=b
}}|9
|Scotswood Bridge
|Hunters Bridge={{#switch:{{{2}}}
|name=Scotswood Bridge
|name 2=
|n=9
|type=b
}}|10
|Scotswood Railway Bridge
|Rennie's Bridge={{#switch:{{{2}}}
|name=Scotswood Railway Bridge
|name 2=
|n=10
|type=b
}}|11
|Blaydon Bridge={{#switch:{{{2}}}
|name=Blaydon Bridge
|name 2=
|n=11
|type=f
}}|12
|Lemington Bridge={{#switch:{{{2}}}
|name=Lemington Bridge
|name 2=
|n=12
|type=b
}}|13
|Newburn Bridge={{#switch:{{{2}}}
|name=Newburn Bridge
|name 2=
|n=13
|type=f
}}|14
|Wylam Bridge={{#switch:{{{2}}}
|name=Wylam Bridge
|name 2=
|n=14
|type=b
}}|15
|Wylam Railway Bridge={{#switch:{{{2}}}
|name=Wylam Railway Bridge
|name 2=
|n=15
|type=b
}}|16
|Ovingham Bridge={{#switch:{{{2}}}
|name=Ovingham Bridge
|name 2=
|n=16
|type=v
}}|17
|Bywell Bridge
|Melrose Chain Bridge={{#switch:{{{2}}}
|name=Bywell Bridge
|name 2=
|n=17
|type=f
}}|18
|Styford Bridge={{#switch:{{{2}}}
|name=Styford Bridge
|name 2=
|n=18
|type=b
}}|19
|Corbridge Bridge={{#switch:{{{2}}}
|name=Corbridge Bridge
|name 2=
|n=19
|type=v
}}|20
|Hexham Bridge={{#switch:{{{2}}}
|name=Hexham Bridge
|name 2=
|n=20
|type=b
}}|21
|Hexham A69 Bridge={{#switch:{{{2}}}
|name=Hexham A69 Bridge
|name 2=
|n=21
|type=b
}}|22
|Meeting of the Waters (Tyne)={{#switch:{{{2}}}
|name=Meeting of the Waters (Tyne)
|name 2=Meeting of the Waters
|n=22
|type=end
}}
}}
}}<noinclude>
}}<noinclude>
{{Tyne bridges/doc}}</noinclude>
{{Tyne bridges/doc}}</noinclude>

Revision as of 21:12, 19 August 2020


{{Tyne bridges}} is a bottom box that may be included at the foot of any article about a bridge on the River Tyne, from the mouth of the river up to teh Meeting of the Waters where the North Tyne and South Tyne join. 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 intent is to develop it further to show North and South Tyne going off too.

In the same form we have {{North Tyne bridges}} and will have {{South Tyne bridges}}.

The bottom box runs off a database template, {{Tyne 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 {{Tyne 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 {{Tyne 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.