Template:Adjacent stations/testcases

From blackwiki
Jump to navigation Jump to search

Template:Sidebar Rail

Basic use

Single line (data page)
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
towards Chai Wan

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
towards Chai Wan
Multiple lines, terminus (data page)
{{Adjacent stations|left1=Central|left3=|line1=Tsuen Wan|line3=South Island|right1=Tsim Sha Tsui|right3=Ocean Park|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Central
Terminus
Tsuen Wan line Tsim Sha Tsui
towards Tsuen Wan
Terminus South Island line Ocean Park

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
Terminus
Tsuen Wan line
towards Tsuen Wan
Terminus
South Island line
Cell auto merge (data page)
{{Adjacent stations|left1=Hong Kong|left2=Hong Kong|line1=Airport Express|line2=Tung Chung|right1=Tsing Yi|right2=Olympic|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Hong Kong
Terminus
Airport Express Tsing Yi
Tung Chung line Olympic
towards Tung Chung

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
Terminus
Airport Express
Tung Chung line
towards Tung Chung
Multiple systems, _default (data pages 1, 2)
{{Adjacent stations|left3=Miaoli|left4=Songshan|line4=West Coast|right3=Taoyuan|right4=Wanhua|system3=Taiwan High Speed Rail|system4=Taiwan Railways}}

{{Adjacent stations}}

Preceding station 18px Taiwan High Speed Rail Following station
Miaoli
towards Nangang
THSR Taoyuan
towards Zuoying
Preceding station Taiwan Railways Administration Taiwan Railways Following station
Songshan
towards Keelung
Western Trunk line Wanhua
towards Pingtung

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 575: attempt to index a nil value.

Automatic string formatting (data page)
{{Adjacent stations|left=Queensway|line=Central|right=Marble Arch|system=London Underground}}

{{Adjacent stations}}

Preceding station Underground (no text).svg London Underground Following station
Queensway Central line Marble Arch

{{Adjacent stations/sandbox}}

Preceding stationUnderground (no text).svg London UndergroundFollowing station
Central line
to (data page)
{{Adjacent stations|left=Queensway|line=Central|right=Marble Arch|system=London Underground|to-right=Epping}}

{{Adjacent stations}}

Preceding station Underground (no text).svg London Underground Following station
Queensway Central line Marble Arch
towards Epping

{{Adjacent stations/sandbox}}

Preceding stationUnderground (no text).svg London UndergroundFollowing station
Central line
towards Epping

type

No type (data page)
{{Adjacent stations|left=National Taiwan Sport University|line=Airport|right=Linkou|system=Taoyuan Metro}}

{{Adjacent stations}}

Preceding station 18px Taoyuan Metro Following station
National Taiwan Sport University Taoyuan Airport MRT Linkou

{{Adjacent stations/sandbox}}

Preceding station18px Taoyuan MetroFollowing station
Taoyuan Airport MRT
type (data page)
{{Adjacent stations|left=National Taiwan Sport University|line=Airport|right=Linkou|system=Taoyuan Metro|type=Express}}

{{Adjacent stations}}

Preceding station 18px Taoyuan Metro Following station
National Taiwan Sport University Taoyuan Airport MRT
Express
Linkou

{{Adjacent stations/sandbox}}

Preceding station18px Taoyuan MetroFollowing station
Taoyuan Airport MRT
Express
type terminus, type colour (data page)
{{Adjacent stations|left=National Taiwan Sport University|line=Airport|right=Linkou|system=Taoyuan Metro|type=Commuter}}

{{Adjacent stations}}

Preceding station 18px Taoyuan Metro Following station
National Taiwan Sport University
towards Huanbei
Taoyuan Airport MRT
Commuter
Linkou

{{Adjacent stations/sandbox}}

Preceding station18px Taoyuan MetroFollowing station
towards Huanbei
Taoyuan Airport MRT
Commuter

Other data parameters

lang (data page)
{{Adjacent stations|left=Canal Street|line=Z|right=Essex Street|system=New York City Subway}}

{{Adjacent stations}}

Preceding station New York City Subway New York City Subway Following station
Canal Street Z
Stops rush hours in peak direction only rush hours peak direction only
Essex Street

{{Adjacent stations/sandbox}}

Preceding stationNew York City Subway New York City SubwayFollowing station
Z
Stops rush hours in peak direction only rush hours peak direction only
header stop noun (data page)
{{Adjacent stations|left=Kennedy Road|right=May Road|system=Peak Tram}}

{{Adjacent stations}}

Preceding stop Peak Tram Following stop
Kennedy Road
towards Garden Road
Peak Tram
Suspended since 23 April 2019 for renovation
May Road
towards The Peak

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 575: attempt to index a nil value.

aliases (data page)
{{Adjacent stations|left=Admiralty|line=i|right=Causeway Bay|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
towards Chai Wan

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
towards Chai Wan
Line-specific station (data page)
{{Adjacent stations|left=Warwick Avenue|line=Bakerloo|right=Edgware Road|system=London Underground}}

{{Adjacent stations}}

Preceding station Underground (no text).svg London Underground Following station
Warwick Avenue Bakerloo line Edgware Road

{{Adjacent stations/sandbox}}

Preceding stationUnderground (no text).svg London UndergroundFollowing station
Bakerloo line
Hashed colour, system icon instead of title, second default (data page)
{{Adjacent stations|left=London|line=1|right=Seoul|system=example}}

{{Adjacent stations}}

Preceding station BSicon BAHN.svg example Following station
London Example 1 Seoul
towards Busan

{{Adjacent stations/sandbox}}

Preceding stationBSicon BAHN.svgFollowing station
Example 1
towards Busan
circular, oneway (data page)
{{Adjacent stations|left=Tin Tsz|left2=Tin Tsz|line=705|line2=706|right=Tin Shui Wai|right2=Tin Shui Wai|system=MTR Light Rail}}

{{Adjacent stations}}

Preceding stop MTR Light Rail MTR Light Rail Following stop
Tin Tsz
Anticlockwise around Tin Shui Wai
705 Tin Shui Wai
One-way operation
Tin Tsz
One-way operation
706 Tin Shui Wai
Clockwise around Tin Shui Wai

{{Adjacent stations/sandbox}}

Preceding stopMTR Light Rail MTR Light RailFollowing stop
Anticlockwise around Tin Shui Wai
705
one-way operation
one-way operation
706
Clockwise around Tin Shui Wai

Other transclusion parameters

note (data page)
{{Adjacent stations|left=Admiralty|line=Island|note-left=Named after [[HMS Tamar (shore station)|HMS ''Tamar'']]|note-mid=This line opened in 1985|note-right=A shopping area|note-row=The MTR is one of the most profitable metro systems in the world|right=Causeway Bay|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
Named after HMS Tamar
towards Kennedy Town
Island line
This line opened in 1985
Causeway Bay
A shopping area
towards Chai Wan
The MTR is one of the most profitable metro systems in the world

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
Named after HMS Tamar
towards Kennedy Town
Island line
This line opened in 1985
A shopping area
towards Chai Wan
The MTR is one of the most profitable metro systems in the world
oneway (data page)
{{Adjacent stations|left=Admiralty|line=Island|oneway-right=yes|right=Causeway Bay|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
One-way operation

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
one-way operation
header (data page)
{{Adjacent stations|header3=Former services|left=CKS Memorial Hall|left2=Dongmen|left3=CKS Memorial Hall|left4=CKS Memorial Hall|line=G|line2=O|line3=TXN|line4=TXN|right=Taipower Building|right2=Dingxi|right3=Taipower Building|right4=Dingxi|system=Taipei Metro|to-right3=Xindian|to-right4=Nanshijiao}}

{{Adjacent stations}}

Preceding station 18px Taipei Metro Following station
CKS Memorial Hall Songshan–Xindian line Taipower Building
towards Songshan
Dongmen
towards Huilong or Luzhou
Zhonghe–Xinlu line Dingxi
towards Nanshijiao
Former services
CKS Memorial Hall
towards Tamsui or Beitou
Tamsui–Xindian–Nanshijiao Taipower Building
towards Xindian
Dingxi
towards Nanshijiao

{{Adjacent stations/sandbox}}

Preceding station18px Taipei MetroFollowing station
Songshan–Xindian line
towards Songshan
towards Huilong or Luzhou
Zhonghe–Xinlu line
towards Nanshijiao
Former services
towards Tamsui or Beitou
Tamsui–Xindian–Nanshijiao
towards Xindian
towards Nanshijiao
through (data page)
{{Adjacent stations|line=G|right=Gongguan|system=Taipei Metro|through=R}}

{{Adjacent stations}}

Preceding station 18px Taipei Metro Following station
through to Tamsui–Xinyi line Songshan–Xindian line Gongguan
towards Songshan

{{Adjacent stations/sandbox}}

Preceding station18px Taipei MetroFollowing station
Songshan–Xindian line
towards Songshan
reverse (data page)
{{Adjacent stations|line=G|reverse=yes|right=Gongguan|system=Taipei Metro}}

{{Adjacent stations}}

Preceding station 18px Taipei Metro Following station
Reverses direction Songshan–Xindian line Gongguan
towards Songshan

{{Adjacent stations/sandbox}}

Preceding station18px Taipei MetroFollowing station
Reverses direction
Songshan–Xindian line
towards Songshan
nonstop (data page)
{{Adjacent stations|left=Kowloon|line=Tung Chung|line2=Airport|nonstop2=yes|right=Nam Cheong|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Kowloon
towards Hong Kong
Tung Chung line Nam Cheong
towards Tung Chung
     Airport Express does not stop here

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Hong Kong
Tung Chung line
towards Tung Chung
     Airport Express does not stop here
nonstop past (data page)
{{Adjacent stations|left=Kowloon|line=Tung Chung|line2=Airport|nonstop2=former|right=Nam Cheong|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Kowloon
towards Hong Kong
Tung Chung line Nam Cheong
towards Tung Chung
     Airport Express did not stop here

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Hong Kong
Tung Chung line
towards Tung Chung
     Airport Express did not stop here
transfer (data page)
{{Adjacent stations|line2=Liujia|right2=Zhuzhong|system2=Taiwan Railways|transfer2=Liujia}}

{{Adjacent stations}}

Preceding station Taiwan Railways Administration Taiwan Railways Following station
Terminus Liujia line
transfer at Liujia
Zhuzhong
towards Liujia

{{Adjacent stations/sandbox}}

Preceding stationTaiwan Railways Administration Taiwan RailwaysFollowing station
Terminus
Liujia line
transfer at Liujia
towards Liujia

Unintended uses

Transclusion

No parameters
{{Adjacent stations}}

{{Adjacent stations}}

{{Adjacent stations/sandbox}}

Unknown system
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=RTM}}

{{Adjacent stations}}

Lua error in package.lua at line 80: module 'Module:Adjacent stations/RTM' not found.

{{Adjacent stations/sandbox}}

Lua error in package.lua at line 80: module 'Module:Adjacent stations/RTM' not found.

system only (data page)
{{Adjacent stations|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 575: attempt to index a nil value.

Blank line (data page)
{{Adjacent stations|left=Admiralty|line=|right=Causeway Bay|system=MTR}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards
_default line Causeway Bay
towards

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 575: attempt to index a nil value.

Unknown line (data page)
{{Adjacent stations|left=Admiralty|line=Foo|right=Causeway Bay|system=MTR}}

{{Adjacent stations}}

Lua error in Module:Adjacent_stations at line 236: Unknown line "Foo".

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 510: Unknown line "Foo".

Blank type (data page)
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=MTR|type=}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
towards Chai Wan

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
towards Chai Wan
Unknown type (data page)
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=MTR|type=Foo}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line
Foo
Causeway Bay
towards Chai Wan

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
towards Chai Wan
Blank note-mid (data page)
{{Adjacent stations|left=Admiralty|line=Island|note-mid=|right=Causeway Bay|system=MTR|type=Foo}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line
Foo
Causeway Bay
towards Chai Wan

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
towards Chai Wan

Bugs

Oxford Circus tube station (data page)
{{Adjacent stations|header=Current services|left2=Regent's Park|left3=Bond Street|left4=Green Park|line2=Bakerloo|line3=Central|line4=Victoria|right2=Piccadilly Circus|right3=Tottenham Court Road|right4=Warren Street|system2=London Underground}}

{{Adjacent stations}}

Lua error: [INVALID].

{{Adjacent stations/sandbox}}

Current services
Preceding stationUnderground (no text).svg London UndergroundFollowing station
Bakerloo line
Central line
towards Brixton
Victoria line
North point station (data page)
{{Adjacent stations|header4=Former|header5=Planned ([[North Island Line]] extension)|left1=Fortress Hill|left4=Quarry Bay|left5=Causeway Bay North|left6=Causeway Bay North|line1=Island|line2=Tseung Kwan O|line4=Kwun Tong|line5=Tseung Kwan O|note-mid3=Rush hours only|note-mid4=2001–2002|note-mid6=Rush hours only|right1=Quarry Bay|right2=Quarry Bay|right3=Quarry Bay|right5=Quarry Bay|right6=Quarry Bay|system=MTR|to-left4=Yau Ma Tei|to-left5=Tamar|to-left6=Tamar|to-right3=LOHAS Park|to-right4=North Point|to-right6=LOHAS Park}}

{{Adjacent stations}}

Preceding station MTR MTR Following station
Fortress Hill
towards Kennedy Town
Island line Quarry Bay
towards Chai Wan
Terminus Tseung Kwan O line Quarry Bay
towards Po Lam
Tseung Kwan O line
Rush hours only
Quarry Bay
towards LOHAS Park
Former
Quarry Bay
towards Yau Ma Tei
Kwun Tong line
2001–2002
Terminus
Planned (North Island Line extension)
Causeway Bay North
towards Tamar
Tseung Kwan O line Quarry Bay
towards Po Lam
Tseung Kwan O line
Rush hours only
Quarry Bay
towards LOHAS Park

{{Adjacent stations/sandbox}}

Preceding stationMTR MTRFollowing station
towards Kennedy Town
Island line
towards Chai Wan
Terminus
Tseung Kwan O line
Tseung Kwan O line
Rush hours only
towards Po Lam
Former
towards Whampoa
Kwun Tong line
2001–2002
Terminus
Planned (North Island Line extension)
towards North Point
Tseung Kwan O line
towards Po Lam
Tseung Kwan O line
Rush hours only
towards Po Lam