This article is within the scope of WikiProject Trains, an attempt to build a comprehensive and detailed guide to rail transport on Wikipedia. If you would like to participate, you can visit the project page, where you can join the project and/or contribute to the discussion. See also: WikiProject Trains to do list and the Trains Portal.TrainsWikipedia:WikiProject TrainsTemplate:WikiProject Trainsrail transport articles
This article is within the scope of WikiProject London, a collaborative effort to improve the coverage of London on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.LondonWikipedia:WikiProject LondonTemplate:WikiProject LondonLondon-related articles
I don't understand how Template:S-line works. Could someone fix it please? The template should say "North Cheam Terminus" on the left.--Launchballer 01:45, 31 March 2020 (UTC)[reply]
It should say this instead of what? Gryllida (talk) 02:31, 31 March 2020 (UTC)[reply]
Fixed. Rotideypoc41352 (talk·contribs) 05:26, 31 March 2020 (UTC) Now that I'm more awake: Fixed. @Launchballer: I don't blame you; the template documentation needs rewriting for clarity. How this works for future reference:[reply]
Edit that page, and you'll see a list of line branches (henceforth "type") and their termini. I'll (try to) explain using the right-hand branch on this page: see how {{S-line}} has the parameter and value |type2=Three? Now, go back to {{S-line/LUL left/Northern}}. See the line | Three=Edgware, Mill Hill East or High Barnet? That's why the right-hand branch says towards Edgware, Mill Hill East or High Barnet.
If the type already exists, you can just put it in the |type= (or |type2= if you're dealing with a right-hand branch). When I looked, one didn't exist, so I added a type and named it, like so: | NorthCheam=North Cheam. If you ever do so, I advise you follow previous examples on that page and add a comment: <!-- Use for [insert line name here] -->.
Now that we have the type, we can go ahead and put it in. So now the parameter in {{S-line}} reads |type=NorthCheam.
Since the values of |previous= in {{S-line}} and of | NorthCheam= in {{S-line/LUL left/Northern}} match, the template now shows "Terminus" under "North Cheam" on the left.
It helped, although it was my understanding that trains would have terminated at Edgware, Bushey Heath or High Barnet and I've just tried to add that to the template and it's coming up redlinked.--Launchballer 19:32, 31 March 2020 (UTC)[reply]
@Launchballer:Fixed. Somehow missed the hatnote over at {{S-line}} the first time around, but now I know to use {{Adjacent stations}}. Had to mess around with Module:Adjacent stations/London Underground before setting up the template here. Maybe slightly less aesthetically pleasing than the old version, but {{Adjacent stations}} makes overriding default terminus fields much easier. Begone, redlinks, haha! Anyway, three notes:
Based on Module:Adjacent stations#For developers and the module's subpages, we have yet to port National Rail (NR) info to the Adjacent stations module. Once that happens, both sets of succession boxes should match in width, which will make it look better. Not a deal killer for me at the moment, though.
To the {{Adjacent stations}} parameters, I appended 1. For ease of implementation when someone sets up the NR adjacent stations module; they can just put |[parameter]2= and increment the number as needed.
I'll undo the changes both of us have made to {{S-line/LUL left/Northern}}, since we don't need them anymore and to keep that template neat.