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

-- Costa Rica
local CRI = {}

CRI.RNP = {
	shield = "CR RNP %route%.svg",
	name = "Route %route%",
	link = "National Route %route% (Costa Rica)",
	abbr = "Route %route%",
	translation = "Ruta nacional primaria %route%",
	lang = "es-419"
}
CRI.Primary = CRI.RNP

CRI.RNS = {
	shield = "CR RNS %route%.svg",
	name = "Route %route%",
	link = "National Route %route% (Costa Rica)",
	abbr = "Route %route%",
	translation = "Ruta nacional secundaria %route%",
	lang = "es-419"
}
CRI.Secondary = CRI.RNS

CRI.RNT = {
	shield = "CR RNT %route%.svg",
	name = "Route %route%",
	link = "National Route %route% (Costa Rica)",
	abbr = "Route %route%",
	translation = "Ruta nacional terciaria %route%",
	lang = "es-419"
}
CRI.Tertiary = CRI.RNT

-- add new types above this line if you want them to have browse and maint
for k, v in pairs(CRI) do if k:find ("^%a") then
	v.maint = "[[Ministry of Public Works and Transport (Costa Rica)|Ministry of Public Works and Transport]]"
	end
end

return CRI