Template:Station/doc
This is a documentation subpage for Template:Station. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
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.