模組:Adjacent stations/西日本旅客鐵道

local japan = "%1站 (日本)"
local ishikawa = "%1站 (石川縣)"
local kyoto = "%1站 (京都府)"
local osaka = "%1站 (大阪府)"
local hyogo = "%1站 (兵庫縣)"
local nara = "%1站 (奈良縣)"
local wakayama = "%1站 (和歌山縣)"
local shiga = "%1站 (滋賀縣)"
local okayama = "%1站 (岡山縣)"
local hiroshima = "%1站 (廣島縣)"
local yamaguchi = "%1站 (山口縣)"
local tottori = "%1站 (鳥取縣)"
local shimane = "%1站 (島根縣)"
local fukui = "%1站 (福井縣)"
local toyama = "%1站 (富山縣)"
local niigata = "%1站 (新潟縣)"
local fukuoka = "%1站 (福岡縣)"
local jr = "%1站 (JR西日本)"
local p = {
	["system title"] = "[[西日本旅客鐵道|JR西日本]]",
	["name format"] = "color: #FFFFFF; background-color: #0473BD;",
	["station format"] = {
		"%1站",
		-- 山陽新幹線
		["相生"] = hyogo,
		["岡山"] = japan,
		["福山"] = japan,
		["三原"] = japan,
		["富山"] = japan,
		["小倉"] = fukuoka,
		-- OS/OW/OX
		["三石"] = okayama,
		["上道"] = okayama,
		["大門"] = hiroshima,
		-- OU
		["服部"] = okayama,
		-- OT
		["金川"] = japan,
		-- SB
		["高野"] = okayama,
		["三浦"] = japan,
		-- 北陸本線
		["南今庄"] = "[[南今庄站|南今-{庄}-]]",
		["野野市"] = jr,
		["橫山"] = ishikawa,
		["高松"] = ishikawa,
		["免田"] = ishikawa,
		["寶達"] = japan,
		["德田"] = ishikawa,

		["福井"] = fukui,
		-- HP
		["東城"] = japan,
		["山之內"] = hiroshima,
		["向原"] = hiroshima,
		-- HG
		["本鄉"] = hiroshima,
		["河內"] = japan,
		["入野"] = hiroshima,
		["白市"] = japan,
		["西條"] = hiroshima,
		["橫川"] = hiroshima,
		["大竹"] = hiroshima,
		-- 岩德線
		["川西"] = yamaguchi,
		-- 宇部線
		["岩倉"] = yamaguchi,
		["常盤"] = yamaguchi,
		["東新川"] = yamaguchi,
		-- 山陽本線
		["神代"] = yamaguchi,
		["島田"] = yamaguchi,
		["下松"] = yamaguchi,
		["戶田"] = yamaguchi,
		["富海"] = japan,
		["嘉川"] = japan,
		-- 美禰線
		["大嶺"] = japan,
		["山口"] = yamaguchi,
		["三谷"] = yamaguchi,
		["益田"] = japan,
		-- HB
		["大町"] = hiroshima,
		["梅林"] = hiroshima,
		["中島"] = hiroshima,
		-- OZ
		["新市"] = japan,
		["高木"] = hiroshima,
		["鵜飼"] = hiroshima,
		["府中"] = hiroshima,
		["中畑"] = hiroshima,
		-- 山陰本線
		["江津"] = japan,
		["黑松"] = shimane,
		["小田"] = shimane,
		["江南"] = shimane,
		["東山公園"] = tottori ,
		-- ON/OV
		["大富"] = japan,
		["新鄉"] = okayama,
		-- OL
		["常山"] = japan,
		-- SC
		["上道鳥取"] = "[[上道站 (鳥取縣)|上道]]",
		["富士見町"] = tottori,

		["安藝龜山舊"] = "[[安藝龜山站 (舊站)|安藝龜山]]",
		["土居"] = hiroshima,
	},
	["lines"] = {
		-- 新幹線
		["山陽新幹線"] = {
			["title"] = "[[File:Shinkansen jrw.svg|20px]] [[山陽新幹線]]",
			["color"] = "0000cd",
			["left terminus"] = "新大阪",
			["right terminus"] = "博多"
		},
		["北陸新幹線"] = {
			["title"] = "[[File:Shinkansen jrw.svg|20px]] [[北陸新幹線]]",
			["color"] = "0000cd",
			["left terminus"] = "上越妙高",
			["right terminus"] = "金澤"
		},
		["博多南線"] = {
			["title"] = "[[博多南線]]",
			["color"] = "0000cd",
			["left terminus"] = "博多",
			["right terminus"] = "博多南"
		},
		-- 岡山地域
		["OL"] = {
			["title"] = "[[File:JRW oka-L.svg|20px]] [[宇野線|宇野港線]]",
			["color"] = "7acccd",
			["left terminus"] = "岡山",
			["right terminus"] = "宇野"
		},
		["OM"] = {
			["title"] = "[[File:JRW oka-M.svg|20px]] [[瀨戶大橋線]]",
			["color"] = "0072bf",
			["left terminus"] = "岡山",
			["right terminus"] = "兒島"
		},
		["ON"] = {
			["title"] = "[[File:JRW oka-N.svg|20px]] [[赤穗線]]",
			["color"] = "f16369",
			["left terminus"] = "播州赤穗",
			["right terminus"] = "岡山"
		},
		["OS"] = {
			["title"] = "[[File:JRW oka-S.svg|20px]] [[山陽本線]]",
			["color"] = "b0d136",
			["left terminus"] = "上郡",
			["right terminus"] = "岡山"
		},
		["OT"] = {
			["title"] = "[[File:JRW oka-T.svg|20px]] [[津山線 (日本)|津山線]]",
			["color"] = "fdbd18",
			["left terminus"] = "津山",
			["right terminus"] = "岡山"
		},
		["OU"] = {
			["title"] = "[[File:JRW oka-U.svg|20px]] [[吉備線]]",
			["color"] = "f6a4b4",
			["left terminus"] = "岡山",
			["right terminus"] = "總社"
		},
		["OV"] = {
			["title"] = "[[File:JRW san-V.svg|20px]] [[伯備線]]",
			["color"] = "35934a",
			["left terminus"] = "岡山",
			["right terminus"] = "米子"
		},
		["OW"] = {
			["title"] = "[[File:JRW oka-W.svg|20px]] [[山陽本線]]",
			["color"] = "f69036",
			["left terminus"] = "岡山",
			["right terminus"] = "福山"
		},
		["OX"] = {
			["title"] = "[[File:JRW oka-X.svg|20px]] [[山陽本線]]",
			["color"] = "00aeef",
			["left terminus"] = "福山",
			["right terminus"] = "三原"
		},
		["OZ"] = {
			["title"] = "[[File:JRW oka-Z.svg|20px]] [[福鹽線]]",
			["color"] = "49479e",
			["left terminus"] = "福山",
			["right terminus"] = "三次"
		},
		-- 廣島地域
		["HB"] = {
			["title"] = "[[File:JRW hiro-B.svg|20px]] [[可部線]]",
			["color"] = "09c0b0",
			["left terminus"] = "廣島",
			["right terminus"] = "安藝龜山"
		},
		["HG"] = {
			["title"] = "[[File:JRW hiro-G.svg|20px]] [[山陽本線]]",
			["color"] = "5fad3c",
			["left terminus"] = "糸崎",
			["right terminus"] = "廣島"
		},
		["HP"] = {
			["title"] = "[[File:JRW hiro-P.svg|20px]] [[藝備線]]",
			["color"] = "8f7db9",
			["left terminus"] = "新見",
			["right terminus"] = "廣島"
		},
		["HR"] = {
			["title"] = "[[File:JRW hiro-R.svg|20px]] [[山陽本線]]",
			["color"] = "cb332e",
			["left terminus"] = "廣島",
			["right terminus"] = "岩國"
		},
		["HY"] = {
			["title"] = "[[File:JRW hiro-Y.svg|20px]] [[吳線]]",
			["color"] = "ee8f17",
			["left terminus"] = "三原",
			["right terminus"] = "廣島"
		},
		-- 米子地域
		["SA"] = {
			["title"] = "[[File:JRW san-A.svg|20px]] [[山陰本線]]",
			["color"] = "b2d33e",
			["left terminus"] = "城崎溫泉",
			["right terminus"] = "米子"
		},
		["SB"] = {
			["title"] = "[[File:JRW san-B.svg|20px]] [[因美線]]",
			["color"] = "ba7c32",
			["left terminus"] = "鳥取",
			["right terminus"] = "津山"
		},
		["SC"] = {
			["title"] = "[[File:JRW san-C.svg|20px]] [[境線]]",
			["color"] = "0066b3",
			["left terminus"] = "米子",
			["right terminus"] = "境港"
		},
		["SD"] = {
			["title"] = "[[File:JRW san-D.svg|20px]] [[山陰本線]]",
			["color"] = "f26122",
			["left terminus"] = "米子",
			["right terminus"] = "益田"
		},
		["SE"] = {
			["title"] = "[[File:JRW san-E.svg|20px]] [[木次線]]",
			["color"] = "ffc20e",
			["left terminus"] = "宍道",
			["right terminus"] = "備後落合"
		},
		-- 沒有編號路線
		["山陽本線"] = {
			["title"] = "[[山陽本線]]",
			["color"] = "0072bc",
			["left terminus"] = "岩國",
			["right terminus"] = "下關"
		},
		["山陰本線"] = {
			["title"] = "[[山陰本線]]",
			["color"] = "7e733d",
			["left terminus"] = "益田",
			["right terminus"] = "下關"
		},
		["仙崎支線"] = {
			["title"] = "[[山陰本線|仙崎支線]]",
			["color"] = "7e733d",
			["left terminus"] = "長門市",
			["right terminus"] = "仙崎"
		},
		["岩德線"] = {
			["title"] = "[[岩德線]]",
			["color"] = "00a663",
			["left terminus"] = "岩國",
			["right terminus"] = "德山"
		},
		["山口線"] = {
			["title"] = "[[山口線]]",
			["color"] = "f37052",
			["left terminus"] = "新山口",
			["right terminus"] = "益田"
		},
		["宇部線"] = {
			["title"] = "[[宇部線]]",
			["color"] = "b01c39",
			["left terminus"] = "新山口",
			["right terminus"] = "宇部"
		},
		["小野田線"] = {
			["title"] = "[[小野田線]]",
			["color"] = "695faa",
			["left terminus"] = "宇部新川",
			["right terminus"] = "小野田"
		},
		["本山支線"] = {
			["title"] = "[[小野田線|本山支線]]",
			["color"] = "695faa",
			["left terminus"] = "雀田",
			["right terminus"] = "長門本山"
		},
		["美禰線"] = {
			["title"] = "[[美禰線]]",
			["color"] = "d6007f",
			["left terminus"] = "厚狹",
			["right terminus"] = "長門市"
		},
		["北陸本線"] = {
			["title"] = "[[北陸本線]]",
			["color"] = "0072bc",
			["left terminus"] = "敦賀",
			["right terminus"] = "金澤"
		},
		["越美北線"] = {
			["title"] = "[[越美北線|越美北線(九頭龍線)]]",
			["color"] = "999999",
			["left terminus"] = "福井",
			["right terminus"] = "九頭龍湖"
		},
		["七尾線"] = {
			["title"] = "[[七尾線]]",
			["color"] = "999999",
			["left terminus"] = "金澤",
			["right terminus"] = "和倉溫泉"
		},
		["冰見線"] = {
			["title"] = "[[冰見線]]",
			["color"] = "999999",
			["left terminus"] = "高岡",
			["right terminus"] = "冰見"
		},
		["城端線"] = {
			["title"] = "[[城端線]]",
			["color"] = "999999",
			["left terminus"] = "高岡",
			["right terminus"] = "城端"
		},
		["高山本線"] = {
			["title"] = "[[高山本線]]",
			["color"] = "0072bc",
			["left terminus"] = "豬谷",
			["right terminus"] = "富山"
		},
		["大糸線"] = {
			["title"] = "[[大糸線]]",
			["color"] = "999999",
			["left terminus"] = "南小谷",
			["right terminus"] = "糸魚川"
		},
		["大嶺支線"] = {
			["title"] = "美禰線(大嶺支線)",
			["color"] = "cccccc",
			["left terminus"] = "南大嶺",
			["right terminus"] = "大嶺"
		},
		["可部線"] = {
			["title"] = "可部線(廢止區間)",
			["color"] = "cccccc",
			["left terminus"] = "可部",
			["right terminus"] = "三段峽"
		},
		["三江線"] = {
			["title"] = "[[File:JRW san-F.svg|20px]] [[三江線]]",
			["color"] = "00b2e5",
			["left terminus"] = "江津",
			["right terminus"] = "三次"
		},
		["富山港線"] = {
			["title"] = "[[富山港線]]",
			["color"] = "cccccc",
			["left terminus"] = "富山",
			["right terminus"] = "岩瀨濱"
		},
		["大社線"] = {
			["title"] = "[[大社線 (西日本旅客鐵道)|大社線]]",
			["color"] = "cccccc",
			["left terminus"] = "出雲市",
			["right terminus"] = "大社"
		}
	},
}

return p