Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a28a48a568c64b67

Jump to content

Template talk:Rail pass box

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 1 month ago by Smithr32 in topic Previous years hidden

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

Previous years hidden

[edit]

I wonder if we should have an option to hide previous years from infoboxes as it should be a summary MOS:INFOBOXPURPOSE. Similar to the show/hidden template:

2024/25Increase 14.325 million Interchange Increase 4.058 million
2017/18Decrease 17.122 million Interchange Decrease 4.179 million 2018/19Decrease 16.980 million Interchange Decrease 4.143 million 2019/20Increase 17.081 million Interchange Increase 4.352 million --> 2020/21Decrease 2.963 million Interchange Decrease 0.680 million 2021/22Increase 8.818 million Interchange Increase 2.216 million 2022/23Increase 12.401 million Interchange Increase 3.730 million 2023/24Increase 13.490 million Interchange Decrease 3.411 million

Smithr32 (talk) 13:35, 22 June 2026 (UTC)Reply