Template:Stnlnk/doc

From blackwiki
Jump to navigation Jump to search

Usage

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

Optionally a second parameter can be supplied to distinguish between identically named stations in different locations. (With respect to the UK, this is typically the county level administrative division.)

A third parameter can be used to change the displayed station name.

The template can be abbreviated as {{rws}} (for railway station).

For example:

{{stnlnk|Wolverhampton}} expands to [[Wolverhampton railway station|Wolverhampton]].

{{stnlnk|Bramley|Hampshire}} expands to [[Bramley railway station (Hampshire)|Bramley]].

{{stnlnk|Ashford International||Ashford Intl}} expands to [[Ashford International railway station|Ashford Intl]].

Note:

This template will correctly handle all the standard forms of station name disambiguation:

  • Xxx railway station (Location)
  • Xxx (Location) railway station
  • Xxx railway station, Location
  • Xxx station (Location)
  • Xxx (System station)
  • Xxx (System)

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 Peterborough serves the city of Peterborough.

Almost all British stations follow the link form of terminating with "railway station".

See also

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

Template Shortcut(s) Used for
{{Station}} Script error: No such module "Template link general". 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}} Script error: No such module "Template link general". Railway stations
{{Gare}} none Any French railway station ("Gare de …")
{{Metro}} none Metro stations
{{Metrod}} none Any metro station with disambiguating qualifier
{{Subway}} none Subway stations
{{LRT Station}} Script error: No such module "Template link general". or Script error: No such module "Template link general". Light rail transit stations
{{MRT station}} Script error: No such module "Template link general". or Script error: No such module "Template link general". Mass rapid transit stations
{{Tram}} none Tram stops
{{Tstop}} none Any transit stop
{{Ferry}} Script error: No such module "Template link general". Ferry wharves
Specific locations
North America
Amtrak stations Script error: No such module "Template link general". Amtrak
CTrain stations {{cts}} Calgary CTrain
CDOT stations Script error: No such module "Template link general". CTfastrak, Hartford Line, and Shore Line East (Connecticut)
CTA stations Script error: No such module "Template link general". Chicago Transit Authority
Edmonton LRT stations Script error: No such module "Template link general". Edmonton Light Rail Transit
Exo stations Script error: No such module "Template link general". Exo (formerly RTM, Greater Montreal)
GO Transit stations Script error: No such module "Template link general". GO Transit (Greater Toronto Area)
{{LIRR stations}} Script error: No such module "Template link general". Long Island Rail Road
MAX stations {{maxs}} MAX Light Rail (Portland, Oregon)
MBTA stations Script error: No such module "Template link general". MBTA (Boston)
Metro Transit station Script error: No such module "Template link general". Metro Transit (Minnesota)
MNRR stations Script error: No such module "Template link general". Metro-North Railroad (New York and Connecticut)
{{Montreal Metro stations}} Script error: No such module "Template link general". Montreal Metro
MTA Maryland stations Script error: No such module "Template link general". Maryland Transit Administration (excluding MARC Train)
{{MTS stations}} Script error: No such module "Template link general". San Diego Metropolitan Transit System
Muni stations Script error: No such module "Template link general". San Francisco Municipal Railway and Muni Metro
NJT stations Script error: No such module "Template link general". NJ Transit Rail Operations (New Jersey)
{{NYCS station}} Script error: No such module "Template link general". New York City Subway
SCAX stations Script error: No such module "Template link general". Metrolink (California)
{{SIR station}} Script error: No such module "Template link general". Staten Island Railway
{{SLML}} none MetroLink (St. Louis)
SMART stations Script error: No such module "Template link general". Sonoma–Marin Area Rail Transit
{{TTC station}} Script error: No such module "Template link general". Toronto subway
VREX stations none Virginia Railway Express
WMATA stations Script error: No such module "Template link general". Washington Metro (Washington, D.C.)
Elsewhere
{{StnlnkA}} Script error: No such module "Template link general". Australia and New Zealand
{{BJS stations}} Script error: No such module "Template link general". Beijing Subway
{{BVG stations}} Script error: No such module "Template link general". Berliner Verkehrsbetriebe (Berlin)
{{Buenos Aires Subte}} Script error: No such module "Template link general". Buenos Aires Underground
{{DLRstation}} Script error: No such module "Template link general". Docklands Light Railway (London)
{{Istanbul Metro stations}} none Istanbul Metro
{{IWLR}} none Dulwich Hill Line (Sydney)
{{METROKIEV stations}} Script error: No such module "Template link general". Kyiv Metro
{{Komuter station}} Script error: No such module "Template link general". KTM Komuter (Kuala Lumpur)
{{Tubestation}} Script error: No such module "Template link general". London Underground
{{Metro Madrid}} Script error: No such module "Template link general". Madrid Metro
{{MOSMETRO stations}} Script error: No such module "Template link general". Moscow Metro
{{München bahnhof}} Script error: No such module "Template link general". Munich S-Bahn
{{StnlnkO}} Script error: No such module "Template link general". Oslo tramway and metro stations
{{Paris Metro/Station}} Script error: No such module "Template link general". Paris Métro
{{RER/Station}} Script error: No such module "Template link general". Paris RER
{{StnlnkR}} Script error: No such module "Template link general". Russia
{{SHM stations}} Script error: No such module "Template link general". Shanghai Metro
{{SNCF}} none SNCF (Société Nationale des Chemins de fer Français, France)
{{HSR station}} Script error: No such module "Template link general". Taiwan High Speed Rail
{{TRA station}} Script error: No such module "Template link general". Taiwan Railways Administration (only when ambiguous)
{{VSB station}} Script error: No such module "Template link general". Vienna S-Bahn
{{VUB station}} Script error: No such module "Template link general". Vienna U-Bahn
Template Shortcut Used for

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Stnlnk

Typing aid for railway stations articles

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Station name1

The title of the railway station article, without "railway station"

Example
Wolverhampton
Stringrequired
Station location2

Distinguishes between identically named stations in different locations

Stringsuggested
Link label3

Change the displayed link text from station name

Stringoptional