Template talk:Infobox rail line

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconInfoboxes
WikiProject iconThis template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
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.

Native name lang does not show[edit]

X
Overview
Other name(s)Y
Native nameZ

Peter Horn User talk 18:19, 5 December 2022 (UTC)[reply]

It is not supposed to show. It is rendered as a span tag that wraps around the native name: <span class="nickname" lang="es">Z</span>. See Template:Lang#Rationale for more information. – Jonesey95 (talk) 21:01, 5 December 2022 (UTC)[reply]

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]