This 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.TrainsWikipedia:WikiProject TrainsTemplate:WikiProject Trainsrail transport articles
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Description of suggested change: Hi! Please change the link "Sacramento RT Light Rail" to "SacRT light rail" to bypass a redirect recently created from a page move. Thank you!
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Description of suggested change: Hi! Please update the template to reflect the transferring of the Circular line from the Taipei Metro to the New Taipei Metro. Thank you!
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Description of suggested change: Hi! Please shorten these specific instances of "(Dallas Area Rapid Transit)" to "(DART)" to remove these redirects, as well as follow the precedence of line articles using abbreviated forms of their public transit operators' names. Thank you! OrdinaryScarlett (talk) 05:29, 14 August 2024 (UTC)[reply]
Diff:
−
| dart ={{#switch: {{lc: {{{2}}} }}
| blue | green | orange |red ={{#ifeq:{{{3|}}}|1|
<span style="display:inline-block; position:relative; padding:0 0.5em; background:#{{rail color|DART|{{{2}}}}}; font-weight:bold; font-size:80%;">[[{{{Title case|{{{2}}}}}} Line (DallasAreaRapidTransit)|{{white|{{Title case|{{{2}}}}} {{#if:{{{line|}}}|Line|}}}}]]</span>
|[[{{Title case|{{{2}}}}} Line (DallasAreaRapidTransit)|<span style="display:inline-block; position:relative; vertical-align:text-top; width:0.8em; height:0.8em; background:#{{rail color|DART|{{{2}}}}};"></span>]]{{#ifeq:{{{3|}}}|0|| [[{{Title case|{{{2}}}}} Line (DallasAreaRapidTransit)|{{Title case|{{{2}}}}} {{#if:{{{line|}}}|Line|}}]]}}}}
| lightrail | lr ={{#switch: {{{3|}}}
| blue =[[File:DART Blue Line bullet.svg|DART Light Rail system|x18px|link={{{link|Blue Line (DallasAreaRapidTransit)}}}|alt={{{alt|DART Light Rail blue}}}]] {{#if:{{{showtext|}}}|[[Blue Line (DallasAreaRapidTransit)|Blue Line]]}}
| red =[[File:DART Red Line bullet.svg|DART Light Rail system|x18px|link={{{link|Red Line (DallasAreaRapidTransit)}}}|alt={{{alt|DART Light Rail red}}}]] {{#if:{{{showtext|}}}|[[Red Line (DallasAreaRapidTransit)|Red Line]]}}
| green =[[File:DART Green Line bullet.svg|DART Light Rail system|x18px|link={{{link|Green Line (DallasAreaRapidTransit)}}}|alt={{{alt|DART Light Rail green}}}]] {{#if:{{{showtext|}}}|[[Green Line (DallasAreaRapidTransit)|Green Line]]}}
| orange =[[File:DART Orange Line bullet.svg|DART Light Rail system|x18px|link={{{link|Orange Line (DallasAreaRapidTransit)}}}|alt={{{alt|DART Light Rail orange}}}]] {{#if:{{{showtext|}}}|[[Orange Line (DallasAreaRapidTransit)|Orange Line]]}}
| #default =[[File:Dallas Area Rapid Transit logo.svg|{{{size|13}}}px|link={{{link|Dallas Area Rapid Transit}}}|alt={{{alt|{{{link|Dallas Area Rapid Transit}}}}}}]]
}}
| streetcar =[[File:Dallas Streetcar Icon.png|Dallas Streetcar|x20px|link={{{link|Dallas Streetcar}}}|alt={{{alt|{{{link|Dallas Streetcar}}}}}}]]
| silver =[[File:DART Silver Line.svg|Dallas Silver Line|x11px|link={{{link|Silver Line (DallasAreaRapidTransit)}}}|alt={{{alt|{{{link|Silver Line (DallasAreaRapidTransit}}}}}}]] {{#if:{{{showtext|}}}|[[Silver Line (DallasAreaRapidTransit)|Silver Line]]}}
| #default =[[File:Dallas Area Rapid Transit logo.svg|{{{size|13}}}px|link={{{link|Dallas Area Rapid Transit}}}|alt={{{alt|{{{link|Dallas Area Rapid Transit}}}}}}]]
}}
+
| dart ={{#switch: {{lc: {{{2}}} }}
| blue | green | orange |red ={{#ifeq:{{{3|}}}|1|
<span style="display:inline-block; position:relative; padding:0 0.5em; background:#{{rail color|DART|{{{2}}}}}; font-weight:bold; font-size:80%;">[[{{{Title case|{{{2}}}}}} Line (DART)|{{white|{{Title case|{{{2}}}}} {{#if:{{{line|}}}|Line|}}}}]]</span>
|[[{{Title case|{{{2}}}}} Line (DART)|<span style="display:inline-block; position:relative; vertical-align:text-top; width:0.8em; height:0.8em; background:#{{rail color|DART|{{{2}}}}};"></span>]]{{#ifeq:{{{3|}}}|0|| [[{{Title case|{{{2}}}}} Line (DART)|{{Title case|{{{2}}}}} {{#if:{{{line|}}}|Line|}}]]}}}}
| lightrail | lr ={{#switch: {{{3|}}}
| blue =[[File:DART Blue Line bullet.svg|DART Light Rail system|x18px|link={{{link|Blue Line (DART)}}}|alt={{{alt|DART Light Rail blue}}}]] {{#if:{{{showtext|}}}|[[Blue Line (DART)|Blue Line]]}}
| red =[[File:DART Red Line bullet.svg|DART Light Rail system|x18px|link={{{link|Red Line (DART)}}}|alt={{{alt|DART Light Rail red}}}]] {{#if:{{{showtext|}}}|[[Red Line (DART)|Red Line]]}}
| green =[[File:DART Green Line bullet.svg|DART Light Rail system|x18px|link={{{link|Green Line (DART)}}}|alt={{{alt|DART Light Rail green}}}]] {{#if:{{{showtext|}}}|[[Green Line (DART)|Green Line]]}}
| orange =[[File:DART Orange Line bullet.svg|DART Light Rail system|x18px|link={{{link|Orange Line (DART)}}}|alt={{{alt|DART Light Rail orange}}}]] {{#if:{{{showtext|}}}|[[Orange Line (DART)|Orange Line]]}}
| #default =[[File:Dallas Area Rapid Transit logo.svg|{{{size|13}}}px|link={{{link|Dallas Area Rapid Transit}}}|alt={{{alt|{{{link|Dallas Area Rapid Transit}}}}}}]]
}}
| streetcar =[[File:Dallas Streetcar Icon.png|Dallas Streetcar|x20px|link={{{link|Dallas Streetcar}}}|alt={{{alt|{{{link|Dallas Streetcar}}}}}}]]
| silver =[[File:DART Silver Line.svg|Dallas Silver Line|x11px|link={{{link|Silver Line (DART)}}}|alt={{{alt|{{{link|Silver Line (DART)}}}}}}]] {{#if:{{{showtext|}}}|[[Silver Line (DART)|Silver Line]]}}
| #default =[[File:Dallas Area Rapid Transit logo.svg|{{{size|13}}}px|link={{{link|Dallas Area Rapid Transit}}}|alt={{{alt|{{{link|Dallas Area Rapid Transit}}}}}}]]
Already completed. To editor OrdinaryScarlett: draw your attention to the [test cases], where we see that somebody has already taken care of this with specially designed redirects to the newly titled articles. It all works just as it should without having to redesign the Qingdao Metro section of this template. Thank you for your contributions!P.I. Ellsworth , ed.put'er there20:45, 2 September 2024 (UTC)[reply]
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
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|TaoyuanMetro|a|link={{{link|}}}}}
| maokong | maokonggondola = {{RouteBox|MaokongGondola|MaokongGondola|#{{railcolor|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|BlueLine(TaichungMetro)}}}|#{{railcolor|TaichungMetro|b}}}}| g ={{ric|Taichung Metro|g|link={{{link|}}}}}
| o={{RouteBox|O|{{{link|OrangeLine(TaichungMetro)}}}|#{{railcolor|TaichungMetro|o}}|#000}}
| r={{RouteBox|R|{{{link|RedLine(Taichung)}}}|#{{railcolor|TaichungMetro|r}}}}
| #default={{RouteBox|{{{2}}}|{{{2}}}Line(TaichungMetro)|#{{railcolor|TaichungMetro|{{{2}}}}}}}
}}
| kaohsiung ={{#switch: {{lc: {{{2}}} }}
| metro |kmrt={{ric|KaohsiungMetro|link={{{link|KaohsiungMetro}}}|alt={{{alt|KaohsiungMetro}}}}}
| 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:TaoyuanInternationalAirportMRTLogo(LogoOnly).svg|{{{size|18x18}}}px|link={{{link|TaoyuanInternationalAirportMRT}}}|alt={{{alt|{{{link|TaoyuanInternationalAirportMRT}}}}}}]]
| 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:NewTaipeiMetroLineV.png|{{{size|18x18}}}px|link={{{link|Danhailightrail}}}|alt={{{alt|{{{link|Danhailightrail}}}}}}]]|gondola=[[File:MaokongGondolaLogo(LogoOnly).svg|{{{size|18x18}}}px|link={{{link|MaokongGondola}}}|alt={{{alt|{{{link|MaokongGondola}}}}}}]]|kmrt=[[File:KaohsiungMassRapidTransitLogo(LogoOnly).svg|{{{size|18x18}}}px|link={{{link|KaohsiungMassRapidTransit}}}|alt={{{alt|{{{link|KaohsiungMetro}}}}}}]]|trts=[[File:TaipeiMetroLogo(LogoOnly).svg|{{{size|18x18}}}px|link={{{link|TaipeiMetro}}}|alt={{{alt|{{{link|TaipeiMetro}}}}}}]]|tym=[[File:TaoyuanMetrologoplain.svg|{{{size|18x18}}}px|link={{{link|TaoyuanMetro}}}|alt={{{alt|{{{link|TaoyuanMetro}}}}}}]]
}}
+
| 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}}}}}}]]
}}
@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, 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 there18: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]
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
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}}}]]
}}
| 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}}}]]
}}
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]
{{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"}}.