--[==[ 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 iNElude the route type,e.g., `p.I` and `p["US-Hist"]`.]
-- Nebraskalocal NE =
local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(NE, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Nebraska)"
NE.I.link =
for k, v in pairs(NE) do if k:find ("^I") then v.link = NE.I.link endend
NE.BL.link = "Interstate %route% Business ([dab||%dab%, |]Nebraska)"
for k, v in pairs(NE) do if k:find ("^BL") then v.link = NE.BL.link endend
NE.US.name = "U.S. Highway %route%"NE.US.link = "U.S. Route %route% in Nebraska"
for k, v in pairs(NE) do if k:find ("^US %d") then v.name = NE.US.name v.link = NE.US.link endendNE["US 1961"].shield = "US %route% Nebraska 1963.svg"NE["US 1963"] = NE["US 1961"]
for _,auxType in ipairs do local spec = NE[" aux "][auxType] for k, v in pairs(NE) do if k:find (auxType) then if k:find ("^US") then v.name = NE.US.name .. " " .. spec.name v.link = NE.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Nebraska)" end end endend
NE.N = NE.NE = NE.N
for _,year in ipairs do NE["N " .. year] = endNE["NE 1967"] = NE["N 1967"]NE["NE 1950"] = NE["N 1950"]NE["NE 1926"] = NE["N 1926"]
NE.Link =
NE.Rec = NE.Spur =
NE["N-Bus"] = NE["NE-Bus"] = NE["N-Bus"]
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(NE) do if k:find ("^%a") then v.maint = "NDOT" v.browse = "Nebraska State Highway System" v.browselinks = endend
for k, v in pairs(NE) do if k:find ("^N%a* %d") then v.maint = "Nebraska Department of Roads" endend
NE.SS = -- For secondary roads before the spur/link system
NE.CO = NE.IA = NE.KS = NE.MO = NE.SD = NE.WY =
return NE