--[==[ To inspect the content of this data module, use [[Special:ExpandTemplates]]and enter the following input text:
To inspect the content of this data module when editing, enter the followinginto 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"]`.]
-- Idaholocal ID =
local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(ID, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Idaho)"
ID.I.link =
for k, v in pairs(ID) do if k:find ("^I") then v.link = ID.I.link endend
for k, v in pairs(ID) do if k:find ("^B%a") then v.link = ID.BL.link endend
ID.US.name = "U.S. Highway %route%"ID.US.link = "U.S. Route %route% in Idaho"
for k, v in pairs(ID) do if k:find ("^US %d") then v.name = ID.US.name v.link = ID.US.link endend
for _,auxType in ipairs do local spec = ID[" aux "][auxType] for k, v in pairs(ID) do if k:find (auxType) then if k:find ("^US") then v.name = ID.US.name .. " " .. spec.name v.link = ID.US.base .. " " .. spec.name .. suffix end end endend ID.SH = ID.ID = ID.SH
for _,type in ipairs do for _,year in ipairs do ID["SH " .. year] = endendID["SH 1980"].shield = "ID-%route%.svg"ID["ID 1980"] = ID["SH 1980"]ID["SH 1970"] = ID["SH 1955"]
for _,type in ipairs do for _,auxType in ipairs do local spec = ID[" aux "][auxType] ID[type .. "-" .. auxType] = endend
ID["SH 1980-Scenic"] =
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(ID) do if k:find ("^%a") then v.maint = "ITD" v.browse = "State Highways in Idaho" v.browselinks = endend
ID.CR.shield = ""ID.CR.maint = ""
ID.WA = ID.OR = ID.NV = ID.UT = ID.WY = ID.MT = ID.BC =
return ID