Template talk:Infobox station

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

WikiProject iconTrains: Stations Template‑class
WikiProject iconThis template 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 template does not require a rating on Wikipedia's content assessment scale.
Associated projects or task forces:
Taskforce icon
This template is supported by WikiProject Stations.

Merger proposal[edit]

I propose to merge Infobox London Station into Infobox station. I think that the content in the London station template can easily be replicated in infobox station just like the move of Infobox GB station into Infobox station. Smithr32 (talk) 20:33, 26 September 2020 (UTC)[reply]

I'm not sure it should be merged. The biggest difference is the multiple sets of passenger figures under different headings. I am not sure how to smoothly implement that, whilst retaining generality for use in other stations, and also preventing misuse of the generality. Unless a good proposal to get around that is found, I do not think it's likely to be a good merge. ProcrastinatingReader (talk) 21:26, 26 September 2020 (UTC)[reply]
We should still hold on with London station, it is a situation similar to New York City Subway station. Both should be scrutinized before any mergers are put forward. Cards84664 23:45, 26 September 2020 (UTC)[reply]
It would have been better to merge {{Infobox GB station}} into {{Infobox London station}} because the latter is, by and large, a superset of the former - only a few features of GB station are not provided by London station. --Redrose64 🌹 (talk) 20:55, 27 September 2020 (UTC)[reply]
@Smithr32: looked into this more recently, this is probably more feasible than I originally imagined above. Played around with a few demo conversions in my sandbox (the first two), very roughly. I think the key here is on presentation of the passenger information. The data can be carried over given |system= in {{Rail pass box}}, but not sure on the presentation of that data atm. ProcrastinatingReader (talk) 08:48, 28 November 2020 (UTC)[reply]

Add tram station capability into infobox[edit]

Moonee Ponds Junction
PTV tram and bus interchange
General information
LocationCorner Ascot Vale, Mount Alexander & Pascoe Vale Roads, Moonee Ponds
Australia
Coordinates37°46′02″S 144°55′30″E / 37.76715°S 144.92488°E / -37.76715; 144.92488
Owned byVicTrack
Platforms2 side
Tram routes
Tram operatorsYarra Trams
Bus routes404, 469, 472, 476, 477, 483, 504, 505, 506, 508
Bus stands9
Bus operatorsCDC Melbourne
Dysons
Kastoria Bus Lines
Moonee Valley Coaches
Transit Systems
Connections
  • Metropolitan tram Tram
  • Metropolitan bus Bus
Other information
Stop number12
Fare zoneMyki zone 1
History
Opened24 July 2002
Services
Preceding station Trams in Melbourne Yarra Trams Following station
Moonee Valley Civic Centre
towards Airport West
Route 59 Montgomery Street
Terminus Route 82 Chaucer Street
towards Footscray

I am testing the use of this infobox for major tram stations/stops and bus interchanges. I have added |number for station number (not code), |tram_routes and |tram_operators for display of both bus and tram routes/operators. Example as on the right:

Difference in source code please see: [1]

Is this a good idea? I have made my edit in the sandbox to show how it works. Purin128AL (talk) 06:58, 12 June 2023 (UTC)[reply]

I think Yarra Trams call them by “stop numbers”, Adelaide Metro and Transperth do the same for their 5 digit stop numbers for buses, trams, trains, ferries, whatever. Fork99 (talk) 09:32, 12 June 2023 (UTC)[reply]
Changed from station number to stop number in sandbox. Purin128AL (talk) 05:13, 13 June 2023 (UTC)[reply]
Looks good. I've added the autoheaders feature in the sandbox. — Martin (MSGJ · talk) 11:43, 13 June 2023 (UTC)[reply]
 Done Izno (talk) 20:00, 20 June 2023 (UTC)[reply]
Using the Tram routes and Tram operators parameters will now trigger the using unknown parameter warning. How can that be fixed? Purin128AL (talk) 18:12, 22 July 2023 (UTC)[reply]
The parameters needed to be added to the /doc subpage as well: [2] @Izno for next time. Mackensen (talk) 19:25, 22 July 2023 (UTC)[reply]
Can you give an example, because I don't know how the /doc page could affect that? — Martin (MSGJ · talk) 17:45, 23 July 2023 (UTC)[reply]
If they are using VE, it depends upon the TemplateData for which parameters to suggest. --Redrose64 🌹 (talk) 18:39, 23 July 2023 (UTC)[reply]

Template-protected edit request on 30 April 2024[edit]

Regarding the Location and Notes headers, I would like to add the option of having these headers be collapsible, using these edits. This will be useful for keeping infobox height consistent between articles that have location maps and articles that do not use route_map. This will not collapse the headers by default. Cards84664 18:13, 30 April 2024 (UTC)[reply]