Template:STN/doc
This is a documentation subpage for Template:STN. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 13,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]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
[edit]TemplateData for STN
Expands a name to link to the appropriate railway station article, without displaying "Station"
Parameter | Description | Type | Status | |
---|---|---|---|---|
Station name | 1 | The title of the railway station article, without "station" | String | required |
Station location | 2 | Distinguishes between identically named stations in different locations | String | optional |
Link label | 3 | Change the displayed link text | String | optional |
See also
[edit]For new systems and systems in need of maintenance, use the newer {{Station link}} (abbreviated {{stl}} or {{slk}}) instead, which uses the faster and less maintenance-intensive Module:Adjacent stations. |
A number of other templates provide the same function for specific systems:
|