--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

To inspect the content of this data module when editing, enter the following
into the Debug console:
  local util = require("Module:Road data/util")
  print(util.arrayToString(p))
To inspect a particular route type, change `p` above to include the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]

-- South Korea
local KOR = {}

local util = require("Module:Road data/util")
util.addAll(KOR, require("Module:Road data/strings/ASIA"))

KOR.AH = {
	shield = "AH%route% ROK.svg",
	name = "Asian Highway %route%",
	link = {
		hook = "between",
		lower = 6,
		upper = 7,
 		yes = "AH%route% (highway)", 
		no = "AH%route%"
	},
	abbr = "AH %route%"
}

KOR.National = {
	shield = "",
	name = "National Route %route%",
	link = "South Korea National Route %route%",
	abbr = "NR %route%"
}
KOR.NR = KOR.National

KOR.Expressway = {
	shield = "Korea Expressway No.%route%.svg",
	name = "Expressway No.%route%",
	link = "Korea Expressway No.%route%",
	abbr = "Expressway No.%route%"
}
KOR.EX = KOR.Expressway

KOR.UEX = {
	shield = "Korea Urban Expwy No.%route%.svg",
	name = "Metropolitan City&nbsp;Route&nbsp;%route%",
	link = "Metropolitan City&nbsp;Route&nbsp;%route%",
	abbr = "Expressway No.%route%"
}

KOR["Seoul UEX"] = {
	shield = KOR.UEX.shield,
	name = "Seoul Special Metropolitan City&nbsp;Route&nbsp;%route%",
	link = "Seoul Special Metropolitan City&nbsp;Route&nbsp;%route%",
	abbr = KOR.UEX.abbr,
	translation = "서울특별시도 제%route%호선",
	lang = "ko"
}
KOR.Seoul = KOR["Seoul UEX"]

KOR["Busan UEX"] = {
	shield = KOR.UEX.shield,
	name = "Busan " .. KOR.UEX.name,
	link = "Busan " .. KOR.UEX.link,
	abbr = KOR.UEX.abbr
}
KOR.Busan = KOR["Busan UEX"]

KOR["Daejeon UEX"] = {
	shield = KOR.UEX.shield,
	name = "Daejeon " .. KOR.UEX.name,
	link = "Daejeon " .. KOR.UEX.link,
	abbr = KOR.UEX.abbr
}
KOR.Daejeon = KOR["Daejeon UEX"]

KOR["Daegu UEX"] = {
	shield = KOR.UEX.shield,
	name = "Daegu " .. KOR.UEX.name,
	link = "Daegu " .. KOR.UEX.link,
	abbr = KOR.UEX.abbr
}
KOR.Daegu = KOR["Daegu UEX"]

KOR["Gwangju UEX"] = {
	shield = KOR.UEX.shield,
	name = "Gwangju " .. KOR.UEX.name,
	link = "Gwangju " .. KOR.UEX.link,
	abbr = KOR.UEX.abbr
}
KOR.Gwangju = KOR["Gwangju UEX"]

KOR["Incheon UEX"] = {
	shield = KOR.UEX.shield,
	name = "Incheon " .. KOR.UEX.name,
	link = "Incheon " .. KOR.UEX.link,
	abbr = KOR.UEX.abbr
}
KOR.Incheon = KOR["Incheon UEX"]

KOR["Ulsan UEX"] = {
	shield = KOR.UEX.shield,
	name = "Ulsan " .. KOR.UEX.name,
	link = "Ulsan " .. KOR.UEX.link,
	abbr = KOR.UEX.abbr
}
KOR.Ulsan = KOR["Ulsan UEX"]

KOR.Local = {
	shield = "",
	name = "State-Funded Local Highway %route%",
	link = "",
	abbr = "Local %route%",
	translation = "국가지원지방도 제%route%호선",
	lang = "ko"
}
KOR.LR = KOR.Local
KOR.NSPR = KOR.Local
KOR.Gukjido = KOR.Local
KOR.PR = KOR.Local
KOR.Provincial = KOR.Local
KOR.Jibangdo = KOR.Local

return KOR