Template:Adjacent stations/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Adjacent stations. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Basic use
| Single line (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=MTR}}
| ||||||||||||||||||||
| 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}}
| ||||||||||||||||||||||||||||||
| 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}}
| ||||||||||||||||||||||||||||
| 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}}
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}}
| ||||||||||||||||||||
| to (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Queensway|line=Central|right=Marble Arch|system=London Underground|to-right=Epping}}
| ||||||||||||||||||||
type
| No type (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=National Taiwan Sport University|line=Airport|right=Linkou|system=Taoyuan Metro}}
| ||||||||||||||||||||
| type (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=National Taiwan Sport University|line=Airport|right=Linkou|system=Taoyuan Metro|type=Express}}
| ||||||||||||||||||||
| type terminus, type colour (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=National Taiwan Sport University|line=Airport|right=Linkou|system=Taoyuan Metro|type=Commuter}}
| ||||||||||||||||||||
Other data parameters
| lang (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Canal Street|line=Z|right=Essex Street|system=New York City Subway}}
| ||||||||||||||||||||
| header stop noun (data page) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Kennedy Road|right=May Road|system=Peak Tram}}
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}}
| ||||||||||||||||||||
| Line-specific station (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Warwick Avenue|line=Bakerloo|right=Edgware Road|system=London Underground}}
| ||||||||||||||||||||
| Hashed colour, system icon instead of title, second default (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=London|line=1|right=Seoul|system=example}}
| ||||||||||||||||||||
| 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}}
| ||||||||||||||||||||||||||||||
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}}
| ||||||||||||||||||||||||||||||
| oneway (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Admiralty|line=Island|oneway-right=yes|right=Causeway Bay|system=MTR}}
| ||||||||||||||||||||
| 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}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| through (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|line=G|right=Gongguan|system=Taipei Metro|through=R}}
| ||||||||||||||||||||
| reverse (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|line=G|reverse=yes|right=Gongguan|system=Taipei Metro}}
| ||||||||||||||||||||
| nonstop (data page) | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Kowloon|line=Tung Chung|line2=Airport|nonstop2=yes|right=Nam Cheong|system=MTR}}
| ||||||||||||||||||||||||||||||
| nonstop past (data page) | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Kowloon|line=Tung Chung|line2=Airport|nonstop2=former|right=Nam Cheong|system=MTR}}
| ||||||||||||||||||||||||||||||
| transfer (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|line2=Liujia|right2=Zhuzhong|system2=Taiwan Railways|transfer2=Liujia}}
| ||||||||||||||||||||
Unintended uses
Transclusion
| No parameters | |
|---|---|
{{Adjacent stations}}
|
| Unknown system |
|---|
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=RTM}}
Lua error in package.lua at line 80: module 'Module:Adjacent stations/RTM' not found. Lua error in package.lua at line 80: module 'Module:Adjacent stations/RTM' not found. |
| system only (data page) | |||||
|---|---|---|---|---|---|
{{Adjacent stations|system=MTR}}
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}}
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}}
Lua error in Module:Adjacent_stations at line 236: Unknown line "Foo". 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=}}
| ||||||||||||||||||||
| Unknown type (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Admiralty|line=Island|right=Causeway Bay|system=MTR|type=Foo}}
| ||||||||||||||||||||
| Blank note-mid (data page) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Adjacent stations|left=Admiralty|line=Island|note-mid=|right=Causeway Bay|system=MTR|type=Foo}}
| ||||||||||||||||||||
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}}
Lua error: [INVALID].
| |||||||||||||||||||||||||
| 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}}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||