Template:Adjacent stations doc

From HandWiki
Revision as of 16:46, 7 July 2021 by imported>Jworkorg (Created page with "This is a data module for Module:Adjacent stations. It supports {{#ifeq:{{{1}}}|former|former {{#ifeq:{{lc:{{{link|}}}}}|no|{{#titleparts:{{PAGENAME}}|1|2}}|{{#titlepart...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a data module for Module:Adjacent stations. It supports services operated by the [[]].

Template documentation[view] [edit] [history] [purge]

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=– [[British Railways]]' former [[North Western Region]])}} on Module:Adjacent stations/North Western Railway/doc produces

See also