Template:Adjacent stations doc/doc

From HandWiki
< Template:Adjacent stations doc
Revision as of 16:46, 7 July 2021 by imported>Jworkorg (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Documentation sub...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation sub-page for Module:Adjacent stations/System.

Usage

All parameters are optional. The System name is automatically inserted.

Parameter Notes
1 If |former}}, then the second sentence reads "It supports former System lines." instead of "It supports services operated by the System."
|place= Inserts "in place" before "operated by the System".
|the=anything suppresses "the" before System.
|link=no Suppresses the wikilink for System (when the system abbreviation is a disambiguation).
|alt= Inserts an alternate, linked name (in parentheses) after System.
|incl= Includes additional text at the end of the second sentence.
|for= Adds a third sentence, "For the For, use Module:Adjacent stations/For." or "For the current services, use Module:Adjacent stations/For." if |former}} is specified.
|the2=anything suppresses "the" before For.
|type= Includes additional text at the end of the third sentence.

Examples

Using the companies from The Railway Series as an example,

{{Adjacent stations doc}} on Module:Adjacent stations/North Western Railway/doc produces


{{Adjacent stations doc|former}} on Module:Adjacent stations/Tidmouth, Knapford & Elsbridge Railway/doc produces


{{Adjacent stations doc|place=the [[Island of Sodor]]}} on Module:Adjacent stations/North Western Railway/doc produces


{{Adjacent stations doc|former|link=no|alt=Sodor & Mainland Railway}} on Module:Adjacent stations/S&M/doc produces


{{Adjacent stations doc|incl=including the [[Sodor & Mainland Railway]], the [[Tidmouth, Wellsworth & Suddery Railway]], the [[Tidmouth, Knapford & Elsbridge Railway]], and the [[Wellsworth & Suddery Railway]]}} on Module:Adjacent stations/North Western Railway/doc produces


{{Adjacent stations doc|for=London & North Western Railway}} on Module:Adjacent stations/North Western Railway/doc produces


{{Adjacent stations doc|the2=no|for=NWR|type=&ndash; [[British Railways]]' former [[North Western Region]])}} on Module:Adjacent stations/North Western Railway/doc produces

See also