Module talk:Adjacent stations/testcases
Appearance
terminus link
[edit]code | sandbox | expected |
---|---|---|
{{ltl |system=testcases/Test module |line=balabala}} | ||
{{ltl |system=testcases/Test module |line=line with no terminus}} | ||
{{ltl |system=testcases/Test module |line=line with only left terminus |side=l}} | Tiyu Xilu | Tiyu Xilu |
{{ltl |system=testcases/Test module |line=line with only left terminus |side=r}} | ||
{{ltl |system=testcases/Test module |line=line with only right terminus |side=l}} | ||
{{ltl |system=testcases/Test module |line=line with only right terminus |side=r}} | Tiaodeng | Tiaodeng |
{{ltl |system=testcases/Test module |line=line with both terminus |side=l}} | Tiyu Xilu | Tiyu Xilu |
{{ltl |system=testcases/Test module |line=line with both terminus |side=r}} | Tiaodeng | Tiaodeng |
{{ltl |system=testcases/Test module |line=terminus in station format |side=l}} | Auditorium | Auditorium |
{{ltl |system=testcases/Test module |line=terminus in station format |side=r}} | Chunhua Ave. | Chunhua Avenue |
{{ltl |system=testcases/Test module |line=terminus with array |side=l}} | Airport North or Tianhe Coach Terminal | Airport North or Tianhe Coach Terminal |
{{ltl |system=testcases/Test module |line=terminus with array |side=r}} | Airport South, Zhujiang New Town or Auditorium | Airport South, Zhujiang New Town or Auditorium |
{{ltl |system=testcases/Test module |line=line with both terminus and types |side=l}} | Tiyu Xilu | Tiyu Xilu |
{{ltl |system=testcases/Test module |line=line with both terminus and types |side=r}} | Tiaodeng | Tiaodeng |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=balabala |side=l}} | Tiyu Xilu | (should fallback to Tiyu Xilu) |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=balabala |side=r}} | Tiaodeng | (should fallback to Tiaodeng) |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type with no terminus |side=l}} | Tiyu Xilu | (should fallback to Tiyu Xilu) |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type with no terminus |side=r}} | Tiaodeng | (should fallback to Tiaodeng) |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type with only left terminus |side=l}} | Nanping | Nanping |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type with only left terminus |side=r}} | Tiaodeng | (should fallback to Tiaodeng) |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type with both terminus |side=l}} | Nanping | Nanping |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type with both terminus |side=r}} | Tiaodeng | Tiaodeng |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type of circular line |side=l}} | Tiaodeng | Tiaodeng |
{{ltl |system=testcases/Test module |line=line with both terminus and types |type=type of circular line |side=r}} | Tangjiatuo | Tangjiatuo |
{{ltl |system=testcases/Test module |line=circular line |side=l}} | Counter-clockwise | Counter-clockwise |
{{ltl |system=testcases/Test module |line=circular line |side=r}} | Clockwise | Clockwise |
{{ltl |system=testcases/Test module |line=circular line |type=type of circular line |side=l}} | Tiaodeng | Tiaodeng |
{{ltl |system=testcases/Test module |line=circular line |type=type of circular line |side=r}} | Tangjiatuo | Tangjiatuo |
{{ltl |system=testcases/Test module |line=circular line |type=terminus with array |side=l}} | Airport North or Tianhe Coach Terminal | Airport North or Tianhe Coach Terminal |
{{ltl |system=testcases/Test module |line=circular line |type=terminus with array |side=r}} | Airport South, Zhujiang New Town or Auditorium | Airport South, Zhujiang New Town or Auditorium |
icon
[edit]167 of 171 tests failed.
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations|icon|system=testcases/Test module}} | MTR | |||
{{#invoke:Adjacent stations|icon|testcases/Test module}} | MTR | |||
{{#invoke:Adjacent stations|icon|system=San Diego Trolley}} | ||||
{{#invoke:Adjacent stations|icon|San Diego Trolley}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with title}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with title}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=type with title}} | File:Taoyuan Metro Line Airport.svg | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|type with title}} | File:Taoyuan Metro Line Airport.svg | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=icon type}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|icon type}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon with type|type=type with icon}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon with type|type with icon}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon with type|type=type without icon}} | MTR | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon with type|type without icon}} | MTR | |||
{{#invoke:Adjacent stations|icon|Antwerp tram|1}} | ||||
{{#invoke:Adjacent stations|icon|Antwerp tram|line 1}} | ||||
{{#invoke:Adjacent stations|icon|São Paulo Metropolitan Trains|13-AE}} | ||||
{{#invoke:Adjacent stations|icon|Taiwan High Speed Rail}} | ||||
{{#invoke:Adjacent stations|icon|Brampton Transit|Brampton Transit}} |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations|icon|system=Brussels Metro|line=1}} | 1 | |||
{{#invoke:Adjacent stations|icon|Brussels Metro|1}} | 1 | |||
{{#invoke:Adjacent stations|icon|system=Vorarlberg S-Bahn|line=1}} | S1 | |||
{{#invoke:Adjacent stations|icon|Vorarlberg S-Bahn|1}} | S1 | |||
{{#invoke:Adjacent stations|icon|system=MTR|line=Island}} | ||||
{{#invoke:Adjacent stations|icon|MTR|Island}} | ||||
{{#invoke:Adjacent stations|icon|system=MTR|line=isl}} | ||||
{{#invoke:Adjacent stations|icon|MTR|isl}} | ||||
{{#invoke:Adjacent stations|icon|system=Shenzhen Metro|line=1}} | 1 | |||
{{#invoke:Adjacent stations|icon|Shenzhen Metro|1}} | 1 | |||
{{#invoke:Adjacent stations|icon|system=MTR Light Rail|line=505}} | 505 | |||
{{#invoke:Adjacent stations|icon|MTR Light Rail|505}} | 505 |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=link line}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|link line}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=route line}} | 501 Züm Queen | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|route line}} | 501 Züm Queen | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=croute line}} | 501 Züm Queen | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|croute line}} | 501 Züm Queen | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=xroute line}} | 501 Züm Queen | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|xroute line}} | 501 Züm Queen | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=legend line}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|legend line}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=link line with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|link line with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=route line with linked title and short name}} | route line linked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|route line with linked title and short name}} | route line linked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=croute line with linked title and short name}} | croute line linked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|croute line with linked title and short name}} | croute line linked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=xroute line with linked title and short name}} | xroute line linked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|xroute line with linked title and short name}} | xroute line linked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=legend line with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|legend line with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=link line with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|link line with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=route line with unlinked title and short name}} | route line unlinked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|route line with unlinked title and short name}} | route line unlinked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=croute line with unlinked title and short name}} | croute line unlinked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|croute line with unlinked title and short name}} | croute line unlinked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=xroute line with unlinked title and short name}} | xroute line unlinked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|xroute line with unlinked title and short name}} | xroute line unlinked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=legend line with unlinked title and short name}} | 501 Züm Queen
| |||
{{#invoke:Adjacent stations|icon|testcases/Test module|legend line with unlinked title and short name}} | 501 Züm Queen
|
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=link type}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|link type}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=route type}} | route type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|route type}} | route type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=croute type}} | croute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|croute type}} | croute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=xroute type}} | xroute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|xroute type}} | xroute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=legend type}} | linked line title – legend title
| |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|legend type}} | linked line title – legend title
| |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=link type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|link type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=route type with linked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|route type with linked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=croute type with linked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|croute type with linked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=xroute type with linked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|xroute type with linked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=legend type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|legend type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=link type with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|link type with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=route type with unlinked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|route type with unlinked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=croute type with unlinked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|croute type with unlinked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=xroute type with unlinked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|xroute type with unlinked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and type|type=legend type with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and type|legend type with unlinked title and short name}} |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=link type}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|link type}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=route type}} | route type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|route type}} | route type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=croute type}} | croute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|croute type}} | croute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=xroute type}} | xroute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|xroute type}} | xroute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=legend type}} | Taoyuan Airport MRT – legend title
| |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|legend type}} | Taoyuan Airport MRT – legend title
| |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=link type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|link type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=route type with linked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|route type with linked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=croute type with linked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|croute type with linked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=xroute type with linked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|xroute type with linked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=legend type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|legend type with linked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=link type with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|link type with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=route type with unlinked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|route type with unlinked title and short name}} | route type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=croute type with unlinked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|croute type with unlinked title and short name}} | croute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=xroute type with unlinked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|xroute type with unlinked title and short name}} | xroute type | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=legend type with unlinked title and short name}} | ||||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|legend type with unlinked title and short name}} |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations|icon|system=testcases/Test module|name=y}} | MTR VR Group | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|name=y}} | MTR VR Group | |||
{{#invoke:Adjacent stations|icon|system=San Diego Trolley|name=y}} | San Diego Trolley | |||
{{#invoke:Adjacent stations|icon|San Diego Trolley|name=y}} | San Diego Trolley | |||
{{#invoke:Adjacent stations|icon|system=MTR|line=Island|name=y}} | Island line | |||
{{#invoke:Adjacent stations|icon|MTR|Island|name=y}} | Island line | |||
{{#invoke:Adjacent stations|icon|system=MTR|line=isl|name=y}} | Island line | |||
{{#invoke:Adjacent stations|icon|MTR|isl|name=y}} | Island line | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with title|name=y}} | Green Line | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with title|name=y}} | Green Line | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with linked title and shortname|name=y}} | linked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with linked title and shortname|name=y}} | linked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with unlinked title and shortname|name=y}} | unlinked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with unlinked title and shortname|name=y}} | unlinked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title and with shortname|name=y}} | short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title and with shortname|name=y}} | short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title|name=y}} | VR Group | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title|name=y}} | VR Group | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon and with title|name=y}} | MTR Green Line | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon and with title|name=y}} | MTR Green Line | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon and with linked title and shortname|name=y}} | MTR linked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon and with linked title and shortname|name=y}} | MTR linked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon and with unlinked title and shortname|name=y}} | MTR unlinked short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon and with unlinked title and shortname|name=y}} | MTR unlinked short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon and title and with shortname|name=y}} | MTR short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon and title and with shortname|name=y}} | MTR short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without icon title and shortname|name=y}} | MTR VR Group | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without icon title and shortname|name=y}} | MTR VR Group | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=type with title|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – type with title | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|type with title|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – type with title | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=type without title|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|type without title|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=type with linked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – linked type short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|type with linked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – linked type short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=type with unlinked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – unlinked type short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|type with unlinked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – unlinked type short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line with type|type=line without title and with shortname|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – type short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line with type|line without title and with shortname|name=y}} | File:Taoyuan Metro Line Airport.svg Taoyuan Airport MRT – type short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=type with title|name=y}} | File:Taoyuan Metro Line Airport.svg type with title | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|type with title|name=y}} | File:Taoyuan Metro Line Airport.svg type with title | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=type without title|name=y}} | File:Taoyuan Metro Line Airport.svg VR Group | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|type without title|name=y}} | File:Taoyuan Metro Line Airport.svg VR Group | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=type with linked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg linked type short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|type with linked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg linked type short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=type with unlinked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg unlinked type short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|type with unlinked title and shortname|name=y}} | File:Taoyuan Metro Line Airport.svg unlinked type short name | |||
{{#invoke:Adjacent stations|icon|system=testcases/Test module|line=line without title with type|type=line without title and with shortname|name=y}} | File:Taoyuan Metro Line Airport.svg type short name | |||
{{#invoke:Adjacent stations|icon|testcases/Test module|line without title with type|line without title and with shortname|name=y}} | File:Taoyuan Metro Line Airport.svg type short name |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Adjacent stations/sandbox|icon|system=Taipei|R}} | ||||
{{#invoke:Adjacent stations/sandbox|icon|system=testcases/Test module|line=line with type|type=222222}} | Lua error: Type "22222" for line "line with type" not in Module:Adjacent stations/testcases/Test module. |