Template:TTC station page
Appearance
Creates a link to the official Toronto Transit Commission station information page on ttc.ca. Defaults to the title of the current article.
Parameters
[edit]No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Station name | 1 | The name of the station to link to. The name can contain spaces or dashes and the "station" suffix is optional. Station names are not case sensitive.
| String | suggested |
Link text | 2 | Text to display
| String | optional |
Examples
[edit]{{TTC station page|Scarborough Centre station}}
→ Official station page{{TTC station page|scarborough-centre}}
→ Official station page{{TTC station page|scarborough-centre|Scarborough Centre station page}}
→ Scarborough Centre station page
York University
[edit]The official page for York University does not have a "-station" suffix in its URL, but it is still supported by this template.
{{TTC station page|York University station}}
→ Official station page
Punctuation
[edit]The template removes periods and apostrophes from the station name. It also replaces en dashes with hyphens.
{{TTC station page|St. Clair West station}}
→ Official station page{{TTC station page|Queen's Park station}}
→ Official station page{{TTC station page|Bloor–Yonge station}}
→ Official station page
See also
[edit]- {{TTC route page}}