Difference between revisions of "Module:Adjacent stations/CTrain/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Blaixx
(documentation for station links)
blackwiki>UmpireRay
(Updated docs for MAX lines.)
Line 6: Line 6:
 
{{Rail template doc|CTrain|Blue|202}}
 
{{Rail template doc|CTrain|Blue|202}}
 
{{Rail template doc|CTrain|Green|203}}
 
{{Rail template doc|CTrain|Green|203}}
 +
{{Rail template doc|CTrain|Orange}}
 +
{{Rail template doc|CTrain|Yellow}}
 +
{{Rail template doc|CTrain|Teal}}
 +
{{Rail template doc|CTrain|Purple}}
 
{{Rail template doc|CTrain|}}
 
{{Rail template doc|CTrain|}}
 
{{Rail template doc||end}}
 
{{Rail template doc||end}}

Revision as of 04:51, 24 June 2020

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

Lines

Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc

Stations

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]]