Module:Adjacent stations/JR West

local JRWest = "%1 Station (JR West)" local Fukui = "%1 Station (Fukui)" local Hiroshima = "%1 Station (Hiroshima)" local Hyogo = "%1 Station (Hyogo)" local Ishikawa = "%1 Station (Ishikawa)" local Kyoto = "%1 Station (Kyoto)" local Nara = "%1 Station (Nara)" local Okayama = "%1 Station (Okayama)" local Osaka = "%1 Station (Osaka)" local Shimane = "%1 Station (Shimane)" local Shiga = "%1 Station (Shiga)" local Tottori = "%1 Station (Tottori)" local Yamaguchi ="%1 Station (Yamaguchi)" local p = { ["lang"] = "en-GB", ["system icon"] = "", ["system title"] = "JR West", ["system color"] = "006CC5", ["name format"] = { "font-family: sans-serif; background-color: transparent; font-size: 150%; color: black; padding: 0.1em; line-height: 1.2em; white-space: nowrap; text-align: center; border-bottom: 8px solid #006CC5;", ["o"] = "font-family: sans-serif; background-color: transparent; font-size: 150%; color: black; padding: 0.1em; line-height: 1.2em; white-space: nowrap; text-align: center;", },   ["header background color"] = "0068B7", ["header text color"] = "ffffff", ["station format"] = { "%1 Station", ["Aioi"] = Hyogo, ["Akasaki"] = Tottori, ["Akitsu"] = Hiroshima, ["Amagasaki"] = JRWest, ["Asagiri"] = Hyogo, ["Asaka"] = Osaka, ["Asari"] = Shimane, ["Ashiya"] = Hyogo, ["Awazu"] = "Awazu Station (Ishikawa)", ["Chōfu"] = Yamaguchi, ["Daimon"] = Hiroshima, ["Fujimichō"] = Tottori, ["Fuchū"] = Hiroshima, ["Fukui"] = Fukui, ["Funaoka"] = Kyoto, ["Hanazono"] = Kyoto, ["Hase"] = Hyogo, ["Hattori"] = Okayama, ["Higashi-Matsue"] = Shimane, ["Higashiyamakōen"] = Tottori, ["Himekawa"] = "Himekawa Station (Niigata)", ["Hira"] = Shiga, ["Hirano"] = "Hirano Station (JR West)", ["Hiyoshi"] = Kyoto, ["Hongō"] = Hiroshima, ["Ichiba"] = "Ichiba Station (JR West)", ["Ikuno"] = Hyogo, ["Inō"] = Yamaguchi, ["Iwakura"] = Yamaguchi, ["Iwata"] = Yamaguchi, ["Itami"] = "Itami Station (JR West)", ["Jōtō"] = Okayama, ["Kabe"] = Hiroshima, ["Kagawa"] = Yamaguchi, ["Kamisugi"] = Hiroshima, ["Kamo"] = Kyoto, ["Kanagawa"] = Okayama, ["Katsuragawa"] = Kyoto, ["Kawanishi"] = Yamaguchi, ["Kiyama"] = Fukui, ["Kiwa"] = Yamaguchi, ["Kizu"] = Kyoto, ["Kōchi"] = Hiroshima, ["Kōdo"] = Hiroshima, ["Kōjiro"] = Yamaguchi, ["Kōnan"] = Shimane, ["Kōriyama"] = Nara, ["Kuromatsu"] = Shimane, ["Kushiro"] = Shimane, ["Kyōbashi"] = Osaka, ["Kusatsu"] = Shiga, ["Makino"] = Shiga, ["Matsuzaki"] = Tottori, ["Mitani"] = Yamaguchi, ["Mitsuishi"] = Okayama, ["Miyoshi"] = Hiroshima, ["Mikawa"] = Ishikawa, ["Mikunigaoka"] = Osaka, ["Mikuriya"] = Tottori, ["Miyoshi"] = Hiroshima, ["Moriyama"] = Shiga, ["Motomachi"] = Hyogo, ["Nagahara"] = Shiga, ["Nagao"] = Osaka, ["Nagai"] = Osaka, ["Nakashima"] = Hiroshima, ["Nawa"] = Tottori, ["Nii"] = Hyogo, ["Nijo"] = Kyoto, ["Nishinomiya"] = "Nishinomiya Station (JR West)", ["Nogi"] = Shimane, ["Nonoichi"] = JRWest, ["Nozaki"] = Osaka, ["Oda"] = Shimane, ["Okubo"] = Hyogo, ["Ōji"] = Nara, ["Ōmachi"] = Hiroshima, ["Ōmoto"] = Okayama, ["Ono"] = Shiga, ["Ōshio"] = Fukui, ["Ōtoba"] = "Ōtoba Station (Fukui)", ["Saidaiji"] = Okayama, ["Sakata"] = Shiga, ["Sakurai"] = Nara, ["Sangō"] = Nara, ["Sannomiya"] = "Sannomiya Station (JR West)", ["Seta"] = Shiga, ["Shimoyama"] = Kyoto, ["Shiki"] = Osaka, ["Shinden"] = Kyoto, ["Shinohara"] = Shiga, ["Shin-Osaka"] = "Shin-Ōsaka", ["Shioya"] = Hyogo, ["Sōgo"] = Okayama, ["Sone"] = Hyogo, ["Suita"] = "Suita Station (JR West)", ["Sumiyoshi"] = "Sumiyoshi Station (JR West)", ["Takada"] = Nara, ["Takeda"] = Hyogo, ["Takagi"] = Hiroshima, ["Takaida"] = Osaka, ["Takamatsu"] = Ishikawa, ["Takarazuka"] = "Takarazuka Station (JR West)", ["Takatori"] = Hyogo, ["Takatsu"] = Kyoto, ["Taki"] = Hyogo, ["Tarumi"] = Hyogo, ["Tatsuno"] = Hyogo, ["Tennō"] = Hiroshima, ["Tōjō"] = Hiroshima, ["Tokiwa"] = Yamaguchi, ["Tokuda"] = Ishikawa, ["Tomari"] = Tottori, ["Tsukaguchi"] = JRWest, ["Uji"] = "Uji Station (JR West)", ["Urayasu"] = "Urayasu Station (Tottori)", ["Yamaguchi"] = Yamaguchi, ["Yamanouchi"] = Hiroshima, ["Yamazaki"] = Kyoto, ["Yokoyama"] = Ishikawa, ["Yoshikawa"] = Ishikawa, ["Yoshitomi"] = Kyoto, ["Yaga"] = Hiroshima, ["Yasu"] = Shiga, ["Yuki"] = Hiroshima, },	["lines"] = { ["_default"] = { ["color"] = "0068B7", ["text color"] = "FFFFFF", },		["Hokuriku Shinkansen"] = { ["icon"] = "", ["title"] = "Hokuriku Shinkansen", ["color"] = "24197c", ["background color"] = "transparent", ["left terminus"] = "Tsuruga", ["right terminus"] = "Jōetsumyōkō", ["types"] = { ["Kagayaki"] = { ["title"] = "", ["right terminus"] = "Nagano", },				["Hakutaka"] = { ["title"] = "", },				["Tsurugi"] = { ["title"] = "", ["left terminus"] = "Tsuruga", ["right terminus"] = "Toyama", },			},		},		["Sanyo Shinkansen"] = { ["title"] = "San'yō Shinkansen", ["color"] = "24197c", ["icon"] = "", ["left terminus"] = "Hakata", ["right terminus"] = "Shin-Ōsaka", ["types"] = { ["Kodama"] = { ["title"] = "Kodama", ["left terminus"] = {"Hakata", "Hakata-Minami"}, ["background color"] = "1E90FF", },				["Mizuho"] = { ["title"] = "Mizuho", ["background color"] = "FFA500", },				["Nozomi"] = { ["title"] = "Nozomi", ["background color"] = "FFFF00", },				["Hikari"] = { ["title"] = "Hikari", ["background color"] = "FF0000", },				["Sakura"] = { ["title"] = "Sakura", ["background color"] = "FF69B4", },			},		},		["Akō"] = { ["title"] = "Akō Line", ["left terminus"] = "Okayama", ["right terminus"] = "Aioi", ["types"] = { ["A"] = { ["title"] = "", ["short name"] = "A", ["color"] = "0072BF", ["icon"] = "", },				["N"] = { ["title"] = "", ["short name"] = "N", ["color"] = "EA5E60", ["icon"] = "", },			},		},		["Bantan"] = { ["title"] = "Bantan Line", ["left terminus"] = "Himeji", ["right terminus"] = "Wadayama", ["color"] = "b11e52", ["short name"] = "J", ["icon"] = "", },		["Biwako"] = { ["title"] = "Biwako Line", ["left terminus"] = "Kyoto", ["right terminus"] = "Nagahama", ["color"] = "0072bc", ["short name"] = "A", ["icon"] = "", },		["Fukuen"] = { ["title"] = "Fukuen Line", ["color"] = "49479e", ["left terminus"] = "Miyoshi", ["right terminus"] = "Fukuyama", ["short name"] = "Z", ["icon"] = "", },		["Gakkentoshi"] = { ["title"] = "Gakkentoshi Line", ["color"] = "FF1493", ["left terminus"] = "Kyōbashi", ["right terminus"] = "Kizu", ["short name"] = "H", ["icon"] = "", },		["Gantoku"] = { ["title"] = "Gantoku Line", ["color"] = "00a663", ["left terminus"] = "Kushigahama", ["right terminus"] = "Iwakuni", },		["Geibi"] = { ["title"] = "Geibi Line", ["color"] = "8F76D6", ["left terminus"] = "Hiroshima", ["right terminus"] = "Niimi", ["short name"] = "P", ["icon"] = "", },		["Hakata-Minami"] = { ["title"] = "Hakata-Minami Line", ["left terminus"] = "Hakata-Minami", ["right terminus"] = "Hakata", ["color"] = "0073bc", ["types"] = { ["Kodama"] = { ["title"] = "Kodama", ["background color"] = "1E90FF", },			},		},		["Hakubi"] = { ["title"] = "Hakubi Line", ["color"] = "378640", ["left terminus"] = "Yonago", ["right terminus"] = "Okayama", ["short name"] = "V", ["icon"] = "", },		["Hanwa"] = { ["title"] = "Hanwa Line", ["color"] = "FF8E1F", ["left terminus"] = "Wakayama", ["right terminus"] = "Tennoji", ["short name"] = "R", ["text color"] = "000000", ["icon"] = "", },		["Hokuriku"] = { ["title"] = "Hokuriku Main Line", ["color"] = "0073bc", ["left terminus"] = "Maibara", ["right terminus"] = "Tsuruga", ["types"] = { ["A"] = { ["title"] = "", ["icon"] = "", ["short name"] = "A", },			},		},		["Honshi-Bisan"] = { ["title"] = "Honshi-Bisan Line", ["left terminus"] = "Utazu", ["right terminus"] = "Chayamachi", ["color"] = "0072bc", ["short name"] = "M", ["icon"] = "", },		["Inbi"] = { ["title"] = "Inbi Line", ["left terminus"] = "Tsuyama", ["right terminus"] = "Tottori", ["color"] = "BB7D2E", ["short name"] = "B", ["icon"] = "", },		["Kabe"] = { ["title"] = "Kabe Line", ["color"] = "09c0b0", ["left terminus"] = "Aki-Kameyama", ["right terminus"] = "Hiroshima", ["short name"] = "B", ["text color"] = "FFFFFF", ["icon"] = "", },		["Kabe former"] = { ["title"] = "Kabe Line", ["color"] = "A757A8", ["left terminus"] = "Sandankyō", ["right terminus"] = "Hiroshima", },		["Kakogawa"] = { ["title"] = "Kakogawa Line", ["color"] = "00BAA5", ["icon"] = "", ["short name"] = "I", ["left terminus"] = "Kakogawa", ["right terminus"] = "Tanikawa", },		["Kansai"] = { ["title"] = "Kansai Line", ["color"] = "4B3794", ["short name"] = "V", ["icon"] = "", ["left terminus"] = "Kamo", ["right terminus"] = "Nagoya", },		["Kansai Airport"] = { ["title"] = "Kansai Airport Line", ["color"] = "0072bc", ["left terminus"] = "Kansai Airport", ["right terminus"] = "Hineno", ["short name"] = "S", ["icon"] = "", },		["Kibi"] = { ["title"] = "Kibi Line", ["color"] = "F3AABA", ["short name"] = "U", ["text color"] = "000000", ["icon"] = "", ["left terminus"] = "Sōja", ["right terminus"] = "Okayama", },		["Kinokuni"] = { ["title"] = "Kinokuni Line", ["color"] = "00A7C0", ["left terminus"] = "Wakayama", ["right terminus"] = "Shingū", ["short name"] = "W", ["icon"] = "", },		["Kishin"] = { ["title"] = "Kishin Line", ["color"] = "FF593E", ["icon"] = "", ["short name"] = "K", ["left terminus"] = "Niimi", ["right terminus"] = "Himeji", },		["Kisuki"] = { ["title"] = "Kisuki Line", ["color"] = "FFBA00", ["icon"] = "", ["short name"] = "E", ["text color"] = "000000", ["left terminus"] = "Shinji", ["right terminus"] = "Bingo Ochiai", },		["Kōbe"] = { ["title"] = "JR Kōbe Line", ["color"] = "0072bc", ["short name"] = "A", ["icon"] = "", ["left terminus"] = "Himeji", ["right terminus"] = "Ōsaka", },		["Kosei"] = { ["title"] = "Kosei Line", ["color"] = "00A8E4", ["short name"] = "B", ["icon"] = "", ["left terminus"] = "Kyoto", ["right terminus"] = "Tsuruga", },		["Kure"] = { ["title"] = "Kure Line", ["color"] = "D38C06", ["text color"] = "000000", ["short name"] = "Y", ["icon"] = "", ["left terminus"] = "Hiroshima", ["right terminus"] = "Mihara", },		["Kusatsu"] = { ["title"] = "Kusatsu Line", ["color"] = "5a9934", ["short name"] = "C", ["icon"] = "", ["left terminus"] = "Kusatsu", ["right terminus"] = "Tsuge", },		["Kyōto"] = { ["title"] = "JR Kyōto Line", ["color"] = "0072bc", ["left terminus"] = "Kyōto", ["right terminus"] = "Ōsaka", ["icon"] = "", ["short name"] = "A", },		["Maizuru"] = { ["title"] = "Maizuru Line", ["color"] = "FF8E1F", ["left terminus"] = "Ayabe", ["right terminus"] = "Higashi-Maizuru", ["icon"] = "", ["short name"] = "L", ["text color"] = "000000", },		["Mine"] = { ["title"] = "Mine Line", ["color"] = "dc208f", ["left terminus"] = "Asa", ["right terminus"] = "Nagatoshi", },		["Nara"] = { ["title"] = "Nara Line", ["color"] = "b67c2b", ["short name"] = "D", ["icon"] = "", ["left terminus"] = "Kyoto", ["right terminus"] = "Nara", },		["Nanao"] = { ["title"] = "JR Nanao Line", ["left terminus"] = "Tsubata", ["right terminus"] = "Wakura-Onsen", },		["Obama"] = { ["title"] = "Obama Line", ["left terminus"] = "Higashi-Maizuru", ["right terminus"] = "Tsuruga", },		["Oito"] = { ["title"] = "Ōito Line", ["color"] = "997191", ["left terminus"] = "Itoigawa", ["right terminus"] = "Minami-Otari", },		["Onoda"] = { ["title"] = "Onoda Line", ["color"] = "776493", ["left terminus"] = "Ube-Shinkawa", ["right terminus"] = {"Onoda", "Nagato-Motoyama"}, },		["Osaka"] = { ["title"] = "Osaka Loop Line", ["color"] = "e80000", ["left terminus"] = "Tennōji", ["right terminus"] = "Shin-Imamiya", ["short name"] = "O", ["icon"] = "", },		["Osaka Higashi"] = { ["title"] = "Osaka Higashi Line", ["color"] = "387394", ["left terminus"] = "Shin-Ōsaka", ["right terminus"] = "Kyūhōji", ["short name"] = "F", ["icon"] = "", },		["Man-yō Mahoroba"] = { ["title"] = "Man-yō Mahoroba Line (Sakurai Line)", ["color"] = "c62828", ["left terminus"] = "Takada", ["right terminus"] = "Nara", ["short name"] = "U", ["icon"] = "", },		["Sakai"] = { ["title"] = "Sakai Line", ["icon"] = "", ["color"] = "0072bc", ["left terminus"] = "Sakaiminato", ["right terminus"] = "Yonago", ["short name"] = "C", },		["Sagano"] = { ["title"] = "Sagano Line", ["icon"] = "", ["color"] = "878DDC", ["left terminus"] = "Sonobe", ["right terminus"] = "Kyoto", ["short name"] = "E", },		["Sakurajima"] = { ["title"] = "JR Yumesaki Line", ["icon"] = "", ["color"] = "003C88", ["left terminus"] = "Sakurajima", ["right terminus"] = "Nishikujō", ["short name"] = "P", },		["San'in"] = { ["title"] = "San'in Main Line", ["color"] = "006cc5", ["left terminus"] = "Shimonoseki", ["right terminus"] = "Masuda", },		["San'in E"] = { ["title"] = "San'in Line", ["color"] = "878DDC", ["left terminus"] = "Kinosaki-Onsen", ["right terminus"] = "Kyoto", ["short name"] = "E", ["icon"] = "", },		["San'in A"] = { ["title"] = "San'in Line", ["color"] = "B7D31B", ["left terminus"] = "Yonago", ["right terminus"] = "Kinosaki-Onsen", ["short name"] = "A", ["icon"] = "", },		["San'in D"] = { ["title"] = "San'in Line", ["color"] = "EA5C01", ["left terminus"] = "Masuda", ["right terminus"] = "Yonago", ["short name"] = "D", ["icon"] = "", },		["San'yo"] = { ["title"] = "San'yō Line", ["color"] = "006cc5", ["left terminus"] = "Shimonoseki", ["right terminus"] = "Iwakuni", },		["San'yo R"] = { ["title"] = "San'yō Line", ["color"] = "ca473a", ["left terminus"] = "Iwakuni", ["right terminus"] = "Hiroshima", ["short name"] = "R", ["icon"] = "", },		["San'yo G"] = { ["title"] = "San'yō Line", ["color"] = "71a557", ["left terminus"] = "Hiroshima", ["right terminus"] = "Itozaki", ["short name"] = "G", ["icon"] = "", },		["San'yo X"] = { ["title"] = "San'yō Line", ["color"] = "00b1ec", ["left terminus"] = "Mihara", ["right terminus"] = "Fukuyama", ["short name"] = "X", ["icon"] = "", },		["San'yo W"] = { ["title"] = "San'yō Line", ["color"] = "F5A300", ["text color"] = "000000", ["left terminus"] = "Fukuyama", ["right terminus"] = "Okayama", ["short name"] = "W", ["icon"] = "", },		["San'yo S"] = { ["title"] = "San'yō Line", ["color"] = "C2D70A", ["text color"] = "000000", ["left terminus"] = "Okayama", ["right terminus"] = "Mitsuishi", ["short name"] = "S", ["icon"] = "", },		["San'yo A"] = { ["title"] = "San'yō Line", ["color"] = "036ea8", ["left terminus"] = "Mitsuishi", ["right terminus"] = "Himeji", ["short name"] = "A", ["icon"] = "", },		["Seto-Ōhashi"] = { ["title"] = "Seto-Ōhashi Line", ["color"] = "0072BC", ["left terminus"] = "Chayamachi", ["right terminus"] = "Okayama", ["short name"] = "M", ["icon"] = "", },		["Takarazuka"] = { ["title"] = "JR Takarazuka Line", ["color"] = "ffc600", ["left terminus"] = "Sasayamaguchi", ["right terminus"] = "Ōsaka", ["short name"] = "G", ["text color"] = "000000", ["icon"] = "", },		["Tōkaidō"] = { ["title"] = "Tōkaidō Main Line", ["color"] = "0072BC", ["left terminus"] = "Kobe", ["right terminus"] = "Maibara", ["short name"] = "A", "",		},		["JR Tozai"] = { ["title"] = "JR Tōzai Line", ["color"] = "FF1493", ["left terminus"] = "Amagasaki", ["right terminus"] = "Kyōbashi", ["short name"] = "H", ["icon"] = "", },		["Tsuyama"] = { ["title"] = "Tsuyama Line", ["color"] = "FCC900", ["left terminus"] = "Okayama", ["right terminus"] = "Tsuyama", ["short name"] = "T", ["text color"] = "000000", ["icon"] = "", },		["Ube"] = { ["title"] = "Ube Line", ["color"] = "a52f5d", ["left terminus"] = "Shin-Yamaguchi", ["right terminus"] = "Ube", },		["Uno"] = { ["title"] = "Uno Line", ["color"] = "7cccd0", ["short name"] = "L", ["text color"] = "000000", ["left terminus"] = "Okayama", ["right terminus"] = "Uno", ["icon"] = "", },		["Wadamisaki"] = { ["title"] = "Wadamisaki Line", ["left terminus"] = "Wadamisaki", ["right terminus"] = "Kōbe", },		["Wakayama"] = { ["title"] = "Wakayama Line", ["color"] = "F79FBA", ["left terminus"] = "Ōji", ["right terminus"] = "Wakayama", ["short name"] = "T", ["icon"] = "", ["text color"] = "000000", },		["Yamaguchi"] = { ["title"] = "Yamaguchi Line", ["color"] = "F37052", ["left terminus"] = "Shin-Yamaguchi", ["right terminus"] = "Masuda", },		["Yamatoji"] = { ["title"] = "Yamatoji Line", ["color"] = "00A569", ["left terminus"] = "JR Namba", ["right terminus"] = "Kamo", ["short name"] = "Q", ["icon"] = "", },	},	["aliases"] = { ["sakurai"] = "Man-yō Mahoroba", ["sanyo shinkansen"] = "Sanyo Shinkansen", ["ss"] = "Sanyo Shinkansen", ["m"] = "Honshi-Bissan", ["o"] = "Osaka", ["q"] = "Yamatoji", ["sanin"] = "San'in", ["jr yumesaki"] = "Sakurajima", ["yumesaki"] = "Sakurajima", ["sakurajima"] = "Sakurajima", ["ako"] = "Akō", ["kure"] = "Kure", ["tsuyama"] = "Tsuyama", ["inbi"] = "Inbi", ["imbi"] = "Inbi", ["tozai"] = "JR Tozai", ["jrtozai"] = "JR Tozai", ["osaka higashi"] = "Osaka Higashi", ["osakahigashi"] = "Osaka Higashi", ["oh"] = "Osaka Higashi", ["fukuchiyama"] = "Takarazuka", ["jr kyoto"] = "Kyōto", ["jrkyoto"] = "Kyōto", ["kyoto"] = "Kyōto", ["kobe"] = "Kōbe", ["bantan"] = "Bantan", ["kibi"] = "Kibi", ["momotarō"] = "Kibi", ["momotaro"] = "Kibi", ["kisei"] = "Kinokuni", ["kinokuni"] = "Kinokuni", ["kusatsu"] = "Kusatsu", ["hakata minami"] = "Hakata-Minami", ["hakataminami"] = "Hakata-Minami", ["hakata-minami"] = "Hakata-Minami", ["wadamisaki"] = "Wadamisaki", ["uno"] = "Uno", ["seto-ohashi"] = "Seto-Ōhashi", ["seto ohashi"] = "Seto-Ōhashi", ["setoohashi"] = "Seto-Ōhashi", ["Seto-Ohashi"] = "Seto-Ōhashi", ["gakkentoshi"] = "Gakkentoshi", ["katamachi"] = "Gakkentoshi", ["tokaido"] = "Tōkaidō", }, }

return p