Template:Station/doc: Difference between revisions

From 1F616EMO Survival Server Wiki
(display output for certainty)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 02:05, 15 June 2024

Usage

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

The optional second parameter (any character) will capitalize the word "Station".

The optional third parameter will add disambiguating qualifier in brackets after "Station"/"station".

The optional fourth parameter (or |alt=) will replace the displayed station name.

The template can be abbreviated as {{stn}} (for Station).

For example:

{{Station|City Hall}} expands to [[City Hall station|City Hall]] and thus City Hall.

{{Station|Union|x}} and {{STN|Union}} both expand to [[Union Station|Union]].

{{stn|Forest Hill||San Francisco}} expands to [[Forest Hill station (San Francisco)|Forest Hill]].

{{stn|Forest Hill|x|San Francisco}} and {{STN|Forest Hill|San Francisco}} both expand to [[Forest Hill Station (San Francisco)|Forest Hill]]. Note that there are only two parameters for the {{STN}} abbreviation.

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 served, for example that University serves a particular University.

Many station articles follow the link form of terminating with "station". The guideline for titling articles on stations in the United States defaults to this form.

See also

  • {{STN}}, which generates a wikilink with the word "Station" capitalized.

Template:Stnlnk/doc/other

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Station in articles based on its TemplateData.

TemplateData for Station

station link template

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

no description

Example
Union
Stringrequired
Capitalization2

no description

Stringoptional
Disambiguator3

no description

Example
Toronto
Stringoptional
Alternate text4

no description

Example
GO Union Station
Stringoptional