வார்ப்புரு:Adjacent stations/testcases
{{Sidebar Rail}}
 {{Testcases notice}}
 == Basic use ==
 {{Test case|_collapsible=yes|_showcode=yes|_title=Single line ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Island|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Multiple lines, terminus ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR
 |line1=Tsuen Wan|left1=Central|right1=Tsim Sha Tsui
 |line3=South Island|left3=|right3=Ocean Park
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Cell auto merge ([[Module:Adjacent stations/example|data page]])
 |system=MTR
 |line1=Airport Express|left1=Hong Kong|right1=Tsing Yi
 |line2=Tung Chung|left2=Hong Kong|right2=Olympic
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Multiple systems, _default (data pages [[Module:Adjacent stations/Taiwan High Speed Rail|1]], [[Module:Adjacent stations/Taiwan Railways|2]])
 |system3=Taiwan High Speed Rail|left3=Miaoli|right3=Taoyuan
 |system4=Taiwan Railways|line4=West Coast|left4=Songshan|right4=Wanhua
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Automatic string formatting ([[Module:Adjacent stations/London Underground|data page]])
 |system=London Underground|line=Central|left=Queensway|right=Marble Arch
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=to ([[Module:Adjacent stations/London Underground|data page]])
 |system=London Underground|line=Central|left=Queensway|right=Marble Arch|to-right=Epping
 }}
 
 == type ==
 {{Test case|_collapsible=yes|_showcode=yes|_title=No type ([[Module:Adjacent stations/Taoyuan Metro|data page]])
 |system=Taoyuan Metro|line=Airport|left=National Taiwan Sport University|right=Linkou
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=type ([[Module:Adjacent stations/Taoyuan Metro|data page]])
 |system=Taoyuan Metro|line=Airport|type=Express|left=National Taiwan Sport University|right=Linkou
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=type terminus, type colour ([[Module:Adjacent stations/Taoyuan Metro|data page]])
 |system=Taoyuan Metro|line=Airport|type=Commuter|left=National Taiwan Sport University|right=Linkou
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=type circular ([[Module:Adjacent stations/Seoul Metropolitan Subway|data page]])
 |system1=Seoul Metropolitan Subway|line1=2|left1=Ttukseom|right1=Konkuk University
 |line2=2|type2=Seongsu|right2=Yongdap
 }}
 
 == Other data parameters ==
 {{Test case|_collapsible=yes|_showcode=yes|_title=lang ([[Module:Adjacent stations/New York City Subway|data page]])
 |system=New York City Subway|line=Z|left=Canal Street|right=Essex Street
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=header stop noun ([[Module:Adjacent stations/Peak Tram|data page]])
 |system=Peak Tram|left=Kennedy Road|right=May Road
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=aliases ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=i|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Line-specific station ([[Module:Adjacent stations/London Underground|data page]])
 |system=London Underground|line=Bakerloo|left=Warwick Avenue|right=Edgware Road
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Hashed colour, system icon instead of title, second default ([[Module:Adjacent stations/example|data page]])
 |system=example|line=1|left=London|right=Seoul
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=circular, oneway ([[Module:Adjacent stations/MTR Light Rail|data page]])
 |system=MTR Light Rail
 |line=705|left=Tin Tsz|right=Tin Shui Wai
 |line2=706|left2=Tin Tsz|right2=Tin Shui Wai
 }}
 
 == Other transclusion parameters ==
 {{Test case|_collapsible=yes|_showcode=yes|_title=note ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Island|note-row=The MTR is one of the most profitable metro systems in the world|note-mid=This line opened in 1985|left=Admiralty|note-left=Named after [[HMS Tamar (shore station)|HMS ''Tamar'']]|right=Causeway Bay|note-right=A shopping area
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=oneway ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Island|left=Admiralty|right=Causeway Bay|oneway-right=yes
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=header ([[Module:Adjacent stations/Taipei Metro|data page]])
 |system=Taipei Metro
 |line=G|left=CKS Memorial Hall|right=Taipower Building
 |line2=O|left2=Dongmen|right2=Dingxi
 |header3=Former services
 |line3=TXN|left3=CKS Memorial Hall|right3=Taipower Building|to-right3=Xindian
 |line4=TXN|left4=CKS Memorial Hall|right4=Dingxi|to-right4=Nanshijiao
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=through ([[Module:Adjacent stations/Taipei Metro|data page]])
 |system=Taipei Metro|line=G|right=Gongguan|through=R
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=reverse ([[Module:Adjacent stations/Taipei Metro|data page]])
 |system=Taipei Metro|line=G|right=Gongguan|reverse=yes
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=nonstop ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR
 |line=Tung Chung|left=Kowloon|right=Nam Cheong
 |line2=Airport|nonstop2=yes
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=nonstop past ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR
 |line=Tung Chung|left=Kowloon|right=Nam Cheong
 |line2=Airport|nonstop2=former
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=transfer ([[Module:Adjacent stations/Taiwan Railways|data page]])
 |system2=Taiwan Railways|line2=Liujia|transfer2=Liujia|right2=Zhuzhong}}
 
 == Unintended uses ==
 === Transclusion ===
 {{Test case|_collapsible=yes|_showcode=yes|_title=No parameters
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Unknown system
 |system=RTM|line=Island|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=system only ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Blank line ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Unknown line ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Foo|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Blank type ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Island|type=|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Unknown type ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Island|type=Foo|left=Admiralty|right=Causeway Bay
 }}
 {{Test case|_collapsible=yes|_showcode=yes|_title=Blank note-mid ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR|line=Island|type=Foo|left=Admiralty|right=Causeway Bay|note-mid=
 }}
 
 == Bugs ==
 {{Test case|_collapsible=yes|_showcode=yes|_title=Oxford Circus tube station ([[Module:Adjacent stations/London Underground|data page]])
 |header=Current services
 |system2=London Underground
 |line2=Bakerloo|left2=Regent's Park|right2=Piccadilly Circus
 |line3=Central|left3=Bond Street|right3=Tottenham Court Road
 |line4=Victoria|left4=Green Park|right4=Warren Street
 }}
 
 {{Test case|_collapsible=yes|_showcode=yes|_title=North point station ([[Module:Adjacent stations/MTR|data page]])
 |system=MTR
 |line1=Island|left1=Fortress Hill|right1=Quarry Bay
 |line2=Tseung Kwan O
 |right2=Quarry Bay
 |right3=Quarry Bay|note-mid3=Rush hours only|to-right3=LOHAS Park
 |header4=Former|line4=Kwun Tong|left4=Quarry Bay|note-mid4=2001–2002|to-left4=Yau Ma Tei|to-right4=North Point
 |header5=Planned ([[North Island Line]] extension)|line5=Tseung Kwan O
 |left5=Causeway Bay North|right5=Quarry Bay|to-left5=Tamar
 |left6=Causeway Bay North|right6=Quarry Bay|note-mid6=Rush hours only|to-left6=Tamar|to-right6=LOHAS Park