Changes

User:Graham Phillips 110

1,522 bytes removed, 08:52, 8 August 2021
testing
==Testing stuff==
{{Today}} Today template
{{:Today}} Today page
{{:Main Page test}} Main Page test
{{#Time: F j G i s}}
{{#time: r|now}}===Test 1===
<randomimage size{| style="300width: 90%; border-style: solid; border-width: 2px; border-color: #ac6600; background-color:#f6efe5;" choices="GWR 2303 Fruit Van| [[File:Level-crossing-without-barrier-or-gate-ahead.jpg|GWR 13154 5 plank Open Goods Wagon40px]] '''Stub article''' This article is a stub.jpgYou can help svrwiki by [[Tips for contributing to the SVR Wiki |GWR 2504 Milk Tank Wagonexpanding it]].jpg|GWR 17410 20150320.jpg"></randomimage>}
{| class[https://postimg.cc/G8MZ2c7P <img src="wikitable floatrighthttps://i.postimg.cc/4yZZWyp0/SDF-BSC-sidings.jpg" width=10%>]|+Schematic Map of the SVR|[[File:BSicon KBHFalocalSmethwick Drop Forgings Ltd.pngSiding |25px]] [[Bridgnorth]]<brimg src="https://i.postimg.cc/4yZZWyp0/SDF-BSC-sidings.jpg" width=50%>[[File:BSicon_eHSTlocal.png|25px]] [[Eardington | Eardington Halt]] (Disused)<br/>[[File{{#ifanon:BSicon_HSTlocal.pngAnon|25px]] [[Hampton Loade]]Logged in}}<br/>[[File{{#time: F j G:i:s|now + {{#ifanon:BSicon_HSTlocal.png1|25px]] [[Country Park Halt]]0}} day}}<br>[[File{{#time: F j G:i:BSicon_HSTlocal.pngs|25px]] now}} {{REVISIONDAY}} [[Highley]] and [[The Engine House]]REVISIONDAY<br>[[File{{REVISIONDAY:BSicon_HSTlocal.png|25px]] Main Page }} [[Arley]]REVISIONDAY: Main Page {{LOCALTIME}} {{LOCALTIMESTAMP}} {{Today}}{{Today?action=purge}}<br>[[File:BSicon WBRÜCKE+GRZqlocal.png|25px]] [[Victoria BridgeToday]]<br>[[File:BSicon_HSTlocal.png|25px]] [[Northwood HaltToday?action=purge]]<br>[[File:BSicon_eABZlglocal.png{|25px]] class="wikitable" [[Wyre Forest Line | Tenbury Branch]] (Disused)A||B||C<br> |-[[File:BSicon_HSTlocal.png |D||E||25px]] F [[Bewdley]]|-<br> |G||[[File:BSicon_eABZrflocal.png {|25px]] class="wikitable" [[Stourport Branch]] (Disused)|H1||H2<br> |-[[File:500px-BSicon TUNNEL1local.png |H3||25px]] H4 [[Bewdley Tunnel]]|-<br> |H5||H6[[File:BSicon_ABZrflocal.png |25px]] } [[Connection to Network Rail]]<br>|J[[File:BSicon_KBHFelocal.png|25px]] [[Kidderminster]]<center>'''[[Maps#Schematic_maps_of_the_pre-closure_SVR|View pre-1963 map]]'''</center> |K||-:||L
|}
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#time: F j|{{#time: F j}} 2016 - 1 day}}|{{#time: F j|{{#time: F j}} 2016 - 1 day}}]] - [[{{#time: F j|{{#time: F j}} 2016 + 1 day}}|{{#time: F j|{{#time: F j} in } 2016 + 1 day}} →]] ← [[{{#time: F j|{{#time: F j|March 1}} 2016 - 1 day}}]] - [[{{#time: F j|{{#time: F j|March 1}} 2016 + 1 day}}]] →<br clear=all> <div style="background:#fcfcfc; border-style:solid; border-width:2px; border-color:#895920; margin:20px 10px; padding:5px;"> ===Test 3=== Number of articles = {{NUMBEROFARTICLES}}<br>Number of files = {{NUMBEROFFILES}} [[Special:Nearby|Nearby]] GWR<ref group="note"> Note about Great Western Railway</ref> <noglossary>GWR</noglossary> GWR<ref>Reference to Great Western Railway</ref> 1<span style="vertical-align:super;font-size:x-small">7</span>/<span style="vertical-align:sub;font-size:x-small">16</span> 3<span style="vertical-align:super;font-size:x-small">5</span>/<span style="vertical-align:sub;font-size:x-small">8</span> Nº1  {| class=" wikitable floatright" |+Schematic Map of the SVR history|-|<imagemap>File:Mapandlinks.png|250pxrect 0 13 400 56 [[Bridgnorth]]rect 0 57 400 101 [[Eardington]]rect 0 102 400 147 [[Hampton Loade]]rect 0 148 400 191 [[Country Park Halt]]rect 0 192 141 235 [[Highley]]rect 190 192 400 235 [[the Engine House]]rect 0 236 400 279 [[Arley]] rect 0 280 400 323[[Victoria Bridge]]rect 0 324 400 367[[Northwood Halt]]rect 0 368 400 411 [[Wyre Forest Line]]rect 0 412 400 455 [[Bewdley]]rect 0 456 400 499 [[Stourport Branch]]rect 0 500 400 543 [[Bewdley Tunnel]]rect 0 544 400 587 [[Connection to Network Rail]]rect 0 588 400 631 [[Kidderminster]]rect 0 632 400 690 [[Maps#Schematic maps of the pre-closure SVR]]</imagemap>|-|}
==References==
<references/>
==Notes==
<references group="note"/>
==See alsoCopy & Paste stuff==
{{#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 historyBelieved to be copyright expired.|{{#ifexist:{{#time: F j|{{PAGENAME}}-4 day}}|[[{{#time: F j|{{PAGENAME}}-4 day}}]] in SVR historyReproduced here for non profit private research purposes.|{{#ifexist:{{#time: F j|{{PAGENAME}}-5 day}}|If you have proof that you hold the copyright to this image, please [[{{#timeSpecial: F jEmailUser/Graham_Phillips_110|{{PAGENAME}}-5 day}}email svrwiki]] in SVR historyto have it credited or removed at your request.|{{#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 historyNewspaper image © The British Library Board.|{{#ifexist:{{#time: F j|{{PAGENAME}}+2 day}}|[[{{#time: F j|{{PAGENAME}}+2 day}}]] in SVR historyAll rights reserved.|{{#ifexist:{{#time: F j|{{PAGENAME}}+3 day}}|[With thanks to [{{#timehttps: F j|{{PAGENAME}}+3 day}}]] in SVR history//www.|{{#ifexist:{{#time: F j|{{PAGENAME}}+4 day}}|[[{{#time: F j|{{PAGENAME}}+4 day}}]] in SVR historybritishnewspaperarchive.|{{#ifexist:{{#time: F j|{{PAGENAME}}+5 day}}|[[{{#time: F j|{{PAGENAME}}+5 day}}]] in SVR historyco.|{{#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}}]uk The British Newspaper Archive] in SVR history.|}}}}}}}}}}}}}}}}}}}}
[[File:xxx.jpg|thumb|300px|right|Text]]
[[File:Svrwikilogo.jpg|100px|right]]
----</div>
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.400571398639|-2.334620327683|[primary|][typedim:landmark1000]}}<!--Hill Farm-->