Module talk:Adjacent stations/CTA

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconTrains Template‑class
WikiProject iconThis module 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.
TemplateThis module does not require a rating on Wikipedia's content assessment scale.

Purple express[edit]

@Cards84664: Just wanted to discuss the reason I added Purple Express service. It essentially functions as a separate service (similar to diamond services in NY, for example), and the trains have a different destination (Loop instead of Howard). Adjacent station templates at Purple Express stations should display the destination as Loop/Linden, not Howard/Linden, as any train servicing those stations is not running to Howard. And for those stations, saying that they have Purple Line service just seems misleading. WMSR (talk) 01:27, 4 October 2019 (UTC)[reply]

CTA problems[edit]

@Cards84664: Some recent edits at this module seem to have caused "Lua error: bad argument #1 to 'gsub' (string expected, got nil)" in these articles:

I'm hoping you can fix. Johnuniq (talk) 09:34, 8 April 2020 (UTC)[reply]

@Johnuniq: Working on it now, but I've never seen Jaljala rural municipality before. Cards84664 13:42, 8 April 2020 (UTC)[reply]
@Johnuniq:  Done, let me know if any new ones appeared in the process. Cards84664 14:31, 8 April 2020 (UTC)[reply]
Thanks, that looks good. Johnuniq (talk) 00:36, 9 April 2020 (UTC)[reply]

@Cards84664:: A few more:

Johnuniq (talk) 07:25, 12 May 2020 (UTC)[reply]

@Johnuniq:  Done, and I'm looking for more currently. Cards84664 15:40, 13 May 2020 (UTC)[reply]
Try Kedzie Avenue. The error message ("Lua error: bad argument #1 to 'match' (string expected, got nil)") is highly irritating. I looked at the module and saw that it comes from getStation but I didn't want to take the time to work out how to meaningfully report the problem to the user (that is, to pass down the template parameter which is causing the problem). Maybe later, or you might be able to fill in a few clues for me to fix the module to be more helpful about what the problem is. Johnuniq (talk) 00:12, 14 May 2020 (UTC)[reply]
@Johnuniq: The module is set up where you need to invoke a specific branch of the 'L' for the link to generate correctly. { {cta|Kedzie|Brown} } { {cta|Kedzie|Pink} }, etc. Cards84664 23:57, 14 May 2020 (UTC)[reply]
To be honest, I didn't format the module correctly. Logan Square is calling on either "Blue" or "Logan" as a second parameter (Logan Square & Logan Square). I will revert it so the modern subway station defaults automatically, since the latter is defunct. Cards84664 00:04, 15 May 2020 (UTC)[reply]