మూస:Rail line/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

Usage[మార్చు]

{{rail line |previous= |next= |route= |col= }}
  • |previous= may be left blank or omitted, in which case it is displayed as Terminus.
  • |next= may be left blank or omitted, in which case it is displayed as Terminus.

Example[మార్చు]

{{rail start}}
{{rail line
  |previous={{stnlnk|Banbury}}
  |next={{stnlnk|Heyford}}
  |route=[[First Great Western]]<br><small>[[Cherwell Valley Line]]</small>
  |col={{FGW colour}}
}}
{{rail end}}

This produces:

అంతకుముందు స్టేషను భారతీయ రైల్వేలు తరువాత స్టేషను
Banbury   First Great Western
Cherwell Valley Line
  Heyford

Colours[మార్చు]

  • |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.

Both 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= parameter is preferred to the older method of setting a coloured background for some of the text, which had accessibility problems.

See also[మార్చు]


"https://te.wikipedia.org/w/index.php?title=మూస:Rail_line/doc&oldid=1347170" నుండి వెలికితీశారు