Module:Adjacent stations/Taiwan High Speed Rail
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by Taiwan High Speed Rail.
<td style="background:#Lua error in Module:Adjacent_stations at line 54: attempt to index field 'lines' (a nil value).; border-top:solid 1px gray;">Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
|
Lua error in Module:Adjacent_stations at line 54: attempt to index field 'lines' (a nil value). |
|
local function link(s1, s2)
if s2 then
return table.concat({'\[\[', s1, '|', s2, '\]\]'})
elseif s1 then
return table.concat({'\[\[', s1, '\]\]'})
end
end
return {
['system title'] = link('Taiwan High Speed Rail')
, ['THSR'] = {
['line title'] = '\[\[File:Taiwan High Speed Rail Logo(Log Only).svg|18px\]\] ' .. link('Taiwan High Speed Rail#Stations_transportation', 'HSR')
, ['colour'] = 'c35617'
, ['station link'] = function(s)
if s == 'Nangang'
or s == 'Taipei'
or s == 'Banqiao' then
return link(s .. ' station', s)
else
return link(s .. ' HSR station', s)
end
end
, ['left terminus'] = 'Nangang'
, ['right terminus'] = 'Zuoying'
}
}