<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ARail_line%2Fdoc%2Fcolours</id>
	<title>Template:Rail line/doc/colours - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ARail_line%2Fdoc%2Fcolours"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Rail_line/doc/colours&amp;action=history"/>
	<updated>2026-04-05T22:03:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Rail_line/doc/colours&amp;diff=28220&amp;oldid=prev</id>
		<title>Wikipedia&gt;Useddenim: /* Colours */ rewording; WP:WikiProject UK Railways/Colours list link</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Rail_line/doc/colours&amp;diff=28220&amp;oldid=prev"/>
		<updated>2016-01-08T20:46:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Colours: &lt;/span&gt; rewording; &lt;a href=&quot;/w/index.php?title=WP:WikiProject_UK_Railways/Colours_list&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:WikiProject UK Railways/Colours list (page does not exist)&quot;&gt;WP:WikiProject UK Railways/Colours list&lt;/a&gt; link&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Colours===&lt;br /&gt;
*{{para|col}} {{#if:{{{rows|}}}|{{para|col1}} {{para|col2}} {{#ifexpr:{{{rows}}}&amp;gt;=3|{{para|col3}} {{#ifexpr:{{{rows}}}&amp;gt;=4|{{para|col4}} {{#ifexpr:{{{rows}}}&amp;gt;=5|{{para|col5}} }} }} }} }}&lt;br /&gt;
*{{para|lightcol}} {{#if:{{{rows|}}}|{{para|lightcol1}} {{para|lightcol2}} {{#ifexpr:{{{rows}}}&amp;gt;=3|{{para|lightcol3}} {{#ifexpr:{{{rows}}}&amp;gt;=4|{{para|lightcol4}} {{#ifexpr:{{{rows}}}&amp;gt;=5|{{para|lightcol5}} }} }} }} }}&lt;br /&gt;
The {{para|col}} parameter{{#if:{{{rows|}}}|s are|&amp;amp;#32;is}} used to set the colour of the two vertical bands which separate the three main columns. If {{#if:{{{rows|}}}|these parameters are|this parameter is}} blank or omitted, the bands are present but their colours are undefined, and the appearance may vary between web browsers.&lt;br /&gt;
&lt;br /&gt;
The colour set by {{para|col}} is normally associated with the railway company or operator given in the {{para|route}} parameter; if that parameter indicates both a major company and a minor company, or a rail operator and one of its services, {{para|col}} should indicate the more important of the two. To indicate the less important of the two, the optional {{para|lightcol}} parameter may be used; it will add a horizontal coloured band beneath the text of the {{para|route}} parameter. If {{para|lightcol}} is blank or omitted, the band is also omitted.&lt;br /&gt;
&lt;br /&gt;
{{#if:{{{rows|}}}|The major colours for the different rows may be set independently by using {{para|col1}}{{#ifeq:{{{rows|}}}|2|&amp;amp;#32;and {{para|col2}}; or both|, {{para|col2}}, etc.; or all}} may be set to the same colour using {{para|col}}. If {{para|col}} is used in addition to {{#ifeq:{{{rows|}}}|2|either|any}} of the row-specific {{para|col&amp;#039;&amp;#039;n&amp;#039;&amp;#039;}} parameters, there may be unexpected results{{#ifeq:{{{incompat|}}}|no||&amp;amp;#58; to aid in locating these errors, the page is placed in hidden [[:Category:Incompatible parameters in rail line template]]}}. This happens even if one of them is present but blank: unused parameters should be omitted.&lt;br /&gt;
&lt;br /&gt;
Where separate {{para|route&amp;#039;&amp;#039;n&amp;#039;&amp;#039;}} parameters are used, the minor colours for the different rows may also be set independently by using {{para|lightcol1}}{{#ifeq:{{{rows|}}}|2|&amp;amp;#32;and {{para|lightcol2}}; or both|, {{para|lightcol2}}, etc.; two or more}} may be set to the same colour using {{para|lightcol}}. The row-specific {{para|lightcol&amp;#039;&amp;#039;n&amp;#039;&amp;#039;}} parameters have precedence over {{para|lightcol}} even if one of them is blank: unused parameters should be omitted.|}}&lt;br /&gt;
For consistency, colours should be specified using colour templates, e.g. {{para|col}}{{tlx|Caledonian colour}} {{para|lightcol}}{{tlx|Caledonian light}}. The predefined colours are at [[WP:WikiProject UK Railways/Colours list|WikiProject UK Railways/Colours list]]. Colours may also be given in the form of a six-character [[hex triplet]]. In either case, the initial &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; sign is omitted, e.g. {{para|col|be2d2c}} {{para|lightcol|d77f7e}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The {{para|lightcol}} parameter{{#if:{{{rows|}}}|s are|&amp;amp;#32;is}} preferred to the older method of setting a coloured background for some of the text, which had [[WP:CONTRAST|accessibility problems]].&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Useddenim</name></author>
	</entry>
</feed>