Difference between revisions of "Template:Stnlnk"

From All About Ayrshire
Jump to: navigation, search
m (1 revision)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
 
=== Usage ===
 
 
This template expands a name (first parameter) to link to the appropriate railway station article, without displaying "railway station".
 
 
Optionally a second parameter can be supplied to distinguish between identically named stations in different locations.
 
(With respect to the UK, this is typically the county level administrative division.)
 
 
The template can be abbreviated as {{tl|rws}} (for '''R'''ail'''w'''ay '''S'''tation).
 
 
For example:
 
 
<code><nowiki>{{stnlnk|Wolverhampton}}</nowiki></code> expands to <code><nowiki>[[Wolverhampton railway station|Wolverhampton]]</nowiki></code>.
 
 
<code><nowiki>{{stnlnk|Bramley|Hampshire}}</nowiki></code> expands to <code><nowiki>[[Bramley (Hampshire) railway station|Bramley]]</nowiki></code>.
 
 
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 {{stnlnk|Peterborough}} serves the city of [[Peterborough]].
 
 
Almost all British stations follow the link form of terminating with "railway station".
 
 
=== See also ===
 
 
{{Stnlnk/doc/other}}
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Internal link templates]]
 
[[Category:Rail transport templates]]
 
</includeonly>
 
 
 
 
[[{{#if:{{{2|}}}|{{{1}}} ({{{2}}})|{{{1}}}}} Railway Station|{{{1}}}]]<noinclude>
 
[[{{#if:{{{2|}}}|{{{1}}} ({{{2}}})|{{{1}}}}} Railway Station|{{{1}}}]]<noinclude>
{{documentation}}</noinclude>
 

Latest revision as of 07:55, 1 November 2015

[[{{{1}}} Railway Station|{{{1}}}]]