--[==[
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"]`.
]==]

-- Northwest Territories
local NT = {}

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

NT.NT = {
	shield = "NWT-%route%.svg",
	name = {
		["1"] = "Mackenzie Highway",
		["2"] = "Hay River Highway",
		["3"] = "Yellowknife Highway",
		["4"] = "Ingraham Trail",
		["5"] = "Fort Smith Highway",
		["6"] = "Fort Resolution Highway",
		["7"] = "Liard Highway",
		["8"] = "Dempster Highway",
		["10"] = "Inuvik–Tuktoyaktuk Highway",
		default = "Highway %route%"
	},
	link = "Northwest Territories Highway %route%",
	abbr = "Highway %route%",
	orientation = "upright",
}
NT.NWT = NT.NT
NT.Hwy = NT.NT

-- add new types above this line if you want it to have the provincial highway browse and maint
for k, v in pairs(NT) do if k:find ("^%a") then
	v.maint = "Department of Transportation"
	v.browse = "[[List of Northwest Territories highways|Northwest Territories highways]]"
	end
end


return NT