Module:Adjacent stations/PKP Intercity
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by PKP Intercity.
<td style="background:#Lua error at line 18: variable 'hpf' is not declared.; border-top:solid 1px gray;"> <td style="background:#Lua error at line 18: variable 'hpf' is not declared.; border-top:solid 1px gray;"> <td style="background:#Lua error at line 18: variable 'hpf' is not declared.; border-top:solid 1px gray;"> <td style="background:#Lua error at line 18: variable 'hpf' is not declared.; border-top:solid 1px gray;"> <td style="background:#Lua error at line 18: variable 'hpf' is not declared.; border-top:solid 1px gray;"> <td style="background:#Lua error at line 18: variable 'hpf' is not declared.; border-top:solid 1px gray;">Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Lua error at line 18: variable 'hpf' is not declared. | TLK |
Lua error at line 18: variable 'hpf' is not declared. |
Lua error at line 18: variable 'hpf' is not declared. | |
Lua error at line 18: variable 'hpf' is not declared. | IC |
Lua error at line 18: variable 'hpf' is not declared. |
Lua error at line 18: variable 'hpf' is not declared. | |
Lua error at line 18: variable 'hpf' is not declared. | EIC |
Lua error at line 18: variable 'hpf' is not declared. |
Lua error at line 18: variable 'hpf' is not declared. | |
Lua error at line 18: variable 'hpf' is not declared. | EIP |
Lua error at line 18: variable 'hpf' is not declared. |
Lua error at line 18: variable 'hpf' is not declared. | |
Lua error at line 18: variable 'hpf' is not declared. | EuroCity |
Lua error at line 18: variable 'hpf' is not declared. |
Lua error at line 18: variable 'hpf' is not declared. | |
Lua error at line 18: variable 'hpf' is not declared. | EuroNight |
Lua error at line 18: variable 'hpf' is not declared. |
Lua error at line 18: variable 'hpf' is not declared. |
local stn = "%1 station"
local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local Q = "<span class=error>????</span>"
local n = "<span style=\"color:#%s; background:#%s; padding-left:.3em; padding-right:.3em; font-weight:bold;\">%s</span>"
local p = {
["system title"] = "[[PKP Intercity]]",
["system color"] = "003876",
["name format"] = "font-size:150%; font-family:sans-serif; font-weight:bolder; line-height:150%; color:#ffffff; background-color:#013765",
["header background color"] = "013765",
["header text color"] = "FFFFFF",
["station format"] = {
"%1 railway station",
["Warszawa Zachodnia"] = stn,
["Warszawa Gdańska"] = stn,
["Budapest Nyugati"] = stn,
["Frankfurt (Oder)"] = stn,
["Berlin"] = hpf,
["Wien"] = hpf,
["Prague"] = "[[Praha hlavní nádraží|Prague]]",
},
["lines"] = {
["_default"] = {
["color"] = "013765",
["title"] = "''[[Polish State Railways|PKP]]''"
},
["EIC"] = {
["title"] = string.format(n, "FFF", "6C727A", "EIC"),
["left terminus"] = Q,
["right terminus"] = Q
},
["EIP"] = {
["title"] = string.format(n, "FFF", "102C76", "EIP"),
["left terminus"] = Q,
["right terminus"] = Q
},
["IC"] = {
["title"] = string.format(n, "FFF", "EF7F0B", "IC"),
["left terminus"] = Q,
["right terminus"] = Q
},
["TLK"] = {
["title"] = string.format(n, "FFF", "F86505", "TLK"),
["left terminus"] = Q,
["right terminus"] = Q
},
["EuroCity"] = {
["color"] = "A78B6B",
["title"] = "''[[EuroCity#List of EuroCity services|EuroCity]]''",
["left terminus"] = Q,
["right terminus"] = Q
},
["EuroNight"] = {
["color"] = "000099",
["title"] = "''[[EuroNight#List_of_EuroNight_trains|EuroNight]]''",
["left terminus"] = Q,
["right terminus"] = Q
},
},
["aliases"] ={
["PKP TLK"] = "TLK",
["PKP IC"] = "IC",
["PKP EIC"] = "EIC",
["PKP EIP"] = "EIP",
["PKPTLK"] = "TLK",
["PKPIC"] = "IC",
["PKPEIC"] = "EIC",
["PKPEIP"] = "EIP",
["EC"] = "EuroCity",
["EN"] = "EuroNight",
}
}
return p