Jump to content

Template talk:Rail-interchange: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 107: Line 107:
== Edit request 2 November 2023 ==
== Edit request 2 November 2023 ==


{{Edit template-protected|answered=}}
{{Edit template-protected|answered=yes}}


Apparently I'm not the only one working on public transit in San Diego this evening.
Apparently I'm not the only one working on public transit in San Diego this evening.
Line 131: Line 131:


:@[[User:DavidCiani|DavidCiani]] I refactored slightly to use {{t1|rail icon}} and [[Module:Adjacent stations/North County Transit District]]. Result should be the same, and a little more sustainable going forward. Testcases look good to you? [[User:Mackensen|Mackensen]] [[User_talk:Mackensen|(talk)]] 13:23, 2 November 2023 (UTC)
:@[[User:DavidCiani|DavidCiani]] I refactored slightly to use {{t1|rail icon}} and [[Module:Adjacent stations/North County Transit District]]. Result should be the same, and a little more sustainable going forward. Testcases look good to you? [[User:Mackensen|Mackensen]] [[User_talk:Mackensen|(talk)]] 13:23, 2 November 2023 (UTC)
::{{done}} [[User:Happy-melon|<b style="color:forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange">melon</b>]] 16:08, 6 November 2023 (UTC)


== Edit request 3 November 2023 ==
== Edit request 3 November 2023 ==

Revision as of 16:08, 6 November 2023

WikiProject iconTrains 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.

Edit request 6 October 2023

Description of suggested change: Update link in Boston section for recent rename of Franklin Line to Franklin/Foxboro Line

Diff:

| fairmount | fitchburg | franklin | greenbush | haverhill | lowell | needham =[[{{ucfirst:{{lc:{{{3}}}}}}} Line|{{white|{{ucfirst:{{lc:{{{3}}}}}}} Line}}]]
+
| fairmount | fitchburg | greenbush | haverhill | lowell | needham =[[{{ucfirst:{{lc:{{{3}}}}}}} Line|{{white|{{ucfirst:{{lc:{{{3}}}}}}} Line}}]]
+
| franklin | foxboro | franklin/foxboro =[[Franklin/Foxboro Line|{{white|Franklin/Foxboro}}]]

Pi.1415926535 (talk) 21:19, 6 October 2023 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. put'er there 07:42, 7 October 2023 (UTC)[reply]

Template-protected edit request on 10 October 2023

{{Public transport in Istanbul}} is broken. Can you add a case for cable cars in İstanbul when no line number supplied, maybe with File:BSicon GNDC.svg or File:BSicon AETRAM.svg? Betseg (talk) 17:28, 10 October 2023 (UTC)[reply]

Made an edit to the Istanbul template which solves this problem, I don't think any further changes are needed. 162 etc. (talk) 19:37, 10 October 2023 (UTC)[reply]
Betseg, is the problem fixed now? If not, please explain and change "yes" to "no" in the template at the top of this section. – Jonesey95 (talk) 22:17, 10 October 2023 (UTC)[reply]
It is fixed, thanks. Betseg (talk) 22:20, 10 October 2023 (UTC)[reply]

Template-protected edit request on 16 October 2023

Link updates for Adelaide railway lines:

