Template talk:Adjacent stations

Edit request 3 January 2023: Terminus link
Description of suggested change: Please check Module:Adjacent stations/sandbox (import from zh:Module:Adjacent stations/experimental by User:David Xuang). It can calling a line terminus link. Experimental usage can be seen at zh:Template:Line terminus link and zh:Template:重庆轨道交通RDT/环线. Thanks again for your work! --Tim Wu (talk) 14:00, 3 January 2023 (UTC)


 * Well I suppose that at least you need to merge local  with   before finalizing this.  also includes duplicate codes as here.
 * Also, there has been a recent talk regarding this. Maybe ask the participants for some advices as well. David Xuang (talk) 17:00, 3 January 2023 (UTC)
 * I've done the merging plus adding fallback to Template:S-line data. Please test my patch carefully as the main function has been touched. David Xuang (talk) 17:52, 3 January 2023 (UTC)
 * Do we have testcases for how this would be used on an article?  Cards   84664   18:53, 3 January 2023 (UTC)
 * @Cards84664 I've tried Module:Adjacent_stations/testcases but it doesn't seem to work. Will try again later. --Tim Wu (talk) 01:08, 4 January 2023 (UTC)
 * I initially created zh:Module:Adjacent stations/experimental for use in Template:Routemaps (through-services, cross-platform interchanges), so they will sync with the changes of lines or services automatically. As for this patch, someone may want to use this in the line/station infobox or layout table (like here in the infobox) as well, and  is exposed so custom formatting and other extensions may be possible for specialised use in some systems. These are all the cases I could come up with. David Xuang (talk) 08:33, 4 January 2023 (UTC)
 * Please review this patch. Regards, Tim Wu (talk) 01:04, 4 January 2023 (UTC)
 * Back when I posted this code, I had it working on a fandom.com project (that has since been removed), and shared it as a starting point for something that was on the todo list. I remember creating it by copying the 'getStation', 'getLine' & 'getColor' functions and deciphering the code using my limited knowledge on the programming language. I am no expert in it, but I managed to get it to a point where I was able to get the desired results. I'm not too able to help as I haven't used this programing language since. -- ThylacineHunter  (talk) 02:54, 4 January 2023 (UTC)


 * (circular=true)



