模块:Adjacent stations/日本货物铁道

local hokkaido = "%1站 (北海道)"
local aomori = "%1站 (青森縣)"
local akita = "%1站 (秋田縣)"
local iwate = "%1站 (岩手縣)"
local miyagi = "%1站 (宮城縣)"
local yamagata = "%1站 (山形縣)"
local fukushima = "%1站 (福島縣)"
local ibaraki = "%1站 (茨城縣)"
local tochigi = "%1站 (栃木縣)"
local nagano = "%1站 (長野縣)"
local niigata = "%1站 (新潟縣)"
local gunma = "%1站 (群馬縣)"
local yamanashi = "%1站 (山梨縣)"
local chiba = "%1站 (千葉縣)"
local saitama = "%1站 (埼玉縣)"
local tokyo = "%1站 (東京都)"
local kanagawa = "%1站 (神奈川縣)"
local shizuoka = "%1站 (靜岡縣)"
local aichi = "%1站 (愛知縣)"
local gifu = "%1站 (岐阜縣)"
local shiga = "%1站 (滋賀縣)"
local mie = "%1站 (三重縣)"
local nara = "%1站 (奈良縣)"
local osaka = "%1站 (大阪府)"
local kyoto = "%1站 (京都府)"
local wakayama = "%1站 (和歌山縣)"
local hyogo = "%1站 (兵庫縣)"
local toyama = "%1站 (富山縣)"
local ishikawa = "%1站 (石川縣)"
local fukui = "%1站 (福井縣)"
local okayama = "%1站 (岡山縣)"
local hiroshima = "%1站 (廣島縣)"
local yamaguchi = "%1站 (山口縣)"
local tottori = "%1站 (鳥取縣)"
local shimane = "%1站 (島根縣)"
local kagawa = "%1站 (香川縣)"
local tokushima = "%1站 (德島縣)"
local kochi = "%1站 (高知縣)"
local ehime = "%1站 (愛媛縣)"
local fukuoka = "%1站 (福岡縣)"
local saga = "%1站 (佐賀縣)"
local nagasaki = "%1站 (長崎縣)"
local oita = "%1站 (大分縣)"
local kumamoto = "%1站 (熊本縣)"
local miyazaki = "%1站 (宮崎縣)"
local kagoshima = "%1站 (鹿兒島縣)"
local japan = "%1站 (日本)"
local terminal= "%1"
local frame = mw.getCurrentFrame();
local link = frame:expandTemplate{ title = 'link-ja', args = { '%1站', '%1駅', '%1' } };

local p = {
	["system title"] = "[[日本貨物鐵道|JR貨物]]",
	["station format"] = {
		"%1站",
		-- 消歧義
		["東京(總)"] = "[[東京貨物總站|東京(總)]]",
		["大阪(總)"] = "[[大阪貨物總站|大阪(總)]]",
		["吹田(總)"] = "[[吹田貨物總站|吹田(總)]]",
		["神戶"] = hyogo,
		["岡山"] = japan,
	},
	["lines"] = {
		["奧羽線"] = {
			["title"] = "[[奧羽本線|奧羽線]]",
			["left terminus"] = "土崎",
			["right terminus"] = "秋田港"
		},
		["仙石線"] = {
			["title"] = "[[仙石線]]",
			["left terminus"] = "陸前山下",
			["right terminus"] = "石卷港"
		},
		["羽越線"] = {
			["title"] = "[[羽越本線]]貨物支線",
			["left terminus"] = "酒田",
			["right terminus"] = "酒田港"
		},
		["信越線"] = {
			["title"] = "[[信越本線|信越線]]",
			["left terminus"] = "上沼垂信號場",
			["right terminus"] = "東新潟港"
		},
		["關西線海"] = {
			["title"] = "[[關西本線|關西線]]",
			["left terminus"] = "四日市",
			["right terminus"] = "鹽濱"
		},
		["東海道貨物線"] = {
			["title"] = "[[東海道貨物線]]",
			["left terminus"] = "濱松町",
			["right terminus"] = "小田原"
		},
		["東海道線東"] = {
			["title"] = "[[東海道本線|東海道線]]",
			["left terminus"] = "山王信號場",
			["right terminus"] = "名古屋港"
		},
		["新湊線"] = {
			["title"] = "[[新湊線]]",
			["left terminus"] = "能町",
			["right terminus"] = "高岡貨物"
		},
		["東海道線西"] = {
			["title"] = "[[東海道本線|東海道線]]",
			["left terminus"] = "吹田(總)",
			["right terminus"] = "大阪(總)"
		},
		["北陸線"] = {
			["title"] = "[[北陸本線|北陸線]]",
			["left terminus"] = "敦賀",
			["right terminus"] = "敦賀港"
		},
		["關西線西"] = {
			["title"] = "[[關西本線|關西線]]",
			["left terminus"] = "平野",
			["right terminus"] = "百濟貨物總站"
		},
		["鹿兒島線"] = {
			["title"] = "鹿兒島本線貨物支線([[博多臨港線]])",
			["left terminus"] = "香椎",
			["right terminus"] = "福岡貨物總站"
		},
		["日豐本線貨物支線"] = {
			["title"] = "[[日豐本線]]貨物支線(苅田港線)",
			["left terminus"] = "小波瀨西工大前",
			["right terminus"] = "苅田港"
		},
		["日豐本線貨物支線2"] = {
			["title"] = "[[日豐本線]]貨物支線",
			["left terminus"] = "日向市",
			["right terminus"] = "細島"
		},
		["越中島支線"] = {
			["title"] = "[[越中島支線]]",
			["left terminus"] = "小岩",
			["right terminus"] = "越中島貨物"
		},
		["山陽本線"] = {
			["title"] = "[[File:JRW oka-W.svg|20px]] [[山陽本線]]",
			["color"] = "00aeef",
			["left terminus"] = "神戶",
			["right terminus"] = "門司"
		},
		["男鹿線貨物支線"] = {
			["title"] = "[[男鹿線]]貨物支線",
			["color"] = "cccccc",
			["left terminus"] = "男鹿",
			["right terminus"] = "船川港"
		},
		["羽越本線貨物支線"] = {
			["title"] = "[[羽越本線]]貨物支線",
			["color"] = "16c0e9",
			["left terminus"] = "酒田",
			["right terminus"] = "酒田港"
		},
		["根室本線貨物支線"] = {
			["title"] = "[[根室本線]]貨物支線",
			["color"] = "cccccc",
			["left terminus"] = "釧路",
			["right terminus"] = "濱釧路"
		},
	}
}
return p