Jump to content

Template:StnlnkA/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template expands a name (first parameter) to link to the appropriate railway station article, without displaying "railway station".

The optional second parameter determines the location. (In the expansion it is added following “railway station” and is separated by a comma.)

The optional third parameter capitalises "Railway Station", which is no longer required.

Most stations in Australia and New Zealand follow the link form of terminating with "railway station, Place-name", but some are named "railway station (New Zealand)" etc.


As well as full names, valid abbreviations are

A Adelaide
B Brisbane
M Melbourne
N or NS or NSW New South Wales
P Perth
Q Queensland
S Sydney
SA South Australia
V Victoria
W or WA Western Australia
Z or NZ or NZL New Zealand

Alternate text can be specified by using the optional parameter alt=.

Examples

[edit]

{{stnlnkA|High Street|NSW}} expands to [[High Street railway station, New South Wales|High Street]]
{{stnlnkA|Dunedin||S}} expands to [[Dunedin Railway Station|Dunedin]]
{{stnlnkA|Perth|P|alt=Perth Underground}} expands to [[Perth railway station, Perth|Perth Underground]].

The template can be abbreviated as {{rwsA}} or {{rwsa}} (for Railway Station Australasia).

Discretion should be used on whether to name the place itself or the station that serves it. In railway articles it is generally preferred to use the station unless specifically talking about the place, for example that Albion serves the suburb of Albion.

See also

[edit]

A number of other templates provide the same function for specific systems:

Template Shortcut(s) Used for
{{Station}} {{stn}} Any transit, bus station or train station, with lowercase word "station"
{{STN}} none Any transit, bus station or train station, with the word "Station" capitalized
{{BSsrws}} none Any station, split over
two lines
of text
{{Stnlnk}} {{rws}} Railway stations
{{Metro}} none Metro stations
{{Subway}} none Subway stations
{{LRT Station}} {{lrt}} or {{lrts}} Light rail transit stations
{{MRT station}} {{mrt}} or {{mrts}} Mass rapid transit stations
{{Tram}} none Tram stops
{{Tstop}} none Any transit stop
{{Ferry}} {{fw}} Ferry wharves
Specific locations
North America
Amtrak stations {{amtk}} Amtrak
CTA stations {{cta}} Chicago Transit Authority
MBTA stations {{bts}} MBTA (Boston)
MNRR stations {{mnrr}} Metro-North Railroad (New York and Connecticut)
MTA Maryland stations {{mtams}} Maryland Transit Administration (excluding MARC Train)
Muni stations {{munis}} San Francisco Municipal Railway and Muni Metro
NJT stations {{njts}} NJ Transit Rail Operations (New Jersey)
SCAX stations {{scax}} Metrolink (California)
WMATA stations {{wmata}} Washington Metro (Washington, D.C.)
Elsewhere
{{StnlnkA}} {{rwsa}} Australia and New Zealand
{{Gare}} none Any French railway station ("Gare de …")
{{Hauptbahnhof station}} {{Hbf}} Any German central station ("… Hauptbahnhof")
{{IWLR}} none Inner West Light Rail (Sydney)
{{Komuter station}} {{kstn}} KTM Komuter (Kuala Lumpur)
{{Tubestation}} {{lus}} London Underground
{{Metro Madrid}} {{MdM}} Madrid Metro
Template Shortcut Used for