Template talk:Rail line

message: Is this template documented anywhere? --Concrete Cowboy 14:40, 27 May 2005 (UTC)
replies: text: Not that I can find. I am particularly wondering about the coloured bars - I think they're being used to distinguish railway companies, but I haven't found a key. --ColinFine 17:25, 7 January 2006 (UTC)
thread_title: Documentation

message: As far as I can tell, from existing articles:
* █ #FF0000 – First ScotRail and Virgin Trains
* █ #FFFF00 – Merseyrail
* █ #8B00FF – Northern Rail
* █ #800000 – Wessex Trains
* █ #010385 – First Great Western, GNER and First TransPennine Express
* █ #30C5B8 – Arriva Trains Wales and Heathrow Express
* █ #00BB00 – Central Trains and First Great Western Link
* █ #FF9999 – Heathrow Connect
* █ #008080 – Midland Mainline
* █ #2E8B57 – Hull Trains
* █ #C80051 – CrossCountry (Kevin Steinhardt 00:20, 28 October 2007 (UTC)
replies: text: Some time recently, it seems to have been decided to go pink with First ScotRail, primarily to keep with First ScotRail's colours. Some of the big ones have already been changed, here, for example, on the 28th April. Some work has already been done on this, and as I've gone through, I've changed with this move. Can we reach quick concensus that oweing to First ScotRail's new colours, and that Virgin Trains serve some routes that First ScotRail do, we can move to
* █ #FF80C0 - First ScotRail
Cheers. M0RHI | Talk to me 23:45, 28 August 2006 (UTC)
thread_title: Colour-coding for rail operators

message: * █ #66ba5a G&SWR: A light olive green
* █ #496799 Caledonian: 'Caledonian Blue'
* █ #517a6a Joint Caledonian and G&SWR: an aqua colour as a result of mixing the two colours together for G&SWR and Caledonian
* █ #8f691e North British: 'French mustard'
* █ #556920 Joint NBR and Caledonian: A mixture of the colours for NBR and Caledonian
(from WPTIS Talk)
Stewart 18:28, 18 February 2007 (UTC)
thread_title: Colour-coding for Historical Scottish Routes

message: Users of this template may be interested in Template:Rail station, being developed by User:Captain scarlet as a possible alternative or replacement. Warofdreams talk 23:46, 16 March 2006 (UTC)
thread_title: [[Template:Rail station]]

message: I've changed the template so that when "previous" and/or "next" are not defined, Terminus will automatically show up in the respective column. I hope this saves some space in the articles about termini. - Tangotango 18:03, 7 June 2006 (UTC)
thread_title:  Auto-terminus 

message: I've done a load of "research" on colour used by each different TOC and put the results up at Wikipedia talk:WikiProject UK Railways#colours (I'll copy the raw data over here later as an index). I'm asking some pretty key question that affect the use of colours relating to this template, all variants of it (heritage, disused, etc) and well as the "infamous" "s-rail". any comments, thoughts, agreement, disagreement would be welcome - before i do something drastic and upset someone! Pickle 08:52, 13 September 2007 (UTC)
thread_title:  colours - update 

message: Is it possible to have some flexibility in the "next" and "previous" settings, so that you can have more than one station as the next/preivous on the line?  At present it seems that you can only have one, and this is not much use for stations before or after a junction.  If there was some way of putting "Previous Stations: X or Y" that would be great.  If there is already, please correct me and show me how!!  Thank you.  Chrisfow (talk) 00:24, 17 December 2008 (UTC)
thread_title:  "Next" and "Previous" Flexibility 

message: For a long time, I've noticed that if  is used inside route boxes commenced using , some of the borders will appear double-width, because of a differing method in border specification, as seen at Shildon railway station.
In technical terms,  applies the border-collapse: separate; property to the table, and expects the cells in each row to have the bottom cell borders always suppressed, also selectively suppressing the left or right borders, so that only one border is drawn between any two adjacent cells.  does not apply border-collapse: separate;, and does not expect the row templates to specify any border suppression. This means that should a cell have its bottom border set, and the cell directly beneath have it top border set, two adjacent borders are drawn, which has the appearance of a double-width border. Similarly for the right and left borders of cells side by side. Less obviously, but equally visible, this causes the doubling of the width of the outer edges of the table - it gets one border from the table itself, and one from the cell inside.
We might be able to fix this by adding selective border suppression to : I have created a prototype at Template:Rail line/sandbox, and set up some testcases. --Redrose64 (talk) 16:14, 11 November 2012 (UTC)
replies: text: Further:  also applies style="border-top: 0px none; " where  etc. do not. --Redrose64 (talk) 14:08, 15 November 2012 (UTC)
thread_title:  Border widths 

