మూస:Rail line two to one/doc
This is a documentation subpage for మూస:Rail line two to one. It may contain usage information, categories and other content that is not part of the original మూస page. |
Usage
మార్చు{{rail line two to one |next= |previous1= |route1= |col1= |previous2= |route2= |col2= }} {{rail line two to one |next= |previous1= |route1= |previous2= |route2= |col= }} {{rail line two to one |next= |previous1= |col1= |previous2= |col2= |route= }} {{rail line two to one |next= |previous1= |previous2= |route= |col= }}
|previous1=
,|previous2=
and|next=
may be left blank or omitted, in which case they are displayed as Terminus.- This template allows the use of two route descriptions,
|route1=
and|route2=
. If both routes should have the same description,|route=
may be used instead.- If
|route=
is used in addition to either of|route1=
and|route2=
, there may be unexpected results: to aid in locating these errors, the page is placed in hidden Category:Incompatible parameters in rail line template.
- If
Colours
మార్చు|col=
|col1=
|col2=
|lightcol=
|lightcol1=
|lightcol2=
The |col=
parameters are used to set the colour of the two vertical bands which separate the three main columns. If these parameters are 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.
The major colours for the different rows may be set independently by using |col1=
and |col2=
; or both may be set to the same colour using |col=
. If |col=
is used in addition to either of the row-specific |coln=
parameters, there may be unexpected results. This happens even if one of them is present but blank: unused parameters should be omitted.
Where separate |routen=
parameters are used, the minor colours for the different rows may also be set independently by using |lightcol1=
and |lightcol2=
; or both may be set to the same colour using |lightcol=
. The row-specific |lightcoln=
parameters have precedence over |lightcol=
even if one of them is blank: unused parameters should be omitted.
All colours should be given in the form of a six-character hex triplet, omitting the initial #
sign, e.g. |col=496799
|lightcol=6b89bb
. Colours may be specified using colour templates, e.g. |col=
{{Caledonian colour}}
|lightcol=
{{Caledonian light}}
.
The |lightcol=
parameters are preferred to the older method of setting a coloured background for some of the text, which had accessibility problems.
Examples
మార్చు{{rail line two to one |previous1=Station A |previous2=Station B |route1=This way |col1=012345 |next=Station C |route2=That way |col2=FEDCBA }}
Station A | This way | Station C | ||
Station B | That way |
{{rail line two to one |previous1=Station A |previous2=Station B |route1=This way |next=Station C |route2=That way |col=808080 }}
Station A | This way | Station C | ||
Station B | That way |
{{rail line two to one |previous1=Station A |previous2=Station B |col1=012345 |next=Station C |route=Any way |col2=FEDCBA }}
Station A | Any way | Station C | ||
Station B |
{{rail line two to one |previous1=Station A |previous2=Station B |next=Station C |route=Any way |col=808080 }}
Station A | Any way | Station C | ||
Station B |
See also
మార్చు{{Rail line}}
{{rail line one to two}}
{{rail line two routes}}
{{rail line two to two}}
{{Rail line two to one three routes}}
{{rail line three to one}}
{{Rail line three to two}}
{{rail line four to one}}