Template:Station/doc
This is a documentation subpage for Template:Station. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 9,900 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 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
[edit]- {{STN}}, which generates a wikilink with the word "Station" capitalized.
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:
|
TemplateData
[edit]TemplateData for Station
station link template
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | no description
| String | required |
Capitalization | 2 | no description | String | optional |
Disambiguator | 3 | no description
| String | optional |
Alternate text | 4 | no description
| String | optional |