Template:Rail line/doc

Usage

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

Additional parameters

 * 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
This produces: