-- standardized types
local EC = {
["title"] = "[[EuroCity|EC]]",
["color"] = "00CC00",
}
local EN = {
["title"] = "[[EuroNight]]",
["color"] = "221d47",
}
local IC = {
["title"] = "[[InterCity#Czech Republic|IC]]",
["color"] = "0000CC",
}
local Os = {
["title"] = "[[Passenger train (category)|Os]]",
["color"] = "0000CC",
}
local R = {
["title"] = "[[Express train|R]]",
["color"] = "CC0000",
}
local rj = {
["color"] = "7b0e07",
["title"] = "[[Railjet]]",
}
local rjx = {
["color"] = "7b0e07",
["title"] = "[[Railjet|Railjet Express]]",
}
local Sp = {
["title"] = "[[Eilzug|Sp]]",
["color"] = "0000CC",
}
local stn = "%1 station"
local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local p = {
["system title"] = "[[České dráhy]]",
["system icon"] = "",
["station format"] = {
"%1 railway station",
["Berlin"] = hbf,
["Bad Schandau"] = stn,
["Budapest Nyugati"] = stn,
["České Budějovice sev.z."] = "České Budějovice severní zastávka",
["Flensburg"] = stn,
["Kiel"] = hbf,
["Linz"] = hbf,
["Ostrava"] = "Ostrava main railway station",
["Pardubice hl.n."] = "Pardubice hlavní nádraží",
["Praha hl.n."] = "Praha hlavní nádraží",
["Velešín město"] = "%1",
["Žďár n.Sázavou"] = "Žďár nad Sázavou",
["Zürich"] = hbf,
},
["lines"] = {
["_default"] = {
["color"] = "0000CC",
},
-- EC (EuroCity)
--EC 27
["EC 27"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = "Hamburg-Altona",
["right terminus"] = "Praha hl.n.",
},
-- 170-171, 174-179, 258-259, 378-379
["EC Berliner"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = {"Hamburg-Altona", "Flensburg", "Kiel", "Berlin"},
["right terminus"] = "Praha hl.n.",
},
--EC 270
["EC Metropolitan"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = {"Hamburg-Altona", "Flensburg", "Kiel", "Berlin"},
["right terminus"] = "Praha hl.n.",
},
-- 336/337
["EC Jižní expres"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = "Zürich",
["right terminus"] = "Praha hl.n.",
},
-- 458-459
["EC Canopus"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = "Zürich",
["right terminus"] = "Praha hl.n.",
},
-- 172-173
["EC Hungaria"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = "Hamburg-Altona",
["right terminus"] = "Budapest Nyugati",
},
-- 330-337
["EC Jižní expres"] = {
["title"] = EC.title,
["color"] = EC.color,
["left terminus"] = "Linz",
["right terminus"] = "Praha hl.n.",
},
-- RailJet
-- 370-373
["RJ Graz-Prague"] = {
["title"] = rj.title,
["color"] = rj.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = "Graz",
},
--Euronight
--EN 442, 443
["EN Slovakia"] = {
["title"] = EN.title,
["color"] = EN.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = "Humenné",
},
--EN 476, 477
["EN Metropol"] = {
["title"] = EN.title,
["color"] = EN.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = "Budapest Nyugati",
},
-- 50466, 50467
["EN Zürich-Prague"] = {
["title"] = EN.title,
["color"] = EN.color,
["left terminus"] = "Zürich",
["right terminus"] = "Praha hl.n.",
},
-- IC (InterCity)
["IC Jižní expres"] = {
["title"] = IC.title,
["color"] = IC.color,
["left terminus"] = "Český Krumlov",
["right terminus"] = "Praha hl.n.",
},
-- Os (Osobní vlak)
["Os Bayerisch Eisenstein–Klatovy"] = {
["title"] = Os.title,
["color"] = Os.color,
["left terminus"] = "Bayerisch Eisenstein",
["right terminus"] = "Klatovy",
},
["Os České Budějovice–České Velenice"] = {
["title"] = Os.title,
["color"] = Os.color,
["left terminus"] = "České Budějovice",
["right terminus"] = "České Velenice",
},
["Os Cranzahl–Chomutov"] = {
["title"] = Os.title,
["color"] = Os.color,
["note-mid"] = "Limited service",
["left terminus"] = "Cranzahl",
["right terminus"] = "Chomutov",
},
["Os Kadan–Děčín"] = {
["title"] = Os.title,
["color"] = Os.color,
["left terminus"] = "Kadan predmesti",
["right terminus"] = "Děčín main",
},
["Os Strakonice–České Budějovice"] = {
["title"] = Os.title,
["color"] = Os.color,
["left terminus"] = "Strakonice",
["right terminus"] = "České Budějovice",
},
-- R (Rychlík)
["R Berounka (Plzeň)"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Plzeň",
["right terminus"] = "Praha hl.n.",
},
["R Berounka"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Bayerisch Eisenstein",
["right terminus"] = "Praha hl.n.",
},
--R 605, 607, 609, 611, 615, 617, 619
["R Krušnohor"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = {"Chomutov", "Cheb"},
["types"] = {
["Cheb"] = {
--all except 605
["title"] = "",
["left terminus"] = "Cheb",
},
},
},
--R 876 Svitava
["R Svitava"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = "Brno main",
},
["R Rožmberk"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Plzeň main",
["right terminus"] = "Brno main",
},
["R Vltava"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "České Budějovice",
["right terminus"] = "Praha hl.n.",
},
-- R 924, 926, 928, 930, 932, 934
["R Krakonoš"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = "Trutnov",
},
-- R 950, 952
["R Hradečan"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Praha hl.n.",
["right terminus"] = "Hradec Králové",
},
-- R 962-964
["R Vysočina"] = {
["title"] = R.title,
["color"] = R.color,
["left terminus"] = "Praha-Vršovice",
["right terminus"] = {"Havlíčkův Brod", "Žďár n.Sázavou"},
},
-- Sp (Spěšný vlak)
["Sp Písek–České Budějovice"] = {
["title"] = Sp.title,
["color"] = Sp.color,
["left terminus"] = "Písek",
["right terminus"] = "České Budějovice",
},
["Sp Šumava"] = {
["title"] = Sp.title,
["color"] = Sp.color,
["left terminus"] = "Bayerisch Eisenstein",
["right terminus"] = "Plzeň main",
},
["Sp Vltava Dunaj"] = {
["title"] = Sp.title,
["color"] = Sp.color,
["left terminus"] = "Linz",
["right terminus"] = "České Budějovice",
},
["EC"] = {
["color"] = "00CC00",
},
["Supercity"] = {
["title"] = "[[ČD Class 680|SuperCity Pendolino]]",
["color"] = "007777",
["left terminus"] = {"Františkovy Lázně", "Praha hl.n."},
["right terminus"] = "Ostrava",
["types"] = {
["Františkovy Lázně"] = {
["title"] = "",
["left terminus"] = "Františkovy Lázně",
},
}
},
},
}
return p