@Tim Wu @David Xuang Can the type be moved to a named arg like how rcb uses? REEDriler (talk) 06:24, 4 January 2023 (UTC)


 * In Module:Adjacent stations/sandbox lines 739 & 740... args[3] & args[4] could be swapped. -- ThylacineHunter  (talk) 06:33, 4 January 2023 (UTC)
 * If wanting type as unnamed, then leave off the "args[x] or " bit. -- ThylacineHunter  (talk) 06:36, 4 January 2023 (UTC)
 * Done. Also I removed the alias as I'm not sure about its naming. Advice on how it shall be called? David Xuang (talk) 08:12, 4 January 2023 (UTC)
 * ?. -- ThylacineHunter  (talk) 09:19, 4 January 2023 (UTC)
 * Then I guess we shall also add support for /  (right) and  /  (left)? David Xuang (talk) 11:57, 4 January 2023 (UTC)
 * Module:Adjacent stations uses the terms "left terminus", "right terminus"... Are you suggesting that the whole thing needs to be remade for /  and  / ??? -- ThylacineHunter  (talk) 01:27, 5 January 2023 (UTC)
 * Not the whole thing... /  can equate "prefix" to "right" in the beginning of func.; but then idt its needed.
 * adjstn uses left and right and its boxes are positioned left and right only where the line terminus appears so imo side is fine if a named arg is even needed. REEDriler (talk) 15:54, 5 January 2023 (UTC)
 * Yeah, it should be easy to implement but not necessarily needed indeed. Just wondering if any system strongly prefers to use these terms instead of left/right. David Xuang (talk) 01:22, 6 January 2023 (UTC)
 * Cant wait to update the pages 😌 REEDriler (talk) 15:54, 5 January 2023 (UTC)
 * Me too! But I guess it would be a huge(?) work to add the support (Note: for other functions to keep the same experience. I just misunderstood Reed's reply.) for up/down terminus, and to validate the whole function. We can verify and add this small patch first. —Tim Wu (talk) 16:16, 5 January 2023 (UTC)
 * @Tim Wu So its not needed then. There are going to be diagonal lines, (coil but linear), can't comfort to all of them. Let it just support left(L), right(R)? REEDriler (talk) 16:33, 5 January 2023 (UTC)
 * @Tim Wu So its not needed then. There are going to be diagonal lines, (coil but linear), can't comfort to all of them. Let it just support left(L), right(R)? REEDriler (talk) 16:33, 5 January 2023 (UTC)

This request would likely get implemented faster if it were clear what was being requested and that everyone agreed to it. The impression I get from this discussion is that the changes to be made are still in flux, so I'm holding off using my template-editor rights until they settle down. * Pppery * it has begun... 20:12, 5 January 2023 (UTC)

Yeah, maybe just use left/right, since having alias for dictionary keys can be tricky and confusing to both maintainers and users. But we still need to name the arg, as positional-only arg should not come after named args ( is terrible). direction is currentlt live in sandbox instead of side, but I'm okay with either or both. David Xuang (talk) 01:34, 6 January 2023 (UTC)


 * I personally prefer shorter named parameters for small templates (like this would be). Longer names are ok for things like infoboxes where you need to clearly define a parameter. -- ThylacineHunter  (talk) 01:42, 6 January 2023 (UTC)
 * @REEDriler @ThylacineHunter @David Xuang Hi,
 * 1. I'm also okay with  or   . Line 739, can we support both names? Like:
 * 2. And for  at line 740, I think we don't need to remove the unnamed args. Just same as   (line 707):
 * Regards, Tim Wu (talk) 10:07, 12 January 2023 (UTC)
 * Hi.
 * 1. one name pls. Since all are OK with either, considering shorter names, archive mentions, even when almost all the pages will be using just pos. - side
 * 2. I think its the exact, so any changes should reflect there as well else leave as it is. imo its good as it is now.
 * or how about and  instead of  since using just L/R is decided? then, args[3] is utilized for type like in stl, lnl, rcr.. and side or direction won't be needed. REEDriler (talk) 14:23, 12 January 2023 (UTC)
 * “how about and  instead of  since using just L/R is decided?” I don't think this is a good idea to resolve the issue of parameter naming. You have to maintain 2 templates, and it would be very complicated for other templates that want to call it. Tim Wu (talk) 14:34, 12 January 2023 (UTC)
 * I've renamed  to   at line 739. Tim Wu (talk) 14:45, 13 January 2023 (UTC)
 * I'm reopening this request as there are currently no follow up suggestions. --Tim Wu (talk) 15:57, 16 January 2023 (UTC)
 * @Pppery @Martin Sorry for bothering. I think this patch is stable. Can it be implemented, or have to wait for a longer times to meet the policy? Regards, Tim Wu (talk) 14:27, 27 January 2023 (UTC)
 * Hi all, I've added some testcases in Module_talk:Adjacent_stations/testcases, and all of them have met the expected results. Please review them. The test module can be found at Module:Adjacent stations/testcases/Test module. I think the patch is okay and ready to be implemented. Regards, Tim Wu (talk) 16:24, 28 January 2023 (UTC)
 * Sure it meets the expected results @Tim Wu. It'll be added eventually. As they are to be held accountable for all changes they make, Its testing them, so they're a bit hesitant dw, they can't keep it hanging forever. If you like, you can start using it right away as It can be re-targeted anytime. No problem! REEDriler (talk) 09:35, 29 January 2023 (UTC)
 * Hi all, I've added some testcases in Module_talk:Adjacent_stations/testcases, and all of them have met the expected results. Please review them. The test module can be found at Module:Adjacent stations/testcases/Test module. I think the patch is okay and ready to be implemented. Regards, Tim Wu (talk) 16:24, 28 January 2023 (UTC)
 * Sure it meets the expected results @Tim Wu. It'll be added eventually. As they are to be held accountable for all changes they make, Its testing them, so they're a bit hesitant dw, they can't keep it hanging forever. If you like, you can start using it right away as It can be re-targeted anytime. No problem! REEDriler (talk) 09:35, 29 January 2023 (UTC)

✅ * Pppery * it has begun... 20:36, 29 January 2023 (UTC)


 * Thanks! -- Tim Wu (talk) 01:15, 30 January 2023 (UTC)
 * It's good to see the final result for the todo item "Function for calling a line terminus (for station layouts?)" that I provided the initial work for way back in September 2020. I look forward to finally being able to use this. -- ThylacineHunter  (talk) 03:21, 30 January 2023 (UTC)

March 2023
Hi, there's a small problem, "LineN" doesn't get updated from alias table. — Preceding unsigned comment added by REEDriler (talk • contribs) 19:50, 17 March 2023 (UTC)


 * Maybe you didn't use lowercase key when defining alias mapping? (e.g. the ’key’ in the pair ) David Xuang (talk) 07:17, 18 March 2023 (UTC)

your notifications didn't work. Notifications only work when the notifier signs their post. So pinging again for further analysis.  P.I. Ellsworth &thinsp;, ed.  put'er there 03:18, 18 March 2023 (UTC)
 * Hi, could you provide a failed example? I found it works in Guangzhou Metro. —Tim Wu (talk) 04:07, 18 March 2023 (UTC)
 * My bad, See:
 * My bad, See:
 * My bad, See:


 * REEDriler (talk) 08:02, 18 March 2023 (UTC)
 * @David Xuang It seems that  using the original  . I've tried adding the following after line 749 and the error disappeared.
 * Tim Wu (talk) 17:56, 18 March 2023 (UTC)
 * Ok.  takes care of that, I think it can be synced now? Thanks. REEDriler (talk) 20:05, 18 March 2023 (UTC)
 * In line 74 should "nil" be in quote marks? &mdash; Martin (MSGJ · talk) 09:21, 20 March 2023 (UTC)
 * Modified. REEDriler (talk) 21:06, 20 March 2023 (UTC)
 * I guess you are not using Module talk:Adjacent stations/testcases because most of the tests fail. But there is a lua error on that page which I can't immediately track down &mdash; Martin (MSGJ · talk) 21:30, 20 March 2023 (UTC)
 * Addressed the error. UnitTests of icons can be ignored as they don't seem to be working here. REEDriler (talk) 02:15, 21 March 2023 (UTC)
 * @REEDriler I think changes of color2 (color table) should be moved to another sandbox, as they are two different requests. --Tim Wu (talk) 01:26, 21 March 2023 (UTC)
 * :/ I don't think it's a request here, It can be removed later. It's better, isn't it? Everything will be loaded together. Milestone approach ;) REEDriler (talk) 18:34, 28 March 2023 (UTC)

