Difference between revisions of "Template:North Tyne bridge list"

From Wikishire
Jump to: navigation, search
m (RB moved page Template:North Tyne bridges to Template:North Tyne bridge list without leaving a redirect)
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
|1*|Constantius Bridge*|Hexham A69 Bridge={{#switch:{{{2}}}*|name=Constantius Bridge*|name 2=*|n=1*|type=b
+
|1
}}|2*|Meeting of the Waters (Tyne)={{#switch:{{{2}}}*|name=Meeting of the Waters (Tyne)*|name 2=Meeting of the Waters*|n=2*|type=end
+
|Constantius Bridge
}}|3*|Chollerfod Bridge={{#switch:{{{2}}}*|name=Chollerfod Bridge*|name 2=*|n=3*|type=b
+
|Hexham A69 Bridge={{#switch:{{{2}}}
}}|4*|Wark Bridge={{#switch:{{{2}}}*|name=Wark Bridge*|name 2=*|n=4*|type=b
+
|name=Constantius Bridge
}}|5*|Bellingham Bridge={{#switch:{{{2}}}*|name=Bellingham Bridge*|name 2=*|n=5*|type=b
+
|name 2=
}}|6*|Tarset Tyne Bridge={{#switch:{{{2}}}*|name=Tarset Tyne Bridge*|name 2=*|n=6*|type=b
+
|n=1
}}|7*|Greystead Footbridge={{#switch:{{{2}}}*|name=Greystead Footbridge*|name 2=*|n=7*|type=f
+
|type=b
}}|8*|Falstone Bridge={{#switch:{{{2}}}*|name=Falstone Bridge*|name 2=*|n=8*|type=b
+
}}|2
}}|9*|Kielder Reservoir={{#switch:{{{2}}}*|name=Kielder Reservoir*|name 2=*|n=9*|type=res
+
|Meeting of the Waters (Tyne)={{#switch:{{{2}}}
}}|10*|Kielder Railway Viaduct={{#switch:{{{2}}}*|name=Kielder Railway Viaduct*|name 2=*|n=10*|type=v
+
|name=Meeting of the Waters (Tyne)
}}|11*|Butteryhaugh Bridge={{#switch:{{{2}}}*|name=Butteryhaugh Bridge*|name 2=*|n=11*|type=b
+
|name 2=Meeting of the Waters
}}|12*|Kielder Bridge={{#switch:{{{2}}}*|name=Kielder Bridge*|name 2=*|n=12*|type=b
+
|n=2
}}|13*|Kielder Tyne Bridge={{#switch:{{{2}}}*|name=Kielder Tyne Bridge*|name 2=*|n=13*|type=b
+
|type=end
}}|14*|Campsite Bridge={{#switch:{{{2}}}*|name=Campsite Bridge*|name 2=*|n=14*|type=b
+
}}|3
}}|15*|Ravenshill Footbridge={{#switch:{{{2}}}*|name=Ravenshill Footbridge*|name 2=*|n=15*|type=f
+
|Chollerfod Bridge={{#switch:{{{2}}}
}}|16*|Forestry Bridge={{#switch:{{{2}}}*|name=Forestry Bridge*|name 2=*|n=16*|type=b
+
|name=Chollerfod Bridge
}}|17*|Kerseycleugh Bridge={{#switch:{{{2}}}*|name=Kerseycleugh Bridge*|name 2=*|n=17*|type=b
+
|name 2=
}}|18*|Railway Bridge={{#switch:{{{2}}}*|name=Railway Bridge*|name 2=*|n=18*|type=b
+
|n=3
}}|19*|Railway Bridge={{#switch:{{{2}}}*|name=Railway Bridge*|name 2=*|n=19*|type=b
+
|type=b
}}|20*|Deadwater Bridge={{#switch:{{{2}}}*|name=Deadwater Bridge*|name 2=*|n=20*|type=b
+
}}|4
}}|21*|North Tyne source={{#switch:{{{2}}}*|name=North Tyne source*|name 2=source*|n=21*|type=end
+
|Wark Bridge={{#switch:{{{2}}}
 +
|name=Wark Bridge
 +
|name 2=
 +
|n=4
 +
|type=b
 +
}}|5
 +
|Bellingham Bridge={{#switch:{{{2}}}
 +
|name=Bellingham Bridge
 +
|name 2=
 +
|n=5
 +
|type=b
 +
}}|6
 +
|Tarset Tyne Bridge={{#switch:{{{2}}}
 +
|name=Tarset Tyne Bridge
 +
|name 2=
 +
|n=6
 +
|type=b
 +
}}|7
 +
|Greystead Footbridge={{#switch:{{{2}}}
 +
|name=Greystead Footbridge
 +
|name 2=
 +
|n=7
 +
|type=f
 +
}}|8
 +
|Falstone Bridge={{#switch:{{{2}}}
 +
|name=Falstone Bridge
 +
|name 2=
 +
|n=8
 +
|type=b
 +
}}|9
 +
|Kielder Reservoir={{#switch:{{{2}}}
 +
|name=Kielder Reservoir
 +
|name 2=
 +
|n=9
 +
|type=res
 +
}}|10
 +
|Kielder Railway Viaduct={{#switch:{{{2}}}
 +
|name=Kielder Railway Viaduct
 +
|name 2=
 +
|n=10
 +
|type=v
 +
}}|11
 +
|Butteryhaugh Bridge={{#switch:{{{2}}}
 +
|name=Butteryhaugh Bridge
 +
|name 2=
 +
|n=11
 +
|type=b
 +
}}|12
 +
|Kielder Bridge={{#switch:{{{2}}}
 +
|name=Kielder Bridge
 +
|name 2=
 +
|n=12
 +
|type=b
 +
}}|13
 +
|Kielder Tyne Bridge={{#switch:{{{2}}}
 +
|name=Kielder Tyne Bridge
 +
|name 2=
 +
|n=13
 +
|type=b
 +
}}|14
 +
|Campsite Bridge={{#switch:{{{2}}}
 +
|name=Campsite Bridge
 +
|name 2=
 +
|n=14
 +
|type=b
 +
}}|15
 +
|Ravenshill Footbridge={{#switch:{{{2}}}
 +
|name=Ravenshill Footbridge
 +
|name 2=
 +
|n=15
 +
|type=f
 +
}}|16
 +
|Forestry Bridge={{#switch:{{{2}}}
 +
|name=Forestry Bridge
 +
|name 2=
 +
|n=16
 +
|type=b
 +
}}|17
 +
|Kerseycleugh Bridge={{#switch:{{{2}}}
 +
|name=Kerseycleugh Bridge
 +
|name 2=
 +
|n=17
 +
|type=b
 +
}}|18
 +
|Railway Bridge={{#switch:{{{2}}}
 +
|name=Railway Bridge
 +
|name 2=
 +
|n=18
 +
|type=b
 +
}}|19
 +
|Railway Bridge={{#switch:{{{2}}}
 +
|name=Railway Bridge
 +
|name 2=
 +
|n=19
 +
|type=b
 +
}}|20
 +
|Deadwater Bridge={{#switch:{{{2}}}
 +
|name=Deadwater Bridge
 +
|name 2=
 +
|n=20
 +
|type=b
 +
}}|21
 +
|North Tyne source={{#switch:{{{2}}}
 +
|name=North Tyne source
 +
|name 2=source
 +
|n=21
 +
|type=end
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Tyne bridges/doc}}</noinclude>
 
{{Tyne bridges/doc}}</noinclude>

Revision as of 17:37, 16 September 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.