| adelaide ={{#switch: {{lc: {{{2}}} }}

| rail =[[File:Aiga railtransportation 25.svg|{{{size|11}}}px|link={{{link|Railways in Adelaide}}}]] | bus =[[File:Aiga bus trans.svg|{{{size|12}}}px|link={{{link|Buses in Adelaide}}}]] | tram =[[File:BSicon TRAM.svg|{{{size|16}}}px|link={{{link|Trams in Adelaide}}}]]

| glenelg =[[Glenelg tram|<span style="color:#{{rail color|Adelaide Metro|Glenelg}};font-size:125%;line-height:100%">■</span>]] | belair =[[Belair railway line|<span style="color:#{{rail color|Adelaide Metro|Belair}};font-size:125%;line-height:100%">■</span>]] | flinders =[[Flinders railway line|<span style="color:#{{rail color|Adelaide Metro|Flinders}};font-size:125%;line-height:100%">■</span>]] | gawler =[[Gawler railway line|<span style="color:#{{rail color|Adelaide Metro|Gawler}};font-size:125%;line-height:100%">■</span>]] | grange =[[Grange railway line|<span style="color:#{{rail color|Adelaide Metro|Grange}};font-size:125%;line-height:100%">■</span>]] | outer harbor =[[Outer Harbor railway line|<span style="color:#{{rail color|Adelaide Metro|Outer Harbor}};font-size:125%;line-height:100%">■</span>]] | seaford =[[Seaford railway line|<span style="color:#{{rail color|Adelaide Metro|Seaford}};font-size:125%;line-height:100%">■</span>]] | tonsley =[[Flinders railway line|<span style="color:#{{rail color|Adelaide Metro|Flinders}};font-size:125%;line-height:100%">■</span>]]
+
| adelaide ={{#switch: {{lc: {{{2}}} }}

| rail =[[File:Aiga railtransportation 25.svg|{{{size|11}}}px|link={{{link|Railways in Adelaide}}}]] | bus =[[File:Aiga bus trans.svg|{{{size|12}}}px|link={{{link|Buses in Adelaide}}}]] | tram =[[File:BSicon TRAM.svg|{{{size|16}}}px|link={{{link|Trams in Adelaide}}}]]

| glenelg =[[Glenelg tram line|<span style="color:#{{rail color|Adelaide Metro|Glenelg}};font-size:125%;line-height:100%">■</span>]] | belair =[[Belair line|<span style="color:#{{rail color|Adelaide Metro|Belair}};font-size:125%;line-height:100%">■</span>]] | flinders =[[Flinders line|<span style="color:#{{rail color|Adelaide Metro|Flinders}};font-size:125%;line-height:100%">■</span>]] | gawler =[[Gawler line|<span style="color:#{{rail color|Adelaide Metro|Gawler}};font-size:125%;line-height:100%">■</span>]] | grange =[[Grange line|<span style="color:#{{rail color|Adelaide Metro|Grange}};font-size:125%;line-height:100%">■</span>]] | outer harbor =[[Outer Harbor line|<span style="color:#{{rail color|Adelaide Metro|Outer Harbor}};font-size:125%;line-height:100%">■</span>]] | seaford =[[Seaford line|<span style="color:#{{rail color|Adelaide Metro|Seaford}};font-size:125%;line-height:100%">■</span>]] | tonsley =[[Flinders line|<span style="color:#{{rail color|Adelaide Metro|Flinders}};font-size:125%;line-height:100%">■</span>]]

Nick Mitchell 98 talk 12:57, 16 October 2023 (UTC)[reply]

@Nick Mitchell 98 would it make more sense to return the actual icons for these services, instead of colored boxes? The code already invokes the relevant adjacent stations module. Mackensen (talk) 20:20, 16 October 2023 (UTC)[reply]
Deactivating pending response to Mackensen's comment. * Pppery * it has begun... 00:02, 27 October 2023 (UTC)[reply]

Template-protected edit request on 27 October 2023

Hi! Please change under the "cahsr" section the link and alt from "CAHSR" to "California High-Speed Rail." This helps get rid of a pointless redirect when clicking on the logo SVG. Thanks! OrdinaryScarlett (talk) 04:04, 27 October 2023 (UTC)[reply]

 Done — Martin (MSGJ · talk) 20:00, 27 October 2023 (UTC)[reply]
Thank you so much! --OrdinaryScarlett (talk) 20:19, 27 October 2023 (UTC)[reply]

Template-protected edit request on 30 October 2023

Hi, File:Bcr logo.svg was deleted from commons 19 October 2023 (c:Commons:Deletion requests/File:Bcr logo.svg). I can't see a sensible alternative and it does not appear to be used so I suggest just removing as a now invalid entry. Cheers KylieTastic (talk) 10:31, 30 October 2023 (UTC)[reply]

@KylieTastic:  Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. --Redrose64 🌹 (talk) 22:26, 1 November 2023 (UTC)[reply]

Template-protected edit request on 30 October 2023

Hi! Can the links for the MTS bus, Coaster, and Sprinter icons be changed to "San Diego MTS bus system", "Coaster (rail service)" and "Sprinter (rail service)" to bypass the redirects? Thank you! --OrdinaryScarlett (talk) 23:38, 30 October 2023 (UTC)[reply]

@OrdinaryScarlett:  Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. --Redrose64 🌹 (talk) 22:27, 1 November 2023 (UTC)[reply]
@Redrose64  Done. --OrdinaryScarlett (talk) 23:20, 1 November 2023 (UTC)[reply]
And  Done. --Redrose64 🌹 (talk) 21:55, 2 November 2023 (UTC)[reply]

Template-protected edit request on 1 November 2023

I've collected a few icons for Helsinki to add to the template:

+
| helsinki ={{#switch: {{lc: {{{2}}} }} | tram =[[File:Raitiovaunu_HSL_logo.png|{{{size|11}}}px|link={{{link|Trams in Helsinki}}}]] | lightrail =[[File:HSL_pikaratikka_logo.svg|{{{size|11}}}px|link={{{link|Trams in Helsinki}}}]] | metro =[[File:Helsinki_metro_logo_round_edges.svg|{{{size|11}}}px|link={{{link|Helsinki Metro}}}]] }}

CarrotPieFI (talk) 13:06, 1 November 2023 (UTC)[reply]

@CarrotPieFI:  Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. --Redrose64 🌹 (talk) 22:28, 1 November 2023 (UTC)[reply]

Edit request 2 November 2023

Apparently I'm not the only one working on public transit in San Diego this evening.

Description of suggested change: Update San Diego region services Coaster and Sprinter to use current, higher quality icons.

Test case here.


Diff:

| coaster =[[File:Coaster_icon.svg|{{{size|16}}}px|link={{{link|Coaster (rail service)}}}]] | sprinter =[[File:Sprinter San Diego.png|{{{size|16}}}px|link={{{link|Sprinter (rail service)}}}]]
+
| coaster =[[File:NCTD COASTER Icon (2019).svg|{{{size|16}}}px|link={{{link|Coaster (rail service)}}}]] | sprinter =[[File:NCTD SPRINTER Icon (2019).svg|{{{size|16}}}px|link={{{link|Sprinter (rail service)}}}]]

David Ciani (talk) 06:41, 2 November 2023 (UTC)[reply]

@DavidCiani I refactored slightly to use {{rail icon}} and Module:Adjacent stations/North County Transit District. Result should be the same, and a little more sustainable going forward. Testcases look good to you? Mackensen (talk) 13:23, 2 November 2023 (UTC)[reply]
 Done Happymelon 16:08, 6 November 2023 (UTC)[reply]

Edit request 3 November 2023

Description of suggested change: Per my most recent edit to the sandbox here, I bypassed a few more redirect links, one for the US as a whole and the last few remaining ones for the state of California.

Diff:

| california =[[File:BSicon CCAR.svg|{{{size|20}}}px|link={{{link|California Street line}}}|alt={{{alt|}}}]] | powell-hyde | hyde =[[File:BSicon CCAR.svg|{{{size|20}}}px|link={{{link|Powell-Hyde line}}}|alt={{{alt|}}}]] | powell-mason | mason =[[File:BSicon CCAR.svg|{{{size|20}}}px|link={{{link|Powell-Mason line}}}|alt={{{alt|}}}]] | #default =[[File:BSicon LOGO SCvta.svg|{{{size|18}}}px|link={{{link|Santa Clara Valley Transportation Authority light rail}}}|alt={{{alt|{{{link|Santa Clara VTA}}}}}}]] | amtrakbus =[[File:BSicon LOGO Amtrak2.svg|{{{size|20}}}px|link={{{link|Amtrak Thruway Motorcoach}}}|alt={{{alt|{{{link|Amtrak}}}}}}]]
+
| california =[[File:BSicon CCAR.svg|{{{size|20}}}px|link={{{link|San Francisco cable car system#California Street line}}}|alt={{{alt|}}}]] | powell-hyde | hyde =[[File:BSicon CCAR.svg|{{{size|20}}}px|link={{{link|San Francisco cable car system#Powell–Hyde line}}}|alt={{{alt|}}}]] | powell-mason | mason =[[File:BSicon CCAR.svg|{{{size|20}}}px|link={{{link|San Francisco cable car system#Powell–Mason line}}}|alt={{{alt|}}}]] | #default =[[File:BSicon LOGO SCvta.svg|{{{size|18}}}px|link={{{link|VTA light rail}}}|alt={{{alt|{{{link|Santa Clara Valley Transportation Authority}}}}}}]] | amtrakbus =[[File:BSicon LOGO Amtrak2.svg|{{{size|20}}}px|link={{{link|Amtrak Thruway}}}|alt={{{alt|{{{link|Amtrak}}}}}}]]

OrdinaryScarlett (talk) 00:05, 3 November 2023 (UTC)[reply]

 Done --Redrose64 🌹 (talk) 21:16, 3 November 2023 (UTC)[reply]

Edit request 4 November 2023

Description of suggested change: Update route icons for Ottawa's O-Train line 1+2 and add lines 3+4. Testcases available here, source for change here.

Diff:

| otrain ={{#switch: {{lc:{{{3|}}}}}

| #default =[[File:O-Train icon.png|{{{size|16}}}px|link=O-Train]] }} {{#switch: {{lc:{{{3}}}}}

| confederation | 1 =[[File:Ottawa - Line 1 Confederation Line.svg|{{{size|16}}}px|link=Confederation Line]] | trillium | 2 =[[File:Ottawa - Line 2 Trillium Line.svg|{{{size|16}}}px|link=Trillium Line]] }} | confederation | 1 =[[File:Ottawa - Line 1 Confederation Line.svg|{{{size|16}}}px|link=Confederation Line]] | trillium | 2 =[[File:Ottawa - Line 2 Trillium Line.svg|{{{size|16}}}px|link=Trillium Line]] | transitway =[[File:BSicon BUS3.svg|{{{size|16}}}px|link=Transitway (Ottawa)]]
+
| otrain ={{#switch: {{lc:{{{3|}}}}}

| #default =[[File:O-Train icon.png|{{{size|16}}}px|link=O-Train]] }} {{#switch: {{lc:{{{3}}}}}

| confederation | 1 =[[File:O-Train Line 1.svg|{{{size|16}}}px|link=Confederation Line]] | trillium | 2 =[[File:O-Train Line 2.svg|{{{size|16}}}px|link=Trillium Line]] | 3 =[[File:O-Train Line 3.svg|{{{size|16}}}px|link=Confederation Line]] | airport | 4 =[[File:O-Train Line 4.svg|{{{size|16}}}px|link=Line 4 (Ottawa)]] }} | confederation | 1 =[[File:O-Train Line 1.svg|{{{size|16}}}px|link=Confederation Line]] | trillium | 2 =[[File:O-Train Line 2.svg|{{{size|16}}}px|link=Trillium Line]] | 3 =[[File:O-Train Line 3.svg|{{{size|16}}}px|link=Confederation Line]] | airport | 4 =[[File:O-Train Line 4.svg|{{{size|16}}}px|link=Line 4 (Ottawa)]] | transitway =[[File:BSicon BUS3.svg|{{{size|16}}}px|link=Transitway (Ottawa)]]

BLAIXX 16:02, 4 November 2023 (UTC)[reply]

@Blaixx I added the icons to Module:Adjacent stations/OC Transpo and refactored your code a little, with additional test cases. If it looks good to you I'll update. Mackensen (talk) 13:00, 5 November 2023 (UTC)[reply]
That looks good to me, thanks for your help. Is it preferable to use ric for calling up icons in articles or is rint fine too? BLAIXX 13:57, 5 November 2023 (UTC)[reply]
@Blaixx  Done. I have a personal preference for ric but it doesn't really matter. Rint is useful for things not handled by an adjacent stations module. Mackensen (talk) 14:08, 5 November 2023 (UTC)[reply]