Template talk:Rail navbox titlestyle

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
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.

Way to produce two different colour boxes?[edit]

Is there a way to have different colour boxes on either side of the title? This would be useful for lines such as the Hokuriku Shinkansen (  ) and Shōnan-Shinjuku Line (  ) in Japan that require two colours rather than one single line colour. --DAJF (talk) 01:31, 20 March 2015 (UTC)[reply]

DAJF, now possible, see documentation. Frietjes (talk) 14:51, 29 March 2015 (UTC)[reply]
Thanks very much! That's a welcome improvement. --DAJF (talk) 00:38, 30 March 2015 (UTC)[reply]

Breaks Crossrail 2 navbox[edit]

I'm a bit confused why this template breaks Template:Crossrail 2 navbox. Would appreciate it if someone could take a look.   JaJaWa |hello  01:00, 22 March 2018 (UTC)[reply]

@JaJaWa: Fixed; there were two extra right curly brackets. Jc86035 (talk) 11:33, 27 July 2018 (UTC)[reply]

Strange display[edit]

@Frietjes: The template's displaying weirdly in the Timeless skin, similar to the navbox group colours before the conversion to {{box-shadow border}}. Unfortunately custom padding CSS would be negatively affected if {{box-shadow border}} were used as a helper template with no other CSS, since the "border" can overlap with the header text without extra padding. Should this be fixed? Jc86035 (talk) 11:38, 27 July 2018 (UTC)[reply]

Jc86035, should be fixed now. Frietjes (talk) 13:19, 27 July 2018 (UTC)[reply]