Jump to content

Template talk:Rail-interchange

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

Edit request 4 September 2024

[edit]

Description of suggested change: These changes will harmonize and cleanup the code for all five Taiwanese urban rail transit systems. I don't know how this would work code-wise, but I would also like File:Taichung Metro logo plain.svg to be added to the Taichung module so whenever {{rint|taichung|metro}} is used, it will display said logo file, much like how {{rint|taipei|metro}} displays the logo for the Taipei Metro. Thank you!

Proposed changes

Diff:

| taipei ={{#switch: {{lc: {{{2}}} }} | metro | trts = {{ric|Taipei Metro|link={{{link|}}}|alt={{{alt|}}}}} | 1 | br = {{ric|Taipei Metro|br|link={{{link|}}}}} | 2 | r = {{ric|Taipei Metro|r|link={{{link|}}}}} | 3 | g = {{ric|Taipei Metro|g|link={{{link|}}}}} | 4 | o = {{ric|Taipei Metro|o|link={{{link|}}}}} | 5 | bl = {{ric|Taipei Metro|bl|link={{{link|}}}}} | 7 | lg = {{ric|Taipei Metro|lg|link={{{link|}}}}} | 8 | sb = {{ric|Taipei Metro|sb|link={{{link|}}}}} | airport = {{ric|Taoyuan Metro|a|link={{{link|}}}}} | maokong | maokong gondola = {{RouteBox|Maokong Gondola|Maokong Gondola|#{{rail color|TRTS|Maokong}}}} | #default = {{ric|Taipei Metro|{{{2|}}}|link={{{link|}}}}} }} | new taipei ={{#switch: {{lc: {{{2}}} }} | danhai | v = {{ric|New Taipei Metro|v|link={{{link|}}}}} | ankeng | k = {{ric|New Taipei Metro|k|link={{{link|}}}}} | circular | y = {{ric|New Taipei Metro|y|link={{{link|}}}}} | shenkeng | s = {{ric|New Taipei Metro|s|link={{{link|}}}}} | sanying | lb = {{ric|New Taipei Metro|lb|link={{{link|}}}}} | #default = {{ric|New Taipei Metro|{{{2|}}}|link={{{link|}}}}} }} | taoyuan ={{#switch: {{lc: {{{2}}} }} | metro = {{ric|Taoyuan Metro|link={{{link|}}}|alt={{{alt|}}}}} | airport | airportmrt = {{ric|Taoyuan Metro|a|link={{{link|}}}}} | g = {{ric|Taoyuan Metro|g|link={{{link|}}}}} | #default ={{ric|Taoyuan Metro|{{{2|}}}|link={{{link|}}}}} }} | taichung ={{#switch: {{lc: {{{2}}} }} | b ={{RouteBox|B|{{{link|Blue Line (Taichung Metro)}}}|#{{rail color|Taichung Metro|b}}}} | g ={{ric|Taichung Metro|g|link={{{link|}}}}} | o ={{RouteBox|O|{{{link|Orange Line (Taichung Metro)}}}|#{{rail color|Taichung Metro|o}}|#000}} | r ={{RouteBox|R|{{{link|Red Line (Taichung)}}}|#{{rail color|Taichung Metro|r}}}} | #default ={{RouteBox|{{{2}}}|{{{2}}} Line (Taichung Metro)|#{{rail color|Taichung Metro|{{{2}}}}}}} }} | kaohsiung ={{#switch: {{lc: {{{2}}} }} | metro | kmrt ={{ric|Kaohsiung Metro|link={{{link|Kaohsiung Metro}}}|alt={{{alt|Kaohsiung Metro}}}}} | c | circular ={{ric|Kaohsiung Metro|C|link={{{link|}}}}} | o | orange ={{ric|Kaohsiung Metro|O|link={{{link|}}}}} | r | red ={{ric|Kaohsiung Metro|R|link={{{link|}}}}} | y | yellow ={{ric|Kaohsiung Metro|Y|link={{{link|}}}}} | #default ={{ric|Kaohsiung Metro|{{{2|}}}|size={{{size|}}}|link={{{link|}}}|alt={{{alt|}}}}} }} | tw ={{#switch: {{lc: {{{2}}} }} | tra | rail =[[File:Taiwan Railways Administration Logo plain.svg|{{{size|18x18}}}px|link={{{link|Taiwan Railways Administration}}}|alt={{{alt|{{{link|Taiwan Railways Administration}}}}}}]] | thsr =[[File:Taiwan High Speed Rail Logo(Log Only).svg|{{{size|18x18}}}px|link={{{link|Taiwan High Speed Rail}}}|alt={{{alt|{{{link|Taiwan High Speed Rail}}}}}}]] | airport =[[File:Taoyuan International Airport MRT Logo(Logo Only).svg|{{{size|18x18}}}px|link={{{link|Taoyuan International Airport MRT}}}|alt={{{alt|{{{link|Taoyuan International Airport MRT}}}}}}]] | cbrt =[[File:Chiayi Bus Rapid Transit Logo(Logo Only).svg|{{{size|18x18}}}px|link={{{link|Chiayi Bus Rapid Transit}}}|alt={{{alt|{{{link|Chiayi Bus Rapid Transit}}}}}}]] | danhai =[[File:New Taipei Metro Line V.png|{{{size|18x18}}}px|link={{{link|Danhai light rail}}}|alt={{{alt|{{{link|Danhai light rail}}}}}}]] | gondola =[[File:Maokong Gondola Logo(Logo Only).svg|{{{size|18x18}}}px|link={{{link|Maokong Gondola}}}|alt={{{alt|{{{link|Maokong Gondola}}}}}}]] | kmrt =[[File:Kaohsiung Mass Rapid Transit Logo(Logo Only).svg|{{{size|18x18}}}px|link={{{link|Kaohsiung Mass Rapid Transit}}}|alt={{{alt|{{{link|Kaohsiung Metro}}}}}}]] | trts =[[File:Taipei Metro Logo(Logo Only).svg|{{{size|18x18}}}px|link={{{link|Taipei Metro}}}|alt={{{alt|{{{link|Taipei Metro}}}}}}]] | tym =[[File:Taoyuan Metro logo plain.svg|{{{size|18x18}}}px|link={{{link|Taoyuan Metro}}}|alt={{{alt|{{{link|Taoyuan Metro}}}}}}]] }}
+
| taipei ={{#switch: {{lc: {{{2}}} }} | metro = {{ric|Taipei Metro|link={{{link|}}}|alt={{{alt|}}}}} | wenhu | br = {{ric|Taipei Metro|br|link={{{link|}}}}} | tamsui–xinyi | r = {{ric|Taipei Metro|r|link={{{link|}}}}} | songshan–xindian | g = {{ric|Taipei Metro|g|link={{{link|}}}}} | zhonghe–xinlu | o = {{ric|Taipei Metro|o|link={{{link|}}}}} | bannan | bl = {{ric|Taipei Metro|bl|link={{{link|}}}}} | maokong | m = {{ric|Taipei Metro|m|link={{{link|}}}}} | xinbeitou = {{ric|Taipei Metro|xinbeitou|link={{{link|}}}}} | xiaobitan = {{ric|Taipei Metro|xiaobitan|link={{{link|}}}}} | wanda–zhonghe–shulin | lg = {{ric|Taipei Metro|lg|link={{{link|}}}}} | minsheng–xizhi | sb = {{ric|Taipei Metro|sb|link={{{link|}}}}} | #default = {{ric|Taipei Metro|{{{2|}}}|link={{{link|}}}}} }} | new taipei ={{#switch: {{lc: {{{2}}} }} | metro = {{ric|New Taipei Metro|link={{{link|}}}|alt={{{alt|}}}}} | danhai | v = {{ric|New Taipei Metro|v|link={{{link|}}}}} | ankeng | k = {{ric|New Taipei Metro|k|link={{{link|}}}}} | circular | y = {{ric|New Taipei Metro|y|link={{{link|}}}}} | sanying | lb = {{ric|New Taipei Metro|lb|link={{{link|}}}}} | shenkeng | s = {{ric|New Taipei Metro|s|link={{{link|}}}}} | wugu–taishan | f = {{ric|New Taipei Metro|f|link={{{link|}}}}} | #default = {{ric|New Taipei Metro|{{{2|}}}|link={{{link|}}}}} }} | taoyuan ={{#switch: {{lc: {{{2}}} }} | metro = {{ric|Taoyuan Metro|link={{{link|}}}|alt={{{alt|}}}}} | airport | a = {{ric|Taoyuan Metro|a|link={{{link|}}}}} | blue | b = {{ric|Taoyuan Metro|b|link={{{link|}}}}} | green | g = {{ric|Taoyuan Metro|g|link={{{link|}}}}} | orange | o = {{ric|Taoyuan Metro|o|link={{{link|}}}}} | brown | br = {{ric|Taoyuan Metro|b|link={{{link|}}}}} | #default ={{ric|Taoyuan Metro|{{{2|}}}|link={{{link|}}}}} }} | taichung ={{#switch: {{lc: {{{2}}} }} | metro = {{ric|Taichung Metro|link={{{link|}}}|alt={{{alt|}}}}} | green | g ={{ric|Taichung Metro|g|link={{{link|}}}}} | blue | b ={{ric|Taichung Metro|b|link={{{link|}}}}} | orange | o ={{ric|Taichung Metro|o|link={{{link|}}}}} | red | r ={{ric|Taichung Metro|r|link={{{link|}}}}} | purple | p ={{ric|Taichung Metro|r|link={{{link|}}}}} | #default ={{ric|Taichung Metro|{{{2|}}}|link={{{link|}}}}} }} | kaohsiung ={{#switch: {{lc: {{{2}}} }} | metro = {{ric|Kaohsiung Metro|link={{{link|}}}|alt={{{alt|}}}}} | red | r ={{ric|Kaohsiung Metro|r|link={{{link|}}}}} | orange | o ={{ric|Kaohsiung Metro|o|link={{{link|}}}}} | circular | c ={{ric|Kaohsiung Metro|c|link={{{link|}}}}} | yellow | y ={{ric|Kaohsiung Metro|y|link={{{link|}}}}} | #default ={{ric|Kaohsiung Metro|{{{2|}}}|link={{{link|}}}}} }} | tw ={{#switch: {{lc: {{{2}}} }} | tra | rail =[[File:Taiwan Railways Administration Logo plain.svg|{{{size|18x18}}}px|link={{{link|Taiwan Railways Administration}}}|alt={{{alt|{{{link|Taiwan Railways Administration}}}}}}]] | thsr =[[File:Taiwan High Speed Rail Logo(Log Only).svg|{{{size|18x18}}}px|link={{{link|Taiwan High Speed Rail}}}|alt={{{alt|{{{link|Taiwan High Speed Rail}}}}}}]] | cbrt =[[File:Chiayi Bus Rapid Transit Logo(Logo Only).svg|{{{size|18x18}}}px|link={{{link|Chiayi Bus Rapid Transit}}}|alt={{{alt|{{{link|Chiayi Bus Rapid Transit}}}}}}]] }}

OrdinaryScarlett (talk) 04:22, 4 September 2024 (UTC)[reply]

 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. P.I. Ellsworth , ed. put'er there 20:26, 6 September 2024 (UTC)[reply]
@Paine Ellsworth:  Done OrdinaryScarlett (talk) 23:00, 6 September 2024 (UTC)[reply]
The only test case I see is Taipei, and if it's any indication, something is not quite right. P.I. Ellsworth , ed. put'er there 00:00, 7 September 2024 (UTC)[reply]
@Paine Ellsworth: Ah, my apologies. Hopefully the most recent revision has fixed all of the errors? I've gone ahead and made a testcase and I've observed a few things:
Thank you! OrdinaryScarlett (talk) 10:03, 7 September 2024 (UTC)[reply]
Thank you, editor OrdinaryScarlett, that's good work so far! I don't want to add the obviously finished ones to this template piecemeal due to the high number of transclusions of this template, so this will take a little more time, as I also have some offline homework to do. Please be patient. P.I. Ellsworth , ed. put'er there 18:43, 7 September 2024 (UTC)[reply]
No worries, I understand! Feel free to omit anything if it's for the best, as well as take your time. It's not an urgent request by any means, moreso just a potential wishlist. Thanks for your assistance! OrdinaryScarlett (talk) 22:09, 7 September 2024 (UTC)[reply]
Okay, editor OrdinaryScarlett, I've removed all but the Metro and Green lines from the Taichung code, and the Taichung Metro now uses File:New Taipei Metro logo new logo.svg. I've also added File:Maokong Gondola Logo(Logo Only).svg to the Maokong Gondola listing. I made two of the logos a little larger, Taiwan's "thsr" and "cbrt", which are really not good logos to work with. Please go ahead and check the [test cases], and make certain that it all looks good to you. If it does, then let me know and I'll send it to the live template. P.I. Ellsworth , ed. put'er there 04:59, 8 September 2024 (UTC)[reply]
I just noticed that File:New Taipei Metro logo new logo.svg is believed to be non-free in Taiwan, so please pick a logo that is free-use in the U.S. and in Taiwan if you can. If you can't, I've given the Taichung Metro a blue background with white letters. Hope that's okay. P.I. Ellsworth , ed. put'er there 05:19, 8 September 2024 (UTC)[reply]
No worries! All changes are fine by me. Thanks again! OrdinaryScarlett (talk) 08:28, 8 September 2024 (UTC)[reply]
It's a pleasure, and  completed. P.I. Ellsworth , ed. put'er there 08:54, 8 September 2024 (UTC)[reply]

Edit Request on Sept 13 2024

[edit]

Hello,

Can the GRTC be added as a listed transit operator? This (wikipedia link) could be the image.

I would do it myself but this area of Wikipedia is not my strong suit.

Thanks so much!

JuxtaposedJacob (talk) 02:46, 14 September 2024 (UTC)[reply]

Edit request 16 September 2024

[edit]

Description of suggested change: Hi! A bit of a minor change, but I believe that separating the parameter for the city of Chiayi from the parameters for Taiwan on a national level makes far more logical sense and is much more intuitive and cleaner code wise. Thank you!

Proposed changes

Diff:

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

| s | suburban =[[File:Indian Railways Suburban Railway Logo.svg|{{{size|20}}}px|link={{{link|Chennai Suburban Railway}}}]] | m | metro =[[File:Chennai Metro logo.svg|{{{size|20}}}px|link={{{link|Chennai Metro}}}]] | blue ={{RouteBox|Blue Line|Blue Line (Chennai Metro)|#{{rail color|Chennai Metro|Blue}} }} | green ={{RouteBox|Green Line|Green Line (Chennai Metro)|#{{rail color|Chennai Metro|Green}} }} | bus =[[File:BSicon BUS.svg|{{{size|20}}}px|link={{{link|Transport in Chennai#Buses}}}]] | maa | airport =[[File:BSicon FLUG.svg|{{{size|20}}}px|link={{{link|Chennai International Airport}}}]] }}

| chicago ={{#switch: {{lc: {{{2}}} }} <!-- commuter rail --> | bnsf =[[BNSF Line|<span style="color: #fff; background-color: #{{rail color|Metra|BNSF}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em">BNSF</span>]] | hc =[[Heritage Corridor|<span style="color: #fff; background-color: #{{rail color|Metra|hc}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">HC</span>]] | mdn =[[Milwaukee District North Line|<span style="color: #fff; background-color: #{{rail color|Metra|mdn}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">MD-N</span>]] | mdw =[[Milwaukee District West Line|<span style="color: #25327b; background-color: #{{rail color|Metra|mdw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">MD-W</span>]] | me =[[Metra Electric District|<span style="color: #fff; background-color: #{{rail color|Metra|me}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">ME</span>]] | metra =[[File:Metramlogo.svg|{{{size|15}}}px|link={{{link|Metra}}}|alt=Metra]] | ncs =[[North Central Service|<span style="color: #fff; background-color: #{{rail color|Metra|nc}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">NCS</span>]] | ri =[[Rock Island District|<span style="color: #fff; background-color: #{{rail color|Metra|ri}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">RI</span>]] | sws =[[SouthWest Service|<span style="color: #fff; background-color: #{{rail color|Metra|sw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">SWS</span>]] | upn =[[Union Pacific North Line|<span style="color: #fff; background-color: #{{rail color|Metra|upn}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">UP-N</span>]] | upnw =[[Union Pacific Northwest Line|<span style="color: #0055a5; background-color: #{{rail color|Metra|upnw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">UP-NW</span>]] | upw =[[Union Pacific West Line|<span style="color: #0055a5; background-color: #{{rail color|Metra|upw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">UP-W</span>]] <!-- rapid transit --> | l =[[File:Chicago Transit Authority Logo.svg|{{{size|14}}}px|link={{{link|Chicago "L"}}}]] | cta =[[File:Chicago Transit Authority Logo.svg|{{{size|14}}}px|link={{{link|Chicago Transit Authority}}}]] | pink = [[Pink Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Pink}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Pink</span>]] | red = [[Red Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Red}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Red</span>]] | orange = [[Orange Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Orange}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Orange</span>]] | yellow = [[Yellow Line (CTA)|<span style="color: #000; background-color: #{{rail color|CTA|Yellow}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Yellow</span>]] | green = [[Green Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Green}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Green</span>]] | blue = [[Blue Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Blue}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Blue</span>]] | purple = [[Purple Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Purple}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Purple</span>]] | brown = [[Brown Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Brown}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Brown</span>]] | ats =[[Airport Transit System|<span style="color:#fff; background-color: #ed1c23; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">ATS</span>]] }} | tw ={{#switch: {{lc: {{{2}}} }} | tra | rail =[[File:Taiwan Railways Administration Logo plain.svg|{{{size|18x18}}}px|link={{{link|Taiwan Railways Administration}}}|alt={{{alt|{{{link|Taiwan Railways Administration}}}}}}]] | thsr =[[File:Taiwan High Speed Rail Logo(Log Only).svg|{{{size|23x23}}}px|link={{{link|Taiwan High Speed Rail}}}|alt={{{alt|{{{link|Taiwan High Speed Rail}}}}}}]] | cbrt =[[File:Chiayi Bus Rapid Transit Logo(Logo Only).svg|{{{size|30x30}}}px|link={{{link|Chiayi Bus Rapid Transit}}}|alt={{{alt|{{{link|Chiayi Bus Rapid Transit}}}}}}]] }}
+
| chennai ={{#switch: {{lc: {{{2}}} }}

| s | suburban =[[File:Indian Railways Suburban Railway Logo.svg|{{{size|20}}}px|link={{{link|Chennai Suburban Railway}}}]] | m | metro =[[File:Chennai Metro logo.svg|{{{size|20}}}px|link={{{link|Chennai Metro}}}]] | blue ={{RouteBox|Blue Line|Blue Line (Chennai Metro)|#{{rail color|Chennai Metro|Blue}} }} | green ={{RouteBox|Green Line|Green Line (Chennai Metro)|#{{rail color|Chennai Metro|Green}} }} | bus =[[File:BSicon BUS.svg|{{{size|20}}}px|link={{{link|Transport in Chennai#Buses}}}]] | maa | airport =[[File:BSicon FLUG.svg|{{{size|20}}}px|link={{{link|Chennai International Airport}}}]] }}

| chiayi =[[File:Chiayi Bus Rapid Transit Logo(Logo Only).svg|{{{size|30x30}}}px|link={{{link|Chiayi Bus Rapid Transit}}}|alt={{{alt|{{{link|Chiayi Bus Rapid Transit}}}}}}]] | chicago ={{#switch: {{lc: {{{2}}} }} <!-- commuter rail --> | bnsf =[[BNSF Line|<span style="color: #fff; background-color: #{{rail color|Metra|BNSF}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em">BNSF</span>]] | hc =[[Heritage Corridor|<span style="color: #fff; background-color: #{{rail color|Metra|hc}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">HC</span>]] | mdn =[[Milwaukee District North Line|<span style="color: #fff; background-color: #{{rail color|Metra|mdn}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">MD-N</span>]] | mdw =[[Milwaukee District West Line|<span style="color: #25327b; background-color: #{{rail color|Metra|mdw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">MD-W</span>]] | me =[[Metra Electric District|<span style="color: #fff; background-color: #{{rail color|Metra|me}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">ME</span>]] | metra =[[File:Metramlogo.svg|{{{size|15}}}px|link={{{link|Metra}}}|alt=Metra]] | ncs =[[North Central Service|<span style="color: #fff; background-color: #{{rail color|Metra|nc}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">NCS</span>]] | ri =[[Rock Island District|<span style="color: #fff; background-color: #{{rail color|Metra|ri}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">RI</span>]] | sws =[[SouthWest Service|<span style="color: #fff; background-color: #{{rail color|Metra|sw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">SWS</span>]] | upn =[[Union Pacific North Line|<span style="color: #fff; background-color: #{{rail color|Metra|upn}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">UP-N</span>]] | upnw =[[Union Pacific Northwest Line|<span style="color: #0055a5; background-color: #{{rail color|Metra|upnw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">UP-NW</span>]] | upw =[[Union Pacific West Line|<span style="color: #0055a5; background-color: #{{rail color|Metra|upw}}; font-weight: bold; padding: 0 3px 0 3px; font-size:0.8em;">UP-W</span>]] <!-- rapid transit --> | l =[[File:Chicago Transit Authority Logo.svg|{{{size|14}}}px|link={{{link|Chicago "L"}}}]] | cta =[[File:Chicago Transit Authority Logo.svg|{{{size|14}}}px|link={{{link|Chicago Transit Authority}}}]] | pink = [[Pink Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Pink}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Pink</span>]] | red = [[Red Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Red}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Red</span>]] | orange = [[Orange Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Orange}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Orange</span>]] | yellow = [[Yellow Line (CTA)|<span style="color: #000; background-color: #{{rail color|CTA|Yellow}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Yellow</span>]] | green = [[Green Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Green}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Green</span>]] | blue = [[Blue Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Blue}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Blue</span>]] | purple = [[Purple Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Purple}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Purple</span>]] | brown = [[Brown Line (CTA)|<span style="color: #fff; background-color: #{{rail color|CTA|Brown}}; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">Brown</span>]] | ats =[[Airport Transit System|<span style="color:#fff; background-color: #ed1c23; border-radius: 2px; font-weight: bold; padding: 0 3px 0 3px; font-size:0.9em">ATS</span>]] }} | tw ={{#switch: {{lc: {{{2}}} }} | tra | rail =[[File:Taiwan Railways Administration Logo plain.svg|{{{size|18x18}}}px|link={{{link|Taiwan Railways Administration}}}|alt={{{alt|{{{link|Taiwan Railways Administration}}}}}}]] | thsr =[[File:Taiwan High Speed Rail Logo(Log Only).svg|{{{size|23x23}}}px|link={{{link|Taiwan High Speed Rail}}}|alt={{{alt|{{{link|Taiwan High Speed Rail}}}}}}]] }}

OrdinaryScarlett (talk) 08:43, 16 September 2024 (UTC)[reply]

 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. – Jonesey95 (talk) 10:34, 17 September 2024 (UTC)[reply]
I'll go further than that. @OrdinaryScarlett:, as I have mentioned several times on this page, please do not use code blobs to request edits. They are difficult to follow, so we do not properly understand the requested change; and they are even more difficult to test. Therefore,  Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. --Redrose64 🌹 (talk) 19:53, 17 September 2024 (UTC)[reply]
@Redrose64: My apologies. Going forward I'll avoid the code blobs. I did also forget to preemptively edit the sandbox this time, but I've just done so here. OrdinaryScarlett (talk) 20:00, 17 September 2024 (UTC)[reply]

Edit request 19 September 2024

[edit]

Description of suggested change: I'd like to have three icons added: three to the US, and one to Taiwan.

US changes

[edit]

Add Special Event Line (San Diego Trolley) (for old and new versions).

Ideas:

  • {{rint|sandiego|Special Event}} (current logo is File:Logo_Special_Event_Line_(San_Diego_Trolley).svg)
  • {{rint|sandiego|Special Event pre-2012}} (former logo is File:San Diego_Trolley_Special_Event_Line.svg)
 Not done. Need more specific consensus on how to handle this. Questions that come to my mind: First, what other alias should be used? If one enters {{rint|sandiego|s}}, it will still display Silver Line. Is that still OK? What about also using {{rint|sandiego|red}}, as the line was known as the red line prior to 2012? In any case, it would require a complete rewrite of the line rendering showtext: it is using a #invoke:ustring|sub to only compare the first letter, and will display the Silver Line link regardless if you use {{rint|sandiego|s|showtext="y"}}, {{rint|sandiego|silver|showtext="y"}}, {{rint|sandiego|Special Event|showtext="y"}} or {{rint|sandiego|[any word that starts with "s"]|showtext="y"}}.
Also, should both versions link to their specific relevant section ((Special Event Line (San Diego Trolley)#Current route (2022-present) and Special Event Line (San Diego Trolley)#2005–2012 route. Or should the most recent version link to the top/lead section of the article? Zzyzx11 (talk) 08:15, 2 October 2024 (UTC)[reply]

Taiwan changes

[edit]

Change Taiwan Railway {{rint|tw|rail}} 's link from Taiwan Railways Administration to Taiwan Railway. SleepTrain456 (talk) 22:31, 19 September 2024 (UTC)[reply]

 Done Zzyzx11 (talk) 08:15, 2 October 2024 (UTC)[reply]

Template-protected edit request on 22 September 2024

[edit]

commuter

change File:Stockholm commuter rail symbol.svg to File:Stockholm commuter rail symbol 2024.svg Officialworks (talk) 19:19, 22 September 2024 (UTC)[reply]

 Done Zzyzx11 (talk) 08:15, 2 October 2024 (UTC)[reply]