Also made changes to rcb with addition of station to provide nat support to pages using, making use of station format. REEDriler (talk) 10:36, 23 March 2023 (UTC)

Did the same for ric REEDriler (talk) 19:55, 23 March 2023 (UTC)

here it is a month later – is this ready to go? or no.  P.I. Ellsworth &thinsp;, ed.  put'er there 10:07, 23 April 2023 (UTC)

Disabled – no response.  P.I. Ellsworth &thinsp;, ed.  put'er there 13:17, 8 May 2023 (UTC)

Needed circular1 and circular2
Unlike Template:s-line, Module:Adjacent stations does not have  and   and some stations have different circular like Tha Phra MRT station. We need  and   because it's too struggle to fix it. - Jjpachano (talk) 15:36, 11 January 2023 (UTC)
 * The template/module currently at Tha Phra MRT station appears to be the correct format, because the Blue Line crosses over itself and terminates outside of the circular loop, similar in function to Tochōmae Station.  Cards   84664   17:40, 11 January 2023 (UTC)



Error
Please check error on Madison station (Florida) to see if it can be fixed &mdash; Martin (MSGJ · talk) 21:37, 17 February 2023 (UTC)


 * ✅ Pi.1415926535 (talk) 21:44, 17 February 2023 (UTC)

How do I add a new color myself?
I want to add a new color to the Delhi metro. I wanna learn how to add these to the template. Footy2000 (talk) 19:33, 19 February 2023 (UTC)


 * @Footy2000 check out REEDriler (talk) 09:44, 20 February 2023 (UTC)


 * Thank you so much! I was curious since months regarding this, slowly trying to understand more of how Wikipedia functions. Footy2000 (talk) 10:11, 20 February 2023 (UTC)

Edit request, though I'm crap at finding the exact part that needs to be altered
So Grand Central Madison was just moved to drop "station" from its name. Since the stl template is used on the LIRR stations navbox the link is now a redirect in a box, which is less than ideal. The stl call for Grand Central Madison needs to be updated, por favor. oknazevad (talk) 00:40, 21 February 2023 (UTC)


 * @Oknazevad
 * The data page Module:Adjacent stations/Long Island Rail Road needs an exception mentioned like Grand Central Terminal. REEDriler (talk) 04:06, 21 February 2023 (UTC)

About Module:Adjacent stations
Hi, I am from Chinese Wikipedia. I think it should have a new function.

In Template:Adjacent stations, each line has two colour boxes. However, they can't be different. I suggest the new function below:

["line A"] = { ["color"] = "114514",'' -- This is the main colour which used in Template:Rail color. This colour appears at the left colour box.'' ["color2"] = "191981", ''-- This is not the main colour. This colour appears at the right colour box.'' ["left terminus"] = "X", ["right terminus"] = "Y" },

This function is useful in Japan railways. I hope it can be added. 阿南之人 (talk) 04:53, 19 March 2023 (UTC)
 * Please post this at Template talk:Adjacent stations which covers discussion of the template and the module. You should get a response there, but if you don't, try WT:WikiProject Trains. Johnuniq (talk) 05:55, 19 March 2023 (UTC)