message: There really needs to be a way to collapse all these services. At present, look at the article Haymarket railway station. The services chart takes up way too much space. I'm not sure what to do about this, but I'll leave this here in case anyone cares to do anything about it. RGloucester  — ☎ 17:13, 24 February 2014 (UTC)
replies: text: This came up about a month ago on Talk:Filton Abbey Wood railway station/GA1. . --Redrose64 (talk) 17:27, 24 February 2014 (UTC)
thread_title:  Collapse functionality  

message: Currently, using Template:Rail line in Template:Infobox station doesn't work because some of the formatting is broken.  A couple of minor changes fixes this.  This will allow succession boxes to be placed in infoboxes without needing to create and debug the multiple sub-templates required for Template:S-line.
See User:Antony-22/Rail line and Merced (California High-Speed Rail station) for a test case.  The changes needed are as follows:
* Add style = "vertical-align: middle;" to each cell of Template:Rail start
* Remove style="text-align: center;" from the first line of Template:Rail line
* Add text-align: center; vertical-align: middle; to each of the three table cell style elements in Template:Rail line.
After the changes the template should look like this:
Thanks. Antony–22 (talk⁄contribs) 19:36, 2 November 2015 (UTC)
replies: text: Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES - also, please establish a consensus for this alteration before using the  template. --Redrose64 (talk) 20:11, 2 November 2015 (UTC)
replies: text: No changes will be made to existing infoboxes.  Fixing the formatting gives the option to use this template, which is much easier to use than S-line, in new infoboxes.  Honestly, I thought that a minor fix to prevent a template from displaying incorrectly in some circumstances, and that is transparent to all other uses, would be uncontroversial.  Antony–22 (talk⁄contribs) 21:29, 7 November 2015 (UTC)
replies: text: I use s-line almost all the time, but there are occasions when it would be silly to create all the background templates for a single use. This could apply to discontinued service where not every station still exists and you want to indicate the previous continuity for the few that remain. Secondarywaltz (talk) 22:07, 7 November 2015 (UTC)
replies: text: Is this enough discussion to make the change?  I really don't think it's necessary to essentially run an RfC just to get the text to center properly.  Antony–22 (talk⁄contribs) 00:37, 5 December 2015 (UTC)
replies: text: You didn't answer my q of 00:52, 7 November 2015 - where was this proposal notified? --Redrose64 (talk) 10:15, 5 December 2015 (UTC)
thread_title:  Using Template:Rail line in infoboxes 

message: Okay, I've made the changes to the sandbox, see Template:Rail line/testcases.  It looks like the Template:S-rail titles still work so the changes to Template:Rail start are unneeded.  Any feedback?  Antony–22 (talk⁄contribs) 21:02, 2 November 2015 (UTC)
replies: text: No changes will be made to existing infoboxes.  Fixing the formatting gives the option to use this template, which is much easier to use than S-line, in new infoboxes.  Honestly, I thought that a minor fix to prevent a template from displaying incorrectly in some circumstances, and that is transparent to all other uses, would be uncontroversial.  Antony–22 (talk⁄contribs) 21:29, 7 November 2015 (UTC)
replies: text: I use s-line almost all the time, but there are occasions when it would be silly to create all the background templates for a single use. This could apply to discontinued service where not every station still exists and you want to indicate the previous continuity for the few that remain. Secondarywaltz (talk) 22:07, 7 November 2015 (UTC)
replies: text: Is this enough discussion to make the change?  I really don't think it's necessary to essentially run an RfC just to get the text to center properly.  Antony–22 (talk⁄contribs) 00:37, 5 December 2015 (UTC)
replies: text: You didn't answer my q of 00:52, 7 November 2015 - where was this proposal notified? --Redrose64 (talk) 10:15, 5 December 2015 (UTC)
thread_title: Discussion

message: Please, add vertical-align: middle among the attributes of style= for the three text cells. Used within "Infobox station" (services parameter) as it is now, this template ends up with the text vertically aligned on the top. Yak79 2.0 (talk) 17:30, 7 January 2020 (UTC)
replies: text: Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. – Jonesey95 (talk) 19:05, 7 January 2020 (UTC)

text: Done – Jonesey95 (talk) 22:41, 7 January 2020 (UTC)
thread_title:  Template-protected edit request on 7 January 2020