Template:Forth bridge list: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
|type=b | |type=b | ||
}}|4 | }}|4 | ||
| | |Queensferry Crossing={{#switch:{{{2}}} | ||
|name= | |name=Queensferry Crossing | ||
|name 2= | |name 2= | ||
|n=4 | |n=4 | ||
Line 37: | Line 37: | ||
|type=b | |type=b | ||
}}|7 | }}|7 | ||
|Taylorton Bridge | |||
|A91 Forth Bridge={{#switch:{{{2}}} | |A91 Forth Bridge={{#switch:{{{2}}} | ||
|name= | |name=Taylorton Bridge | ||
|name 2= | |name 2= | ||
|n=7 | |n=7 | ||
|type=b | |type=b | ||
Line 130: | Line 131: | ||
|type=b | |type=b | ||
}}|22 | }}|22 | ||
| | |Forth Viaduct | ||
|name= | |Gartrenich Bridge={{#switch:{{{2}}} | ||
|name 2= | |name=Gartrenich Bridge | ||
|name 2= | |||
|n=22 | |n=22 | ||
|type=b | |type=b |
Latest revision as of 14:11, 2 June 2021
{{Forth bridges}} is a bottom box that may be included at the foot of any article about a bridge on the River Forth, from the Firth of Forth up to Loch Ard, where the Forth is formed. 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, {{Forth 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 {{Forth 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 {{Forth 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.