Template:STN/doc: Difference between revisions

From 1F616EMO Survival Server Wiki
No edit summary
 
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 railway station article, without displaying "Station".

Optionally a second parameter can be supplied to distinguish between identically named stations in different locations. The qualifier will be placed within parentheses after "Station".

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

For example:

{{STN|Ginza}} expands to [[Ginza Station|Ginza]].

{{STN|Jiyūgaoka|Tokyo}} expands to [[Jiyūgaoka Station (Tokyo)|Jiyūgaoka]].

{{STN|Tokyo||Tōkyō}} expands to [[Tokyo Station|Tōkyō]].

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 Tokyo Disneyland serves the Tokyo Disneyland amusement park.

For articles named with lowercase "station", use {{Station}}.

TemplateData

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

TemplateData for STN

Expands a name to link to the appropriate railway station article, without displaying "Station"

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Station name1

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

Stringrequired
Station location2

Distinguishes between identically named stations in different locations

Stringoptional
Link label3

Change the displayed link text

Stringoptional

See also

Template:Stnlnk/doc/other