Documentation for this module may be created at Module:Road data/strings/USA/HI/doc
--[==[
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"]`.
]==]
-- Hawaii
local HI = {}
local util = require("Module:Road data/util")
util.addAll(HI, require("Module:Road data/strings/USA"))
HI.I.shield = "I-H%route%.svg"
HI.I.name = "Interstate H-%route%"
HI.I.link = "Interstate H-%route%"
HI.I.abbr = "H-%route%"
for k, v in pairs(HI) do if k:find ("^I%-") then
v.shield = HI.I.shield
v.name = HI.I.name
v.link = HI.I.link
v.abbr = HI.I.abbr
end
end
HI.H = HI.I
--Do not add US Highways or USH special routes
HI.HI = {
shield = "HI-%route%.svg",
name = "Hawaii Route %route%",
link = "Hawaii Route %route%",
abbr = "Route %route%"
}
HI.Route = HI.HI
-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(HI) do if k:find ("^%a") then
v.maint = "[[Hawaii Department of Transportation|HDOT]]"
v.browse = "[[List of Hawaii state highways|Routes in Hawaii]]"
end
end
return HI