Changes

Jump to: navigation, search

User:Graham Phillips 110

1,010 bytes added, 13:24, 2 June 2017
try it with the map
<randomimage size="300" choices="GWR 2303 Fruit Van.jpg|GWR 13154 5 plank Open Goods Wagon.jpg|GWR 2504 Milk Tank Wagon.jpg|GWR 17410 20150320.jpg"></randomimage>
 
{| class="wikitable floatright"
|+Schematic Map of the SVR
|
[[File:BSicon KBHFa.svg|25px]] [[Bridgnorth]]
<br/>
[[File:BSicon_eHST.svg|25px]] [[Eardington | Eardington Halt]] (Disused)
<br/>
[[File:BSicon_HST.svg|25px]] [[Hampton Loade]]
<br/>
[[File:BSicon_HST.svg|25px]] [[Country Park Halt]]
<br>
[[File:BSicon_HST.svg|25px]] [[Highley]] and [[The Engine House]]
<br>
[[File:BSicon_HST.svg|25px]] [[Arley]]
<br>
[[File:BSicon_WBRÜCKE.svg|25px]] [[Victoria Bridge]]
<br>
[[File:BSicon_HST.svg|25px]] [[Northwood Halt]]
<br>
[[File:BSicon_eABZlg.svg|25px]] [[Wyre Forest Line | Tenbury Branch]] (Disused)
<br>
[[File:BSicon_HST.svg|25px]] [[Bewdley]]
<br>
[[File:BSicon_eABZrf.svg|25px]] [[Stourport Branch]] (Disused)
<br>
[[File:BSicon_TUNNEL1.svg|25px]] [[Bewdley Tunnel]]
<br>
[[File:BSicon_ABZrf.svg|25px]] [[Connection to Network Rail]]
<br>
[[File:BSicon_KBHFe.svg|25px]] [[Kidderminster]]
<center>'''[[Maps#Schematic_maps_of_the_pre-closure_SVR|View pre-1963 map]]'''</center>
|-
|}
This section creates a link to the immediately preceding and following On This Day pages. To do this, it converts the current page name to a date, then checks the previous day's date for a corresponding page name. If it finds one, it creates the text & link. If not, it goes to the next previous day, and so on for ten days. It then does the same for the following ten days. It will only create one link in each direction, the first one it comes to, and if there are no pages within ten days of the start page, it returns a blank. There's probably a far more elegant and efficient way to do it, but hey ho, this is how bus mechanics write computer code.

Navigation menu