Jump to content

Template talk:Infobox rail line

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

Template-protected edit request on 17 February 2023

[edit]

Please change the link to Railway electrification system, to link to Railway electrification, as the article has been moved via WP:RMT --- Tbf69 P • T 15:15, 17 February 2023 (UTC)[reply]

 Done — Martin (MSGJ · talk) 16:16, 17 February 2023 (UTC)[reply]

How do I change the color of the heading?

[edit]

The heading in the infobox is sandwiched between two colored lines. How to change the color to a custom one? Footy2000 (talk) 10:28, 20 February 2023 (UTC)[reply]

@Footy2000: What coloured lines are these? Always give an example of where you see a problem. --Redrose64 🌹 (talk) 11:43, 20 February 2023 (UTC)[reply]
@Redrose64: Check out the Alpha Line which is used in this very page's Example section. Or you can check out Orange Line (Namma Metro) where the infobox has its heading sandwiched between two orange lines. Footy2000 (talk) 11:47, 20 February 2023 (UTC)[reply]
If you open up Orange Line (Namma Metro) for editing, you will see there is a line
| color                           = {{rcr|Namma Metro|Orange}}
The |color= parameter is documented, as is the {{rcr}} template. --Redrose64 🌹 (talk) 11:54, 20 February 2023 (UTC)[reply]
The color of the bars in that article is specified in the "Orange" section of Module:Adjacent stations/Namma Metro. – Jonesey95 (talk) 19:31, 20 February 2023 (UTC)[reply]

System examples

[edit]

A bit confused why National Rail is given as an example for a "system" here? Isn't it just a generic ticketing name for most services on the GB rail system? Was confused what it meant by "system", and that as the example didn't help, would Merseyrail, Réseau Express Régional or Bay Area Rapid Transit be better examples than National Rail? DankJae 22:04, 19 February 2024 (UTC)[reply]

I agree, this is not the best example here. Most articles of UK railway lines have "National Rail" named as the system. I think that is why I added the example back then. Feel free to change it. --PhiH (talk) 15:48, 20 February 2024 (UTC)[reply]

Dark mode problems

[edit]

Template:Greenbush Line is displaying OK for me in dark mode, but in the context of Template:Greenbush Line is displaying] on Greenbush Line, there is some nearly impossible-to-read text that is nearly white-on-white. The CSS color handling in this template has gotten rather complicated and it's used on a lot of pages, so I'm wondering if there's an expert who would know better than me how to fix it? If it's helpful, there are recommendations at mw:Recommendations for night mode compatibility on Wikimedia wikis. It might be as simple as just not setting a background color. -- Beland (talk) 05:29, 5 September 2024 (UTC)[reply]