Difference between revisions of "Module:Adjacent stations/MTR/sandbox"
Jump to navigation
Jump to search
blackwiki>Jc86035 m (ce) |
blackwiki>Jc86035 m ("colour" → "color") |
||
| Line 3: | Line 3: | ||
local p = { | local p = { | ||
| + | ["lang"] = "en-GB", | ||
["system title"] = "[[File:MTR logo.svg|x14px|link=MTR]] [[MTR]]", | ["system title"] = "[[File:MTR logo.svg|x14px|link=MTR]] [[MTR]]", | ||
["station format"] = { | ["station format"] = { | ||
| Line 43: | Line 44: | ||
["East Rail"] = { | ["East Rail"] = { | ||
["line title"] = "[[East Rail line]]", | ["line title"] = "[[East Rail line]]", | ||
| − | [" | + | ["color"] = "53b7e8", |
["left terminus"] = "Hung Hom", | ["left terminus"] = "Hung Hom", | ||
["right terminus"] = {"Lo Wu", "Lok Ma Chau"} | ["right terminus"] = {"Lo Wu", "Lok Ma Chau"} | ||
| Line 49: | Line 50: | ||
["West Rail"] = { | ["West Rail"] = { | ||
["line title"] = "[[West Rail line]]", | ["line title"] = "[[West Rail line]]", | ||
| − | [" | + | ["color"] = "a3238f", |
["left terminus"] = "Hung Hom", | ["left terminus"] = "Hung Hom", | ||
["right terminus"] = "Tuen Mun" | ["right terminus"] = "Tuen Mun" | ||
| Line 55: | Line 56: | ||
["Ma On Shan"] = { | ["Ma On Shan"] = { | ||
["line title"] = "[[Ma On Shan line]]", | ["line title"] = "[[Ma On Shan line]]", | ||
| − | [" | + | ["color"] = "923011", |
["left terminus"] = "Wu Kai Sha", | ["left terminus"] = "Wu Kai Sha", | ||
["right terminus"] = "Tai Wai" | ["right terminus"] = "Tai Wai" | ||
| Line 61: | Line 62: | ||
["Kwun Tong"] = { | ["Kwun Tong"] = { | ||
["line title"] = "[[Kwun Tong line]]", | ["line title"] = "[[Kwun Tong line]]", | ||
| − | [" | + | ["color"] = "00ab4e", |
["left terminus"] = "Whampoa", | ["left terminus"] = "Whampoa", | ||
["right terminus"] = "Tiu Keng Leng" | ["right terminus"] = "Tiu Keng Leng" | ||
| Line 67: | Line 68: | ||
["Tsuen Wan"] = { | ["Tsuen Wan"] = { | ||
["line title"] = "[[Tsuen Wan line]]", | ["line title"] = "[[Tsuen Wan line]]", | ||
| − | [" | + | ["color"] = "ed1d24", |
["left terminus"] = "Central", | ["left terminus"] = "Central", | ||
["right terminus"] = "Tsuen Wan" | ["right terminus"] = "Tsuen Wan" | ||
| Line 73: | Line 74: | ||
["Island"] = { | ["Island"] = { | ||
["line title"] = "[[Island line (MTR)|Island line]]", | ["line title"] = "[[Island line (MTR)|Island line]]", | ||
| − | [" | + | ["color"] = "007dc5", |
["left terminus"] = "Kennedy Town", | ["left terminus"] = "Kennedy Town", | ||
["right terminus"] = "Chai Wan" | ["right terminus"] = "Chai Wan" | ||
| Line 79: | Line 80: | ||
["Tseung Kwan O"] = { | ["Tseung Kwan O"] = { | ||
["line title"] = "[[Tseung Kwan O line]]", | ["line title"] = "[[Tseung Kwan O line]]", | ||
| − | [" | + | ["color"] = "7d499d", |
["left terminus"] = "North Point", | ["left terminus"] = "North Point", | ||
["right terminus"] = "Po Lam" | ["right terminus"] = "Po Lam" | ||
| Line 85: | Line 86: | ||
["Tung Chung"] = { | ["Tung Chung"] = { | ||
["line title"] = "[[Tung Chung line]]", | ["line title"] = "[[Tung Chung line]]", | ||
| − | [" | + | ["color"] = "f7943e", |
["left terminus"] = "Hong Kong", | ["left terminus"] = "Hong Kong", | ||
["right terminus"] = "Tung Chung" | ["right terminus"] = "Tung Chung" | ||
| Line 91: | Line 92: | ||
["Airport Express"] = { | ["Airport Express"] = { | ||
["line title"] = "[[Airport Express (MTR)|Airport Express]]", | ["line title"] = "[[Airport Express (MTR)|Airport Express]]", | ||
| − | [" | + | ["color"] = "00888a", |
["left terminus"] = "Hong Kong", | ["left terminus"] = "Hong Kong", | ||
["right terminus"] = "AsiaWorld–Expo" | ["right terminus"] = "AsiaWorld–Expo" | ||
| Line 97: | Line 98: | ||
["Disneyland Resort"] = { | ["Disneyland Resort"] = { | ||
["line title"] = "[[Disneyland Resort line]]", | ["line title"] = "[[Disneyland Resort line]]", | ||
| − | [" | + | ["color"] = "f173ac", |
["left terminus"] = "Sunny Bay", | ["left terminus"] = "Sunny Bay", | ||
["right terminus"] = "Disneyland Resort" | ["right terminus"] = "Disneyland Resort" | ||
| Line 103: | Line 104: | ||
["South Island"] = { | ["South Island"] = { | ||
["line title"] = "[[South Island line]]", | ["line title"] = "[[South Island line]]", | ||
| − | [" | + | ["color"] = "bac429", |
["left terminus"] = "Admiralty", | ["left terminus"] = "Admiralty", | ||
["right terminus"] = "South Horizons" | ["right terminus"] = "South Horizons" | ||
| Line 109: | Line 110: | ||
["Tuen Ma"] = { | ["Tuen Ma"] = { | ||
["line title"] = "[[Tuen Ma line]]", | ["line title"] = "[[Tuen Ma line]]", | ||
| − | [" | + | ["color"] = "923011", |
["left terminus"] = "Wu Kai Sha", | ["left terminus"] = "Wu Kai Sha", | ||
["right terminus"] = "Tuen Mun" | ["right terminus"] = "Tuen Mun" | ||
| Line 115: | Line 116: | ||
["South Island West"] = { | ["South Island West"] = { | ||
["line title"] = "[[South Island line (West)]]", | ["line title"] = "[[South Island line (West)]]", | ||
| − | [" | + | ["color"] = "9182c2", |
["left terminus"] = "HKU", | ["left terminus"] = "HKU", | ||
["right terminus"] = "Wong Chuk Hang" | ["right terminus"] = "Wong Chuk Hang" | ||
| Line 121: | Line 122: | ||
["East Kowloon"] = { | ["East Kowloon"] = { | ||
["line title"] = "[[East Kowloon line]]", | ["line title"] = "[[East Kowloon line]]", | ||
| − | [" | + | ["color"] = "d3c087", |
["left terminus"] = "Diamond Hill", | ["left terminus"] = "Diamond Hill", | ||
["right terminus"] = "Po Lam" | ["right terminus"] = "Po Lam" | ||
| Line 127: | Line 128: | ||
["Northern"] = { | ["Northern"] = { | ||
["line title"] = "[[Northern Link (MTR)|Northern Link]]", | ["line title"] = "[[Northern Link (MTR)|Northern Link]]", | ||
| − | [" | + | ["color"] = "888", |
["left terminus"] = "Kam Sheung Road", | ["left terminus"] = "Kam Sheung Road", | ||
["right terminus"] = {"Lok Ma Chau", "Kwu Tung"} | ["right terminus"] = {"Lok Ma Chau", "Kwu Tung"} | ||
| Line 133: | Line 134: | ||
["Guangdong"] = { | ["Guangdong"] = { | ||
["line title"] = "[[Guangdong Through Train]]", | ["line title"] = "[[Guangdong Through Train]]", | ||
| − | [" | + | ["color"] = "000", |
["left terminus"] = "Zhaoqing", | ["left terminus"] = "Zhaoqing", | ||
["right terminus"] = "Hung Hom" | ["right terminus"] = "Hung Hom" | ||
| Line 139: | Line 140: | ||
["Beijing–Kowloon"] = { | ["Beijing–Kowloon"] = { | ||
["line title"] = "[[Beijing–Kowloon Through Train]]", | ["line title"] = "[[Beijing–Kowloon Through Train]]", | ||
| − | [" | + | ["color"] = "000", |
["left terminus"] = "Beijing West", | ["left terminus"] = "Beijing West", | ||
["right terminus"] = "Hung Hom" | ["right terminus"] = "Hung Hom" | ||
| Line 145: | Line 146: | ||
["Shanghai–Kowloon"] = { | ["Shanghai–Kowloon"] = { | ||
["line title"] = "[[Shanghai–Kowloon Through Train]]", | ["line title"] = "[[Shanghai–Kowloon Through Train]]", | ||
| − | [" | + | ["color"] = "000", |
["left terminus"] = "Shanghai", | ["left terminus"] = "Shanghai", | ||
["right terminus"] = "Hung Hom" | ["right terminus"] = "Hung Hom" | ||
Revision as of 09:47, 28 July 2018
Documentation for this module may be created at Module:Adjacent stations/MTR/sandbox/doc
local a = "%1 station (MTR)"
local b = "%1 railway station"
local p = {
["lang"] = "en-GB",
["system title"] = "[[File:MTR logo.svg|x14px|link=MTR]] [[MTR]]",
["station format"] = {
"%1 station",
["Aberdeen"] = a,
["Admiralty"] = a,
["Airport"] = a,
["Austin"] = a,
["Central"] = a,
["Exhibition Centre"] = a,
["Kowloon"] = a,
["Prince Edward"] = a,
["Racecourse"] = a,
["Science Park"] = a,
["University"] = a,
["Beijing West"] = b,
["Changsha"] = b,
["Guangzhou East"] = b,
["Jinhua"] = b,
["Shanghai"] = b,
["West Kowloon"] = b,
["Wuchang"] = b,
["Zhaoqing"] = b,
["Zhengzhou"] = b,
["Zhuzhou"] = b,
["Changping"] = "%1 railway station (Guangdong)",
["Tuen Mun LR"] = "[[Tuen Mun stop|Tuen Mun]]",
["Siu Hong LR"] = "[[Siu Hong stop|Siu Hong]]",
["Tin Shui Wai LR"] = "[[Tin Shui Wai stop|Tin Shui Wai]]",
["Yuen Long LR"] = "[[Yuen Long stop|Yuen Long]]",
["Argyle"] = "Mong Kok station",
["Chater"] = "Central station (MTR)",
["Lai Wan"] = "Mei Foo station",
["Waterloo"] = "Yau Ma Tei station"
},
["lines"] = {
["East Rail"] = {
["line title"] = "[[East Rail line]]",
["color"] = "53b7e8",
["left terminus"] = "Hung Hom",
["right terminus"] = {"Lo Wu", "Lok Ma Chau"}
},
["West Rail"] = {
["line title"] = "[[West Rail line]]",
["color"] = "a3238f",
["left terminus"] = "Hung Hom",
["right terminus"] = "Tuen Mun"
},
["Ma On Shan"] = {
["line title"] = "[[Ma On Shan line]]",
["color"] = "923011",
["left terminus"] = "Wu Kai Sha",
["right terminus"] = "Tai Wai"
},
["Kwun Tong"] = {
["line title"] = "[[Kwun Tong line]]",
["color"] = "00ab4e",
["left terminus"] = "Whampoa",
["right terminus"] = "Tiu Keng Leng"
},
["Tsuen Wan"] = {
["line title"] = "[[Tsuen Wan line]]",
["color"] = "ed1d24",
["left terminus"] = "Central",
["right terminus"] = "Tsuen Wan"
},
["Island"] = {
["line title"] = "[[Island line (MTR)|Island line]]",
["color"] = "007dc5",
["left terminus"] = "Kennedy Town",
["right terminus"] = "Chai Wan"
},
["Tseung Kwan O"] = {
["line title"] = "[[Tseung Kwan O line]]",
["color"] = "7d499d",
["left terminus"] = "North Point",
["right terminus"] = "Po Lam"
},
["Tung Chung"] = {
["line title"] = "[[Tung Chung line]]",
["color"] = "f7943e",
["left terminus"] = "Hong Kong",
["right terminus"] = "Tung Chung"
},
["Airport Express"] = {
["line title"] = "[[Airport Express (MTR)|Airport Express]]",
["color"] = "00888a",
["left terminus"] = "Hong Kong",
["right terminus"] = "AsiaWorld–Expo"
},
["Disneyland Resort"] = {
["line title"] = "[[Disneyland Resort line]]",
["color"] = "f173ac",
["left terminus"] = "Sunny Bay",
["right terminus"] = "Disneyland Resort"
},
["South Island"] = {
["line title"] = "[[South Island line]]",
["color"] = "bac429",
["left terminus"] = "Admiralty",
["right terminus"] = "South Horizons"
},
["Tuen Ma"] = {
["line title"] = "[[Tuen Ma line]]",
["color"] = "923011",
["left terminus"] = "Wu Kai Sha",
["right terminus"] = "Tuen Mun"
},
["South Island West"] = {
["line title"] = "[[South Island line (West)]]",
["color"] = "9182c2",
["left terminus"] = "HKU",
["right terminus"] = "Wong Chuk Hang"
},
["East Kowloon"] = {
["line title"] = "[[East Kowloon line]]",
["color"] = "d3c087",
["left terminus"] = "Diamond Hill",
["right terminus"] = "Po Lam"
},
["Northern"] = {
["line title"] = "[[Northern Link (MTR)|Northern Link]]",
["color"] = "888",
["left terminus"] = "Kam Sheung Road",
["right terminus"] = {"Lok Ma Chau", "Kwu Tung"}
},
["Guangdong"] = {
["line title"] = "[[Guangdong Through Train]]",
["color"] = "000",
["left terminus"] = "Zhaoqing",
["right terminus"] = "Hung Hom"
},
["Beijing–Kowloon"] = {
["line title"] = "[[Beijing–Kowloon Through Train]]",
["color"] = "000",
["left terminus"] = "Beijing West",
["right terminus"] = "Hung Hom"
},
["Shanghai–Kowloon"] = {
["line title"] = "[[Shanghai–Kowloon Through Train]]",
["color"] = "000",
["left terminus"] = "Shanghai",
["right terminus"] = "Hung Hom"
}
},
["aliases"] = {
["tsuen wan line"] = "Tsuen Wan",
["twl"] = "Tsuen Wan",
["tw"] = "Tsuen Wan",
["kwun tong line"] = "Kwun Tong",
["ktl"] = "Kwun Tong",
["kt"] = "Kwun Tong",
["k"] = "Kwun Tong",
["island line"] = "Island",
["isl"] = "Island",
["is"] = "Island",
["i"] = "Island",
["tseung kwan o line"] = "Tseung Kwan O",
["tseung kwan o"] = "Tseung Kwan O",
["tkol"] = "Tseung Kwan O",
["tko"] = "Tseung Kwan O",
["tkl"] = "Tseung Kwan O",
["tk"] = "Tseung Kwan O",
["tung chung line"] = "Tung Chung",
["tcl"] = "Tung Chung",
["tc"] = "Tung Chung",
["disneyland resort line"] = "Disneyland Resort",
["disneyland"] = "Disneyland Resort",
["disney"] = "Disneyland Resort",
["drl"] = "Disneyland Resort",
["dr"] = "Disneyland Resort",
["d"] = "Disneyland Resort",
["airport express"] = "Airport Express",
["airport"] = "Airport Express",
["ael"] = "Airport Express",
["ae"] = "Airport Express",
["a"] = "Airport Express",
["east rail line"] = "East Rail",
["east"] = "East Rail",
["eal"] = "East Rail",
["erl"] = "East Rail",
["er"] = "East Rail",
["e"] = "East Rail",
["west rail line"] = "West Rail",
["west"] = "West Rail",
["wrl"] = "West Rail",
["wr"] = "West Rail",
["w"] = "West Rail",
["ma on shan line"] = "Ma On Shan",
["ma on shan"] = "Ma On Shan",
["mosl"] = "Ma On Shan",
["mos"] = "Ma On Shan",
["mol"] = "Ma On Shan",
["mo"] = "Ma On Shan",
["m"] = "Ma On Shan",
["tuen ma line"] = "Tuen Ma",
["tuen ma"] = "Tuen Ma",
["tml"] = "Tuen Ma",
["tm"] = "Tuen Ma",
["east west corridor"] = "Tuen Ma",
["east west line"] = "Tuen Ma",
["east-west line"] = "Tuen Ma",
["east west"] = "Tuen Ma",
["east-west"] = "Tuen Ma",
["ewl"] = "Tuen Ma",
["ewc"] = "Tuen Ma",
["ew"] = "Tuen Ma",
["east kowloon line"] = "East Kowloon",
["ekl"] = "East Kowloon",
["ek"] = "East Kowloon",
["south island line"] = "South Island",
["south island line east section"] = "South Island",
["south island line east"] = "South Island",
["south island east"] = "South Island",
["sil"] = "South Island",
["sile"] = "South Island",
["sie"] = "South Island",
["sel"] = "South Island",
["se"] = "South Island",
["south island line west section"] = "South Island West",
["south island line west"] = "South Island West",
["south island west"] = "South Island West",
["silw"] = "South Island West",
["siw"] = "South Island West",
["swl"] = "South Island West",
["sw"] = "South Island West",
["northern link"] = "Northern",
["northern"] = "Northern",
["nol"] = "Northern",
["nrl"] = "Northern",
["nr"] = "Northern",
["nl"] = "Northern",
["guangdong through train"] = "Guangdong",
["guangjiu"] = "Guangdong",
["jiuguang"] = "Guangdong",
["guangdong"] = "Guangdong",
["gd"] = "Guangdong",
["beijing–kowloon through train"] = "Beijing–Kowloon",
["beijing–kowloon"] = "Beijing–Kowloon",
["beijing-kowloon"] = "Beijing–Kowloon",
["beijingkowloon"] = "Beijing–Kowloon",
["beijing"] = "Beijing–Kowloon",
["bk"] = "Beijing–Kowloon",
["shanghai–kowloon through train"] = "Shanghai–Kowloon",
["shanghai–kowloon"] = "Shanghai–Kowloon",
["shanghai-kowloon"] = "Shanghai–Kowloon",
["shanghaikowloon"] = "Shanghai–Kowloon",
["shanghai"] = "Shanghai–Kowloon",
["sk"] = "Shanghai–Kowloon"
}
}
return p