Template talk:Rail pass box
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Change in passenger display
editPer 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)
- 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)
Changing to yearonly = yes by default
editWanted 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)
- 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)
- 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)
- 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
Change "Interchange" to "Interchanges"
editThe 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)
- @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)
- 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)
- Thanks, I've linked this discussion on the infobox's talk. PinkPanda272 (talk/contribs) 17:34, 1 January 2021 (UTC)
- 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)
- @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)