Jump to content

Template talk:Rail pass box

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Change in passenger display

[edit]

Per the discussion at Template talk:Infobox station#Traffic / Passengers, I propose adding a parameter to suppress the display of "Passengers" in the label and simply display the year. I've created a sandbox and testcases to demonstrate the functionality. Mackensen (talk) 12:11, 30 July 2020 (UTC)[reply]

Thanks for adding this here, Mackensen :) -- support from me, of course. Perhaps better to call "datelabel" as something like |yearonly=yes/no, or dateonly, or suppresslabel, or something like that (sounds a bit more intuitive for me), but otherwise implementation in sandbox looks good to me. ProcrastinatingReader (talk) 12:31, 30 July 2020 (UTC)[reply]

Changing to yearonly = yes by default

[edit]

Wanted to gather some thoughts on if we can set |yearonly=yes as the default (so that wouldn't need to be specified)? |yearonly= hides the "Passengers", as above. I'm not familiar enough with railway stations globally to know if this change may be undesirable? My very initial thoughts are that it may naturally make sense for multiple-passenger years, so that leaves the single year case. {{Infobox station}} now uses "yes" as the default for that case too, hence I feel like this change is safe to make? My main reasoning here is that if this is okay it'd save a param on infoboxes, meaning less mistakes and less code / more friendly. Mackensen could I grab your thoughts on this? ProcrastinatingReader (talk) 18:19, 31 October 2020 (UTC)[reply]

ProcrastinatingReader, I suppose the real question is whether this template is used heavily outside Infobox station. If yes, then it might have some unexpected effects, though easily remediated. If no, then it's safe but also not all that necessary. I think it's probably fine. Mackensen (talk) 02:05, 1 November 2020 (UTC)[reply]
As far as I'm aware, NY subway stations and tram networks use it too (in a similar manner to railway stations), but I'm not aware of others. The usecase is for the merge in Special:Diff/986414949 (this change allows us to scrap the |yearonly= param there, lest someone tell me the extra param makes the merge 'not an improvement'. It would also mean we can squash {{Rail pass box}} onto one line in a readable way in general, but either is better than lowint201617 imo). Though I suppose it may be a sane default to have anyway. I've implemented it in the sandbox now, so it's visible on the testcases for review. ProcrastinatingReader (talk) 02:45, 1 November 2020 (UTC)[reply]

Change "Interchange" to "Interchanges"

[edit]

The Interchange heading is really shorthand for "number of interchanges", so it should be pluralised. This also removes the possibility of a reader mistaking "interchange" for "change", and thinking that the value is the change in the number of passengers from year to year, instead of the number of passengers that made a connection at the station. I have made this change at the sandbox, and I'd be grateful if someone could extend this to the main template (pending any objections). Thanks in advance, PinkPanda272 (talk/contribs) 18:04, 15 December 2020 (UTC)[reply]

@ProcrastinatingReader and Mackensen: I see you have been active in the above section, are either of you available to help? Thanks, PinkPanda272 (talk/contribs) 22:30, 29 December 2020 (UTC)[reply]
Mackensen would know more than me about the suitability of this change. You can also solicit more opinions at Template talk:Infobox station. It's a simple change, and it seems to make sense to me, but I'm not really qualified to assess it myself. ProcrastinatingReader (talk) 13:46, 1 January 2021 (UTC)[reply]
Thanks, I've linked this discussion on the infobox's talk. PinkPanda272 (talk/contribs) 17:34, 1 January 2021 (UTC)[reply]