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

-- Africa
local AFR = {}

local util = require("Module:Road data/util")

local highwayNames = {
	arg = "route",
	default = "TAH %route%",
	["1"] = "Cairo–Dakar Highway",
	["2"] = "Algiers–Lagos Highway",
	["3"] = "Tripoli–Cape Town Highway",
	["4"] = "Cairo–Cape Town Highway",
	["5"] = "Dakar–N'Djamena Highway",
	["6"] = "N'Djamena–Djibouti Highway",
	["7"] = "Dakar–Lagos Highway",
	["8"] = "Lagos–Mombasa Highway",
	["9"] = "Beira–Lobito Highway"
}

AFR.TAH = {
	shield = "Schild TAH%route%.svg",
	name   = "Trans-African Highway %route%",
	link   = highwayNames,
	abbr   = "TAH %route%",
	browse = "[[Trans-African Highway network]]"
}

return AFR