Module:Adjacent stations/CTrain/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This is a data module for Module:Adjacent stations. It supports services operated by CTrain.

LineKeysColorHex colorIcon
Red Line Red
or 201
  d61b32 File:CT Red.svg
Blue Line Blue
or 202
  008ab1 File:CT Blue.svg
Green Line Green
or 203
  509e2f File:CT Green.svg
MAX Orange Orange   fa8b14 File:CT Orange.svg
MAX Yellow Yellow   fdc90e File:CT Yellow.svg
MAX Teal Teal   009ca7 File:CT Teal.svg
MAX Purple Purple   91378d File:CT Purple.svg
MAX Green MAX Green   105d3f File:CT MAX Green.svg

Note: "MAX Green" is not formatted in conjunction with other max lines, due to its duplicate name with the "Green Line".

Stations

[edit source]

This module can be used to expand a name to link to the appropriate CTrain station article, without displaying the trailing "station". It also handles cases where more disambiguation is needed.

The template can be called using {{Station link}} or {{stl}}.

For example:

{{stl|CTrain|Lions Park}} expands to [[Lions Park station|Lions Park]]

{{stl|CTrain|University}} expands to [[University station (Calgary)|University]]

{{stl|CTrain|7 Street}} expands to [[7 Street Southwest station|7 Street SW]]