阿南之人, can you add a  entry to a preferred system sub module? REEDriler (talk) 20:12, 19 March 2023 (UTC)


 * @REEDriler no in Chinese Wikipedia, but I don't know is it okay here. 阿南之人 (talk) 00:18, 20 March 2023 (UTC)
 * Its okay. It needs to be tested first before you can ask it to be added. Try it out using Adjacent stations/sandbox. REEDriler (talk) 08:34, 20 March 2023 (UTC)
 * @REEDriler no, it doesn't work here either.阿南之人 (talk) 09:12, 20 March 2023 (UTC)


 * I mean these colour boxes:, okay? 阿南之人 (talk) 11:11, 20 March 2023 (UTC)
 * Ik and It's working!!!, see:
 * REEDriler (talk) 11:19, 20 March 2023 (UTC)
 * thank you! 阿南之人 (talk) 11:27, 20 March 2023 (UTC)
 * doesn't seem to have the same naming conventions with the current entries. Using arrays could avoid adding new entry, and have better extendability for future. David Xuang (talk) 15:00, 20 March 2023 (UTC)
 * I endorse adding color2 to the module, I believe this would be very useful for rail lines and services that have two primary colors or interchangeable colors.  Cards   84664   17:12, 28 March 2023 (UTC)
 * Sorry, I don't have the time and motivation to review this right now. * Pppery * it has begun... 01:01, 30 March 2023 (UTC)
 * Alright, ?  Cards   84664   03:43, 30 March 2023 (UTC)
 * where is the diff to review? I did a diff with the sandbox and got a whole bunch of changes that seem unrelated to this request. Frietjes (talk) 15:10, 30 March 2023 (UTC)
 * It would be nicer if you could also look at the one above along with this as there's request. The other changes are just addressing minor errors, +useful errors, removing redundant conditionals, improved checks and a station addition. Thanks REEDriler (talk) 17:55, 30 March 2023 (UTC)
 * The addition of a color2 parameter can be roughly found in this set of edits.  Cards   84664   17:33, 7 April 2023 (UTC)
 * , okay, should be enabled now. let me know if I screwed it up. Frietjes (talk) 17:42, 7 April 2023 (UTC)
 * It looks good, thank you.  Cards   84664   17:51, 7 April 2023 (UTC)
 * It looks good, thank you.  Cards   84664   17:51, 7 April 2023 (UTC)


 * I have a question on naming conventions. The current name of  may suggest a whole series of parameters (,  , etc.) as this template is not capable of. Maybe   or   is more appropriate? David Xuang (talk) 05:39, 10 June 2023 (UTC)

Some station articles are broken
Some station articles are broken - see Königs Wusterhausen station and Lübbenau (Spreewald) station. Gonnym (talk) 12:38, 20 March 2023 (UTC)


 * Recent change by @Grahamec to Module:Adjacent stations/DB Regio Nordost. I believe they're working on it. Full list of affected articles: . Mackensen (talk) 13:22, 20 March 2023 (UTC)
 * Yes I am working on various lines including RB 24, which is currently being worked as 2 disconnected sections, so it seems easiest to split it into RB 24-N and RB 24-S.--Grahame (talk) 13:33, 20 March 2023 (UTC)

Calau (Niederlausitz) station is also broken &mdash; Martin (MSGJ · talk) 10:03, 23 March 2023 (UTC)

WKD problems
Some recent edits at Module:Adjacent stations/Warszawska Kolej Dojazdowa have introduced '' in the following articles. If this cannot be fixed soon, please revert the edits and ask for assistance here. Johnuniq (talk) 08:22, 24 April 2023 (UTC)
 * Warszawa Aleje Jerozolimskie railway station
 * Warszawa Ochota railway station
 * Warszawa Reduta Ordona railway station
 * Warszawa Zachodnia station


 * Problem solved. Templates now render corectly in all mentioned above articles. — Antoni12345 (talk) 11:20, 24 April 2023 (UTC)

Red links
Request for help: is there any solution to remove red links (of stations that do not have their articles) from appearing in the template? (+ if you're reading: do you know by any chance how to remove this redirect? https://en.wikipedia.org/w/index.php?title=Grodzisk_Mazowiecki_Rado%C5%84ska_railway_station&redirect=no) — Antoni12345 (talk) 14:45, 24 April 2023 (UTC)
 * @Antoni12345 to remove the red link you may either create a rd or link it to an article (eg. its line or system) from the data page. REEDriler (talk) 17:52, 24 April 2023 (UTC)
 * OK, thanks! Now I understand why this rd that i mentioned exists in the first place! — Antoni12345 (talk) 09:33, 25 April 2023 (UTC)

Is there a policy how to avoid red links which interrupts the sequence which is the reason to have these templates? I notice that sometimes very minor train stations with a single platform and track, serving a village of below 1000 inhabitants, have articles, maybe just to avoid breaking the sequence. At other times there are red links. Should we always create articles about every simple train stop, or should we include some infobox with adjacent station in articles about villages served? Is there a policy? --BIL (talk) 15:21, 27 May 2023 (UTC)


 * WP:N is the policy for determining if a topic is notable enough for an article. If it is not, then the minor station could be made into a redirect to the line. I think it would be nice if there was a way to turn off the link entirely but there is not right now. BLAIXX 15:33, 25 February 2024 (UTC)

Unknown line
Some recent edits have led to "Unknown line" errors (see Altshausen station + Aulendorf station + Bad Saulgau station + Sigmaringen station). I'm hoping you can fix. Johnuniq (talk) 01:14, 10 June 2023 (UTC)
 * Fixed now. I did have an alias for 6=6a, but it was at the wrong level. Still learning.--Grahame (talk) 02:31, 10 June 2023 (UTC)
 * Thanks. Similar issue with "RS" at Oberkochen station and Unterkochen station. Johnuniq (talk) 06:10, 10 June 2023 (UTC)
 * Fixed.--Grahame (talk) 13:29, 10 June 2023 (UTC)

Melbourne module possible name move
Hi, please see a discussion that has taken place at Module talk:Adjacent stations/Melbourne. @Purin128AL: ping. Fork99 (talk) 08:38, 11 June 2023 (UTC)

Many errors
Dozens of articles (for example, Allawah railway station) are showing "Lua error in Module:Adjacent_stations at line 206: attempt to index field '?' (a nil value)". That seems to be due to an edit at Module:Adjacent stations/Sydney Trains (diff) by. What is the fix? If lang "en-US" is incorrect, is the fix to delete that line? Johnuniq (talk) 10:51, 11 June 2023 (UTC)


 * by reverting said edit. Yeah I'm no expert on how the module works, nor am I a programmer, but yeah the module is probably picky that "en-AU" probably isn't defined and it has a tantrum, not to worry, "en-US" seems to work just fine. Little side note: you've underestimated how many articles were affected haha (hint: all of them would have been)! Fork99 (talk) 11:01, 11 June 2023 (UTC)


 * Some of the Australia rail succession modules have lang="en-US" set and other do not have anything set. All this really controls is wether the templates display "station 1 towards station 2" or "station 1 toward station 2". This should probably be made consistent over all the Austrailia modules and if needed, an option could even be added into Module:Adjacent stations/i18n. -- WOSlinker (talk) 11:10, 11 June 2023 (UTC)
 * Ah right, thank you for the incredible piece of knowledge! In that case, I think towards makes more sense as Australian English is closer to British English than American English. I'll have a look to see which modules need changing. Fork99 (talk) 11:20, 11 June 2023 (UTC)
 * I reckon en-GB would be a more suitable option as in Australian English we use "towards". If there's any Australian English specific grammar we can add that into the Module. Purin128AL (talk) 11:21, 11 June 2023 (UTC)
 * As of now, the only difference between en-US and the others is "toward" vs "towards". And the only reason to use  for the en-US is to allow a change in the table; as long as AU is identical to GB, no need to clone it.Animal lover &#124;666&#124; 17:06, 15 August 2023 (UTC)

New swap parameter suggestion
BIL (talk) 13:47, 7 August 2023 (UTC)
 * swapn would be nice, a parameter that swaps left and right for a row in the output table. Useful to match left and right to what's suitable for a station. For example two lines joining, might without it show same destination in opposite directions in the table, even if they go in same directions in the real station.


 * As this https://fr.wikipedia.org/wiki/Utilisateur:Bouzinac/Brouillon2 (frwiki) ? Bouzinac (talk) 14:16, 7 August 2023 (UTC)

New inline type for Rail color box?
Reading the KTM West Coast railway line article and found that certain rail color boxes are hard to read due to the colour assigned to the line. So I propose one inline type that is similar of xroute as in the text is black for readability purpose. Limyx826 (talk) 16:35, 3 October 2023 (UTC)


 * Per MOS:TEXT, text in prose should not be colored. Those should be converted to regular text in that article. Pi.1415926535 (talk) 17:29, 3 October 2023 (UTC)

Errors
There seem to be script errors on many station articles caused by this module, e.g. Komnino railway station. Is there any change that might have caused this? &mdash; Martin (MSGJ · talk) 06:51, 25 October 2023 (UTC)


 * Probably the recent revert at Module:Adjacent stations/PKP Intercity by . It does look like they've been fixing them, but they haven't edited much in a few days. Mackensen (talk) 10:31, 25 October 2023 (UTC)
 * @Antoni12345: are you going to fix these or can we revert these changes? &mdash; Martin (MSGJ · talk) 10:55, 25 October 2023 (UTC)
 * , yes I'm on it. There's just a lot of these station articles, majority of which don't even meet WP:NTRAINSTATION criteria. They seem to be created in 2000s by one specific editor (CCMichalZ) who decided to use Module:Adjacent stations for systematisation of railway phisical infrastructure (rail lines which in Poland each has a specific number) rather than train services. In my opinion this use isn't only against Template:Adjacent stations primary purpose, but also lacks any usefullness for a regular encyclopedia (which Wiki is - it is not a data base) user. Also these station articles lack of proper source citations and usually only transclude informations from www.bazakolejowa.pl which is Polish editors-based portal with content provided by train enthusiasts... Antoni12345 (talk) 12:17, 25 October 2023 (UTC)
 * Yes, I had trouble verifying the data in some cases. I don't have a good set of Polish sources for working on these articles; I did remove the templates from any stations that are explicitly disused. @Antoni12345 should the remaining 30 or so just be removed for now? I can do that with WP:JWB. Mackensen (talk) 14:39, 25 October 2023 (UTC)
 * if I understood you right (you want to remove Adjacent stations from all station articles returning Lua error, that most of which are problematic articles) it would be very helpfull! Even if there is any major station article in there, the data in Adjacent stations is very likely not up to date. — Antoni12345 (talk) 15:11, 25 October 2023 (UTC)
 * @Antoni12345 Done. Let me know if you would like help with the PKP module. Module:Adjacent stations/ÖBB and Module:Adjacent stations/MÁV START may be useful for reference. Mackensen (talk) 18:07, 25 October 2023 (UTC)

Edit request 7 December 2023 - For sandbox project
Hey, I am trying to add something for a sandbox page project: An NYCS 11 "Flushing-Greenpoint Local". However, I can't do it on my own because I don't know much about Lua scripting, which I tried before. I would need some help on this. Please let me know if you have futher information. Thanks.  RandomWikiPerson_277 talk page or something 17:21, 7 December 2023 (UTC)
 * This is not an edit request for Template:Adjacent stations. Please link to the page that you need help with. – Jonesey95 (talk) 17:43, 7 December 2023 (UTC)
 * It appears that you are trying to invent a subway line, "Flushing-Greenpoint local", that is not listed at List of New York City Subway lines. You have created NYCS Flushing-Greenpoint, which links to 11 (New York City Subway service), a redirect to a defunct line. What is your goal? – Jonesey95 (talk) 17:48, 7 December 2023 (UTC)
 * @RandomWikiPerson277: Wikipedia is NOT a hosting service for your fantasy creations. It is ridiculous to ask that editors spend their limited time supporting your fictional endeavors. Please find somewhere other than Wikipedia for your fantasy creations. Pi.1415926535 (talk) 18:27, 7 December 2023 (UTC)
 * Hello,
 * I understand what you said. I know that this was a learning experience, and I apologize for the inconvience caused.  RandomWikiPerson_277 talk page or something 18:29, 7 December 2023 (UTC)
 * Also, I will try to instantly delete the pages that are marked for speedy deletion. Again, sorry for the inconvience caused.  RandomWikiPerson_277 talk page or something 18:32, 7 December 2023 (UTC)
 * I was just making a proposal for an 11 line service, called the Flushing-Greenpoint Local, running in Queens and Brooklyn. I was testing things out in my sandbox page with the NYCS station template, but it's completly compicated. I had to edit and create multiple pages to get it compelete, but it was a total mess. The proposed 11 service would run between Flushing-Main Street in Queens. and the intersection of Bedford Av and Grand St in Brooklyn. I tested out the track layout at first and it worked fine, but the NYCS station information template, it was a complete mess. I didn't mean it to redirect to a defunct line. Thanks.  RandomWikiPerson_277 talk page or something 18:28, 7 December 2023 (UTC)

Unknown line Intercity/Sprinter
In case you miss them, the following currently need a fix. I think that is due to changes at Module:Adjacent stations/Nederlandse Spoorwegen. Johnuniq (talk) 06:17, 20 December 2023 (UTC)
 * 's-Hertogenbosch railway station
 * 2021 Chattanooga mayoral election
 * Alphen aan den Rijn railway station
 * Amsterdam Centraal station
 * Amsterdam Sloterdijk station
 * Bergen op Zoom railway station
 * Best railway station
 * Blerick railway station
 * Bodegraven railway station
 * Boskoop railway station
 * Boskoop Snijdelwijk railway station
 * Boxtel railway station
 * Capelle Schollevaar railway station
 * Den Haag Ypenburg railway station
 * Deurne railway station
 * Eindhoven Centraal railway station
 * Eindhoven Strijp-S railway station
 * Goes railway station
 * Gouda Goverwelle railway station
 * Gouda railway station
 * Helmond 't Hout railway station
 * Helmond Brandevoort railway station
 * Helmond Brouwhuis railway station
 * Helmond railway station
 * Horst-Sevenum railway station
 * Koog aan de Zaan railway station
 * Krommenie-Assendelft railway station
 * Leiden Lammenschans railway station
 * Middelburg railway station
 * Nieuwerkerk aan den IJssel railway station
 * Roosendaal railway station
 * Rotterdam Alexander station
 * Rotterdam Noord railway station

Edit request 1 January 2024 : short line link?
Description of suggested change: A short version of Template:Line link using the short name instead when available. Use case is similar to Line link, except when the short name is preferred. I'm not familiar enough with Lua, but I have tried implementing a version of it in sandbox based on the _box function in the module (which references the short name and extracts the link as well).

Diff: https://en.wikipedia.org/w/index.php?title=Module%3AAdjacent_stations%2Fsandbox&diff=1192925219&oldid=1192919681

&#032;- oahiyeel talk 02:26, 1 January 2024 (UTC)
 * ✅ I haven't exhaustively tested this code, but it seems vaguely reasonable to me and just adding new functions can't possibly break anything. * Pppery * <sub style="color:#800000">it has begun... 15:51, 9 January 2024 (UTC)

Edit request 13 February 2024
Description of suggested change: Prague Metro has been using for years different logo which is now available through Commons --Bilykralik16 (talk) 00:22, 13 February 2024 (UTC)
 * ✅ – Jonesey95 (talk) 01:02, 13 February 2024 (UTC)

Adjacent stations/Maryland Transit Administration
I think some tweaking is needed following recent edits at Module:Adjacent stations/Maryland Transit Administration to avoid the error at Baltimore Transit ("Lua error in Module:Adjacent_stations at line 430: "title" is missing from the data page"). Johnuniq (talk) 23:27, 6 March 2024 (UTC)


 * @Johnuniq Got it. I'll watch out for any others. Mackensen (talk) 23:31, 6 March 2024 (UTC)

Disambiguation issues
I found two disambiguation pages which are being linked to from this template. I may be mistaken, but I think that adding parenthetical disambiguators needs to be done within the template here (versus in the template call). I'm not sure how that would be done, but it seemed like this would be the place to ask about it?


 * This template should be linking to Koga Station (Fukuoka) from the adjacent JR Kyushu Kagoshima Main Line stations Shishibu Station and Chidori Station (versus the disambiguation page Koga Station, where it goes now)
 * This template should be linking to Ippommatsu Station (Fukuoka) from the adjacent JR Kyushu Hitahikosan Line stations Tagawa-Ita Station and Kawara Station (versus the disambiguation pages Ippommatsu Station and Ipponmatsu Station, which are linked to at the moment)

Thanks! Cleancutkid (talk) 06:48, 15 April 2024 (UTC)
 * at Module:Adjacent stations/JR Kyushu. – Jonesey95 (talk) 14:44, 15 April 2024 (UTC)

Another disambiguation request
Sorry, I don't quiiite understand this template enough to try to edit it myself, but I found another station with an issue, this time in the M3 line of Module:Adjacent stations/Sofia Metro. The template goes to Teatralna Metro Station, but needs to instead go to Teatralna Metro Station (Sofia Metro). The error is visible from the articles for the adjacent stations, Orlov Most Metro Station and Hadzhi Dimitar Metro Station. Thank you! Cleancutkid (talk) 04:24, 30 April 2024 (UTC)
 * I've updated it. -- WOSlinker (talk) 07:57, 30 April 2024 (UTC)

Template-protected edit request on 6 May 2024
Hello, can a module for Dreamstar Lines be added? Thank you! OrdinaryScarlett (talk) 20:58, 6 May 2024 (UTC)


 * I don't see a need to add it until it proves to be anything more than vaporware. There's a nigh-endless stream of private companies that propose shiny new services and never go anywhere - Boston Surface Railroad, X Train, Z-Train, AmeriStar Rail, etc. Exactly one - Brightline - has actually gone through, and that was an existing railroad starting on its own property. I don't think we should clog up station infoboxes with services like these until it's clear they're actually going to happen. Pi.1415926535 (talk) 21:30, 6 May 2024 (UTC)
 * Red information icon with gradient background.svg Not done for now: please establish a consensus for this alteration before using the template. &mdash; Martin (MSGJ · talk) 10:11, 7 May 2024 (UTC)

Template-protected edit request on 21 May 2024
For Missoula Montana's previous Amtrak station, an incorrect link is being used, it should be this page "Missoula station (Northern Pacific Railway)". Thanks! GusterPosey (talk) 02:36, 21 May 2024 (UTC)
 * That change needs to be made at Module:Adjacent stations/Amtrak, and I've fixed it. Mackensen (talk) 02:58, 21 May 2024 (UTC)

Bug fix required
The optional size argument (see Template:Rail icon) produces an error rather than changing the icon size. Useddenim (talk) 16:51, 24 June 2024 (UTC)


 * Example of where it's broken? Mackensen (talk) 17:00, 24 June 2024 (UTC)
 * How about right here:  → ? Useddenim (talk) 19:21, 24 June 2024 (UTC)
 * Interesting. Seems to be limited to textual "icons"; for example,  →  works just fine. Given that there isn't an actual image, I suppose it should just do nothing in this case? Mackensen (talk) 20:42, 24 June 2024 (UTC)
 * No, size should then scale the text. Useddenim (talk) 20:46, 24 June 2024 (UTC)
 * The documentation appears to say that "size" will be ignored unless "system icon format" is set to "image". In this case, in Module:Adjacent stations/Tyrol S-Bahn, "system icon format" is set to route, but "size" is being passed through instead of discarded: all inputs except "alt" and "size" are passed through appropriately. That looks like a bug to me. (Edited to add: We should not pass along "size" to change the size of text in px values, IMO.)– Jonesey95 (talk) 22:49, 24 June 2024 (UTC)
 * Is there a way that the size parameter could be figured as a percentage to then change the text-height? Useddenim (talk) 01:47, 25 June 2024 (UTC)

Edit request 2024-07-04
Please add  to the class attribute for   on line 179 of Module:Adjacent stations (sandbox edit). This fixes an issue with the line colors not displaying on dark mode when embedded in  in Infobox station, compare current Helsinki Central Station with Special:Permalink/1232615211 of my sandbox using the sandbox version of this module. Thanks. Taavi (talk!) 17:26, 4 July 2024 (UTC)
 * ✅ myself. Taavi (talk!)

Edit request 9 July 2024
Description of suggested change: Hey all, I need to change the style of a transit agency across all it's pages, because, due to a rebrand, the colors are now different, and I have no idea how to do it myself. If someone could help it'd be great!

Cloudsarepretty (talk) 04:52, 9 July 2024 (UTC)
 * Red information icon with gradient background.svg Not done for now: There is no specific request here. Please link to an affected article and to a reliable source showing the new colors. – Jonesey95 (talk) 05:41, 9 July 2024 (UTC)
 * Hi, sorry about that. The agency is SacRT and they recently updated their logo as seen on their website / social channels, therefore also updating their color scheme. The requested colors are: Background #00246A and Text #E0F0FF for visibility. Cloudsarepretty (talk) 08:46, 9 July 2024 (UTC)
 * Just realized I forgot to actually include an article. You can see on any SacRT station article, (for example, Fruitridge station) that it still has the dark blue and gold color scheme. I have reached out to get the operator logo updated to the new one as well. Cloudsarepretty (talk) 08:51, 9 July 2024 (UTC)
 * The module is at Module:Adjacent stations/SacRT. The background color seems to be the same, so you should just need to update the header text color. -- WOSlinker (talk) 11:29, 9 July 2024 (UTC)
 * I have successfully changed it. How do I change the Rail-interchange icon? Cloudsarepretty (talk) 18:42, 9 July 2024 (UTC)
 * In Template:Rail-interchange look for "File:Sacramento_Regional_Transit.svg" and replace with "File:Sacramento_Regional_Transit_2024.jpg". It's template editor protected though, so I've made the change for you. -- WOSlinker (talk) 19:06, 9 July 2024 (UTC)
 * Amazing! Thanks So Much! Cloudsarepretty (talk) 19:27, 9 July 2024 (UTC)
 * ✅ Cloudsarepretty (talk) 19:28, 9 July 2024 (UTC)

font-family specified in Module:Adjacent stations subpages
I'm seeing font-family specified in about 300 subpages of Module:Adjacent stations. This appears to contradict MOS:FONTFAMILY. Some of them specify "sans-serif", which is possibly acceptable, but there are definitions like "Copperplate", "Arial", "Tahoma", "Times New Roman", and "Helvetica" that should probably be removed. – Jonesey95 (talk) 05:21, 10 July 2024 (UTC)