Changes

Jump to: navigation, search

User:Graham Phillips 110

3,721 bytes removed, 22:08, 8 June 2017
test
==Testing stuff==
{{Today}} Today template
{{:Today}} Today page
{{:Main Page test}} Main Page test
{{#Time: F j G i s}}
{{#time: r|now}} <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 KBHFalocal.png|25px]] || [[Bridgnorth]]<br/>|-|[[File:BSicon_eHSTlocal.png|25px]] || [[Eardington | Eardington Halt]] (Disused)<br/>|-|[[File:BSicon_HSTlocal.png|25px]] || [[Hampton Loade]]<br/>|-|[[File:BSicon_HSTlocal.png|25px]] || [[Country Park Halt]]<br>|-|[[File:BSicon_HSTlocal.png|25px]] || [[Highley]] and [[The Engine House]]<br>|-|[[File:BSicon_HSTlocal.png|25px]] || [[Arley]]<br>|-|[[File:BSicon WBRÜCKE+GRZqlocal.png|25px]] || [[Victoria Bridge]]<br>|-|[[File:BSicon_HSTlocal.png|25px]] || [[Northwood Halt]]<br>|-|[[File:BSicon_eABZlglocal.png|25px]] || [[Wyre Forest Line | Tenbury Branch]] (Disused)<br>|-|[[File:BSicon_HSTlocal.png|25px]] || [[Bewdley]]<br>|-|[[File:BSicon_eABZrflocal.png|25px]] || [[Stourport Branch]] (Disused)<br>|-|[[File:500px-BSicon TUNNEL1local.png|25px]] || [[Bewdley Tunnel]]<br>|-|[[File:BSicon_ABZrflocal.png|25px]] || [[Connection to Network Rail]]<br>|-|[[File:BSicon_KBHFelocal.png|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.
 
I'll start creating On This Day pages (anyone else is welcome to create or add to them as well, of course). When there's enough that most have got another one within ten days, we can go live with a link on the Main Page.
Click on Edit above to see it.
 
----
 
On {{PAGENAME}} in SVR history.
 
 
 
==See also==
 
{{#ifexist:{{#time: F j|{{PAGENAME}}-1 day}}|[[{{#time: F j|{{PAGENAME}}-1 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-2 day}}|[[{{#time: F j|{{PAGENAME}}-2 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-3 day}}|[[{{#time: F j|{{PAGENAME}}-3 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-4 day}}|[[{{#time: F j|{{PAGENAME}}-4 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-5 day}}|[[{{#time: F j|{{PAGENAME}}-5 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-6 day}}|[[{{#time: F j|{{PAGENAME}}-6 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-7 day}}|[[{{#time: F j|{{PAGENAME}}-7 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-8 day}}|[[{{#time: F j|{{PAGENAME}}-8 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-9 day}}|[[{{#time: F j|{{PAGENAME}}-9 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}-10 day}}|[[{{#time: F j|{{PAGENAME}}-10 day}}]] in SVR history.|}}}}}}}}}}}}}}}}}}}}
 
{{#ifexist:{{#time: F j|{{PAGENAME}}+1 day}}|[[{{#time: F j|{{PAGENAME}}+1 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+2 day}}|[[{{#time: F j|{{PAGENAME}}+2 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+3 day}}|[[{{#time: F j|{{PAGENAME}}+3 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+4 day}}|[[{{#time: F j|{{PAGENAME}}+4 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+5 day}}|[[{{#time: F j|{{PAGENAME}}+5 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+6 day}}|[[{{#time: F j|{{PAGENAME}}+6 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+7 day}}|[[{{#time: F j|{{PAGENAME}}+7 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+8 day}}|[[{{#time: F j|{{PAGENAME}}+8 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+9 day}}|[[{{#time: F j|{{PAGENAME}}+9 day}}]] in SVR history.|{{#ifexist:{{#time: F j|{{PAGENAME}}+10 day}}|[[{{#time: F j|{{PAGENAME}}+10 day}}]] in SVR history.|}}}}}}}}}}}}}}}}}}}}
 
 
 
----
 
And this one was an attempt to get version 1.27.1 to recognise mobile phones and give directions to lineside features. Various problems, including not being able to get MobileFrontend working, uncertainty over whether svrwiki would be able to ask users for their location without paying for an SSL certificate, and poor phone reception in many areas, means I am now starting to look at creating a From The Window app, but that's a whole 'nother project.
{{#coordinates:52.401081|-2.331720|[primary|][type:landmark]}}

Navigation menu