Jump to content

Template:Adjacent stations/testcases

From Wikipedia, the free encyclopedia

Basic use

[edit]
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 station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
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 station MTR MTR Following station
Central
Terminus
Tsuen Wan line Tsim Sha Tsui
towards Tsuen Wan
Terminus South Island line Ocean Park
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 station MTR MTR Following station
Hong Kong
Terminus
Airport Express Tsing Yi
Tung Chung line Olympic
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 Taiwan High Speed Rail Taiwan High Speed Rail Following station
Miaoli
towards Nangang
THSR Taoyuan
towards Zuoying
Preceding station Taiwan Railway Taiwan Railway Following station
Songshan
towards Keelung
Western Trunk line Wanhua
towards Pingtung

{{Adjacent stations/sandbox}}

Preceding station Taiwan High Speed Rail Taiwan High Speed Rail Following station
Miaoli
towards Nangang
THSR Taoyuan
towards Zuoying
Preceding station Taiwan Railway Taiwan Railway Following station
Songshan
towards Keelung
Western Trunk line Wanhua
towards Pingtung
Automatic string formatting (data page)
{{Adjacent stations|left=Queensway |line=Central |right=Marble Arch |system=London Underground}}

{{Adjacent stations}}

Preceding station London Underground Following station
Queensway Central line Marble Arch

{{Adjacent stations/sandbox}}

Preceding station London Underground Following station
Queensway Central line Marble Arch
{{Adjacent stations|left=Queensway |line=Central |right=Marble Arch |system=London Underground |to-right=Epping}}

{{Adjacent stations}}

Preceding station London Underground Following station
Queensway Central line Marble Arch
towards Epping

{{Adjacent stations/sandbox}}

Preceding station London Underground Following station
Queensway Central line Marble Arch
towards Epping

type

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

{{Adjacent stations}}

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

{{Adjacent stations/sandbox}}

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

{{Adjacent stations}}

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

{{Adjacent stations/sandbox}}

Preceding station Taoyuan Metro Following station
National Taiwan Sport University Taoyuan Airport MRT
Express
Linkou
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 Taoyuan Metro Following station
National Taiwan Sport University
towards Laojie River
Taoyuan Airport MRT
Commuter
Linkou

{{Adjacent stations/sandbox}}

Preceding station Taoyuan Metro Following station
National Taiwan Sport University
towards Laojie River
Taoyuan Airport MRT
Commuter
Linkou
type circular (data page)
{{Adjacent stations|left1=Ttukseom |line1=2 |line2=2 |right1=Konkuk University |right2=Yongdap |system1=Seoul Metropolitan Subway |type2=Seongsu}}

{{Adjacent stations}}

Preceding station Seoul Metropolitan Subway Following station
Ttukseom
Next counter-clockwise
Line 2 Konkuk University
Next clockwise
Terminus Line 2
Seongsu Branch
Yongdap
towards Sinseol-dong

{{Adjacent stations/sandbox}}

Preceding station Seoul Metropolitan Subway Following station
Ttukseom
Next counter-clockwise
Line 2 Konkuk University
Next clockwise
Terminus Line 2
Seongsu Branch
Yongdap
towards Sinseol-dong

Other data parameters

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

{{Adjacent stations}}

Lua error in Module:Adjacent_stations at line 82: lineN was "brown" but neither an entry for it nor a default was found. Choices were: Lexington, Broadway south via bridge, Broadway-Seventh local, Broadway, Nassau, Nassau north, Fourth express, Eighth express 59th, Lexington local, Eighth express far south, Broadway south, Eighth express south, Fourth local via Bridge, Eighth local far south, Eighth local south, Broadway bridge, Broadway main, Broadway-Seventh, Eighth, Broadway express.

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 82: lineN was "brown" but neither an entry for it nor a default was found. Choices were: Lexington, Broadway south via bridge, Broadway-Seventh local, Broadway, Nassau, Nassau north, Fourth express, Eighth express 59th, Lexington local, Eighth express far south, Broadway south, Eighth express south, Fourth local via Bridge, Eighth local far south, Eighth local south, Broadway bridge, Broadway main, Broadway-Seventh, Eighth, Broadway express.

header stop noun (data page)
{{Adjacent stations|left=Kennedy Road |right=May Road |system=Peak Tram}}

{{Adjacent stations}}

Preceding stop The Peninsula Hotels Following stop
Kennedy Road Peak Tram May Road

{{Adjacent stations/sandbox}}

Preceding stop The Peninsula Hotels Following stop
Kennedy Road Peak Tram May Road
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 station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
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 London Underground Following station
Warwick Avenue Bakerloo line Edgware Road

{{Adjacent stations/sandbox}}

Preceding station London Underground Following station
Warwick Avenue Bakerloo line Edgware Road
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 example Following station
London Example 1 Seoul
towards Busan

{{Adjacent stations/sandbox}}

Preceding station example Following station
London Example 1 Seoul
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 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

Other transclusion parameters

[edit]
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 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
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 station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
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}}

Lua error in Module:Adjacent_stations at line 237: Unknown line "TXN".

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 237: Unknown line "TXN".

through (data page)
{{Adjacent stations|line=G |right=Gongguan |system=Taipei Metro |through=R}}

{{Adjacent stations}}

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

{{Adjacent stations/sandbox}}

Preceding station Taipei Metro Following station
through to Tamsui–Xinyi line Songshan–Xindian line Gongguan
towards Songshan
reverse (data page)
{{Adjacent stations|line=G |reverse=yes |right=Gongguan |system=Taipei Metro}}

{{Adjacent stations}}

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

{{Adjacent stations/sandbox}}

Preceding station Taipei Metro Following station
Reverses direction Songshan–Xindian line Gongguan
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 station MTR MTR Following station
Kowloon
towards Hong Kong
Tung Chung line Nam Cheong
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 station MTR MTR Following station
Kowloon
towards Hong Kong
Tung Chung line Nam Cheong
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 Railway Taiwan Railway Following station
Terminus Liujia line
transfer at Liujia
Zhuzhong
towards Liujia

{{Adjacent stations/sandbox}}

Preceding station Taiwan Railway Taiwan Railway Following station
Terminus Liujia line
transfer at Liujia
Zhuzhong
towards Liujia

Unintended uses

[edit]

Transclusion

[edit]
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}}

Preceding station MTR MTR Following station
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}}

Preceding station MTR MTR Following station
Admiralty
towards
_default line Causeway Bay
towards
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 237: Unknown line "Foo".

{{Adjacent stations/sandbox}}

Lua error in Module:Adjacent_stations/sandbox at line 237: 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 station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line Causeway Bay
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 station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line
Foo
Causeway Bay
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 station MTR MTR Following station
Admiralty
towards Kennedy Town
Island line
Foo
Causeway Bay
towards Chai Wan

Bugs

[edit]
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}}

Current services
Preceding station London Underground Following station
Regent's Park Bakerloo line Piccadilly Circus
Bond Street Central line Tottenham Court Road
Green Park
towards Brixton
Victoria line Warren Street

{{Adjacent stations/sandbox}}

Current services
Preceding station London Underground Following station
Regent's Park Bakerloo line Piccadilly Circus
Bond Street Central line Tottenham Court Road
Green Park
towards Brixton
Victoria line Warren Street
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 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