Revision as of 13:11, 27 December 2017 view sourceJc86035 (talk | contribs)Extended confirmed users, Template editors34,237 editsm simplified logic← Previous edit | Latest revision as of 00:03, 14 December 2024 view source Explicit (talk | contribs)Autopatrolled, Administrators324,427 edits Added {{being deleted}} per Misplaced Pages:Templates for discussion/Log/2024 December 6#Template:STN (XFDcloser) | ||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
]{{{{{|safesubst:}}}#if:{{{{{|safesubst:}}}#invoke:redirect|isRedirect|{{{{{|safesubst:}}}#if:{{{2|}}}|{{{1}}} Station ({{{2}}})|{{{1}}} Station}}}}|]}}<noinclude> | <noinclude>{{Being deleted|2024 December 6|Template:STN|merge=Template:Station}}</noinclude>]{{{{{|safesubst:}}}#if:{{{{{|safesubst:}}}#invoke:redirect|isRedirect|{{{{{|safesubst:}}}#if:{{{2|}}}|{{{1}}} Station ({{{2}}})|{{{1}}} Station}}}}|]}}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 00:03, 14 December 2024
This template is currently being merged with Template:Station. This template is being merged with another template, after which it will be redirected or deleted. Please check Misplaced Pages:Templates for discussion/Holding cell for any additional instructions. The decision to merge this template was made following this discussion initiated on 6 December 2024 at Templates for discussion. Note: Please review this template's instructions at Misplaced Pages:Templates for discussion/Holding cell before proceeding with any type of merging. |
%5B%5BWP%3ACSD%23G6%7CG6%5D%5D%3A+%5B%5BWikipedia%3ATemplates+for+discussion%2FLog%2F2024+December+6%23Template%3ASTN%5D%5D{{{CRITERION}}}]
Template documentation[view] [edit] [history] [purge]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
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 ]
.
{{STN|Jiyūgaoka|Tokyo}}
expands to ]
.
{{STN|Tokyo||Tōkyō}}
expands to ]
.
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"
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
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:
|
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: