Usage

besut

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

Cithakan:Rail line/doc/colours

Additional parameters

besut
  • |term1= may be used to specify the terminus in the |previous= direction
  • |term12= may be used to specify an alternate terminus in the |previous= direction
  • |term2= may be used to specify the terminus in the |next= direction
  • |term22= may be used to specify an alternate terminus in the |next= direction
  • |rows1= may be used to specify the number of table rows spanned by the first station
  • |rows2= may be used to specify the number of table rows spanned by the second station
  • |hide1= may be used to hide the table cell corresponding to the first station
  • |hide2= may be used to hide the table cell corresponding to the first station
  • |rowsmid= may be used to specify the number of table rows spanned by the route
  • |hidemid= may be used to hide the table cell corresponding to the route
  • |mergecol= may be used to remove the bottom border on the colour cells

Example 1

besut
{{rail start}}
{{rail line
|previous = {{rws|Banbury}}
|next     = {{rws|Heyford}}
|route    = [[Great Western Railway (train operating company)|Great Western Railway]]<br><small>[[Cherwell Valley Line]]</small>
|col      = {{FGW colour}}
}}
{{rail end}}

This produces: Cithakan:Rail start |- | rowspan="1" style="vertical-align: middle; text-align:center; border-left: 0px none; border-right: 1px #aaa solid; border-top: 1px #aaa solid; border-bottom:0px none;"| Banbury | style="background:#Cithakan:FGW colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="1" style="vertical-align: middle; text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:0px none;" | Great Western Railway
Cherwell Valley Line | style="background:#Cithakan:FGW colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="1" style="vertical-align: middle; text-align:center; border-left: 1px #aaa solid; border-right: 0px none; border-top: 1px #aaa solid; border-bottom:0px none;"|Heyford Cithakan:Rail end

Example 2

besut
{{rail start}}
{{s-note|text=Former services}}
{{rail line
|col= {{LSWR colour}}
|previous= ''Terminus''|rows1=3
|route= [[London and South Western Railway]]<br/><small>(1869-1916)</small>
|next= {{lus|Kew Gardens}} |term2= {{stn|West Brompton}}
}}
{{rail line
|col= {{MetRly colour}}
|hide1=yes
|route= [[Metropolitan Railway]]<br/><small>(1877-1906)</small>
|next= {{lus|Kew Gardens}} |term2= [[London Paddington station|Paddington]] |rows2=2
}}
{{rail line
|col= {{GWR colour}}
|hide1=yes
|route= [[Great Western Railway]]<br/><small>(1894-1910)</small>
|hide2=yes
}}
{{rail end}}

Cithakan:Rail start Cithakan:S-note |- | rowspan="3" style="vertical-align: middle; text-align:center; border-left: 0px none; border-right: 1px #aaa solid; border-top: 1px #aaa solid; border-bottom:0px none;"| Terminus | style="background:#Cithakan:LSWR colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="1" style="vertical-align: middle; text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:0px none;" | London and South Western Railway
(1869-1916) | style="background:#Cithakan:LSWR colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="1" style="vertical-align: middle; text-align:center; border-left: 1px #aaa solid; border-right: 0px none; border-top: 1px #aaa solid; border-bottom:0px none;"|Cithakan:Lus
towards West Brompton |-

| style="background:#Cithakan:MetRly colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="1" style="vertical-align: middle; text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:0px none;" | Metropolitan Railway
(1877-1906) | style="background:#Cithakan:MetRly colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="2" style="vertical-align: middle; text-align:center; border-left: 1px #aaa solid; border-right: 0px none; border-top: 1px #aaa solid; border-bottom:0px none;"|Cithakan:Lus
towards Paddington |-

| style="background:#Cithakan:GWR colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |   | rowspan="1" style="vertical-align: middle; text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:0px none;" | Great Western Railway
(1894-1910) | style="background:#Cithakan:GWR colour; border-left: 0px none; border-right: 0px none; border-top:1px #aaa solid; border-bottom:0px none;" |  

Cithakan:Rail end Cithakan:Rail line/doc/see also