![]() | This is a documentation subpage for Template:Rail line two to two. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis template allows the use of just one route and route colour: |route=
and |col=
are used to specify these. If any of the parameters |previous1=
|previous2=
|next1=
|next2=
are blank or omitted, they default to Terminus.
Colours
edit|col=
|lightcol=
The |col=
parameter is used to set the colour of the two vertical bands which separate the three main columns. If this parameter is blank or omitted, the bands are present but their colours are undefined, and the appearance may vary between web browsers.
The colour set by |col=
is normally associated with the railway company or operator given in the |route=
parameter; if that parameter indicates both a major company and a minor company, or a rail operator and one of its services, |col=
should indicate the more important of the two. To indicate the less important of the two, the optional |lightcol=
parameter may be used; it will add a horizontal coloured band beneath the text of the |route=
parameter. If |lightcol=
is blank or omitted, the band is also omitted.
For consistency, colours should be specified using colour templates, e.g. |col=
{{Caledonian colour}}
|lightcol=
{{Caledonian light}}
. The predefined colours are at WikiProject UK Railways/Colours list. Colours may also be given in the form of a six-character hex triplet. In either case, the initial #
sign is omitted, e.g. |col=be2d2c
|lightcol=d77f7e
.
The |lightcol=
parameter is preferred to the older method of setting a coloured background for some of the text, which had accessibility problems.
See also
edit{{rail line}}
{{rail line one to two}}
{{rail line one to two three routes}}
{{rail line one to three}}
{{rail line one to four}}
{{rail line two to two}}
{{rail line two routes}}
{{rail line three routes}}
{{rail line four routes}}
{{rail line two to one}}
{{rail line two to one three routes}}
{{rail line three to one}}
{{rail line four to one}}
{{rail line three to two}}