Template talk:Infobox rail line
Template:Infobox rail line is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Infobox rail line template. |
|
Archives: 1, 2Auto-archiving period: 180 days |
This template was nominated for deletion. Please review the prior discussions if you are considering re-nomination:
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Template-protected edit request on 17 February 2023
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- Done — Martin (MSGJ · talk) 16:16, 17 February 2023 (UTC)
How do I change the color of the heading?
editThe 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)
- @Footy2000: What coloured lines are these? Always give an example of where you see a problem. --Redrose64 🌹 (talk) 11:43, 20 February 2023 (UTC)
- @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)
- If you open up Orange Line (Namma Metro) for editing, you will see there is a line The
| color = {{rcr|Namma Metro|Orange}}
|color=
parameter is documented, as is the{{rcr}}
template. --Redrose64 🌹 (talk) 11:54, 20 February 2023 (UTC)- 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)
- If you open up Orange Line (Namma Metro) for editing, you will see there is a line
- @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)
System examples
editA 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)
- 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)
Dark mode problems
editTemplate:Greenbush Line is displaying OK for me in dark mode, but in the context of 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)
- I managed to find the problem and fix it with an edit to Template:Routemap/styles.css. -- Beland (talk) 18:30, 9 September 2024 (UTC)
- Grf, that caused other problems. Reverted and following up on Template talk:Routemap#Dark mode problems. -- Beland (talk) 18:51, 9 September 2024 (UTC)