Template talk:Adjacent stations
Add topic| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
| ||||||||
| Template:Adjacent stations is indefinitely protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
| Pages related to |
| Module:Adjacent stations |
|---|
| (talk | sandbox | sub-pages) |
| {{Infobox station}} |
| (talk | sandbox | testcases) |
| {{Station link}} |
| (talk | sandbox | testcases) |
| {{Station icon link}} |
| (talk | sandbox | testcases) |
| {{Rail color}} |
| (talk | sandbox | testcases) |
| {{Line link}} |
| (talk | sandbox | testcases) |
| {{Rail icon}} |
| (talk | sandbox | testcases) |
| {{Rail color box}} |
| (talk | sandbox | testcases) |
| {{Adjacent stations}} |
| (talk | sandbox | testcases) |
| {{Line terminus link}} |
| (talk | sandbox | testcases) |
Unnecessary whitespace?
[edit]Throwing this out there... this template consistently seems to bring unnecessary whitespace with it. For instance, Battersea Power Station tube station - why is it so far down? Is there a hidden "Clear" template that puts it so far down the page? Is this something that can be fixed? — Preceding unsigned comment added by Mattdaviesfsic (talk • contribs)
- You're looking for the
|noclear=parameter. Mackensen (talk) 21:42, 25 April 2026 (UTC)
- Thanks. Odd that it is not the default but ¯\_(ツ)_/¯ Cheerio, Mattdaviesfsic. Talk to me. 21:47, 25 April 2026 (UTC)
- I think it replicates the default from s-start (used with s-rail), and the convention with those templates was either to place them in the infobox or at the bottom of the article. I think the mid-article usage is mostly found in the UK. As you say, ¯\_(ツ)_/¯. It had to be one or the other :). Mackensen (talk) 21:59, 25 April 2026 (UTC)
Edit request 31 May 2026
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Hoping this is the right place for this (as it was a redirect for the talk page of Template:Rail color box) but requesting that the text colour for the Queensland Rail RCB templates for Caboolture, Ipswich and Rosewood (Ipswich), and Sunshine Coast are changed from black to white to make them readable (for an example of this, see the "lines" heading in the Eagle Junction railway station infobox).
Additionally (if this is possible and relevant to the same template), the name of Ipswich and Rosewood should be changed to "Ipswich/Rosewood" to match the page name and official name (see Rosewood railway station for an example of this) – I tried to find how to fix these myself but I believe both changes fall under template-protected status.
Thank you! Totallynotarandomalt69 (talk) 04:01, 31 May 2026 (UTC)
- You can edit Module:Adjacent stations/Queensland Rail yourself. * Pppery * in solidarity 18:26, 31 May 2026 (UTC)
- Thank you! Was struggling to figure it out but looks good now :) Totallynotarandomalt69 (talk) 01:25, 1 June 2026 (UTC)
GCLR link not working
[edit]When using Template:RCB and croute within infoboxes for Module:Adjacent stations/GCLR, "G:link" does not link (which you can see on the Helensvale railway station infobox), below "Gold Coast" (which does link with a different module). Is there a way to fix this? Nottashaa432 (talk) 04:59, 28 June 2026 (UTC)
- Went to this talk page after noticing the same thing – the link still isn't working so hoping someone who knows what this issue is will be able to fix it Totallynotarandomalt69 (talk) 09:23, 26 July 2026 (UTC)
- I suspect the colon in the line name causes problems with the part of the code that generates a box (function p._box). It's unusual for a special character to be part of a line name; might be the only such example worldwide. Mackensen (talk) 13:59, 26 July 2026 (UTC)
- That would make sense; I think I recall there was a way that the link briefly worked several months ago; will test things to see if it can be fixed – thanks! Totallynotarandomalt69 (talk) 22:43, 26 July 2026 (UTC)
- Thanks, have fixed this issue by directing the link to "Gold Coast light rail" (redirect page) and still showing "G:link" Nottashaa432 (talk) 23:28, 26 July 2026 (UTC)
Edit request 11 July 2026
[edit]This edit request to Module:Adjacent stations has been answered. Set the |answered= parameter to no to reactivate your request. |
Please, please, add the noclear parameter onto the visual editor. So much work to remove all the whitespace it causes! Cheerio, Mattdaviesfsic. Talk to me. 17:10, 11 July 2026 (UTC)
- Would you make proposed changes to the sandbox, because I'm not sure what you are asking. Thanks — Martin (MSGJ · talk) 11:20, 15 July 2026 (UTC)
- I would love to if I had the first idea what on earth I was looking at (at least the S-rail template wasn't this complicated - what a backwards move).
- In the visual editor, you can select some of the parameters but the "noclear=" parameter has to be typed in which just takes too long - I'm not even sure why it is there given the stupid amount of whitespace it can create anyway. So if it can be added as a tick-option in the VE that would make life so much easier. Cheerio, Mattdaviesfsic. Talk to me. 11:44, 15 July 2026 (UTC)
- @Mattdaviesfsic I don't use the visual editor, but I've added some TemplateData, including the noclear parameter. Can you please test it out and let me know how it goes? Mackensen (talk) 11:47, 15 July 2026 (UTC)
- @Mackensen: - perfect, just tested out at Newcourt railway station (England) and it works! Thank you!
Cheerio, Mattdaviesfsic. Talk to me. 11:58, 15 July 2026 (UTC)
- @Mackensen: - perfect, just tested out at Newcourt railway station (England) and it works! Thank you!
- @Mattdaviesfsic I don't use the visual editor, but I've added some TemplateData, including the noclear parameter. Can you please test it out and let me know how it goes? Mackensen (talk) 11:47, 15 July 2026 (UTC)