--[==[ 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"]`.]
-- Nevadalocal NV =
local util = require("Module:Road data/util")util.addAll(NV, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Nevada)"
NV.I.link =
for k, v in pairs(NV) do if k:find ("^I") then v.link = NV.I.link endend
NV.BL.link = NV.I.base .. " Business" .. suffix
for k, v in pairs(NV) do if k:find ("^B%a") then v.link = NV.BL.link endend
NV.US.link = "U.S. Route %route% in Nevada"
for k, v in pairs(NV) do if k:find ("^US %d") then v.name = NV.US.name v.link = NV.US.link endend
for _,auxType in ipairs do local spec = NV[" aux "][auxType] for k, v in pairs(NV) do if k:find (auxType) then if k:find ("^US") then v.banner = spec.banneralt .. " plate.svg" v.link = NV.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Nevada)" end end endend
NV.SR = NV.NV = NV.SR
NV.BLSR =
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(NV) do if k:find ("^%a") then v.maint = "NDOT" v.browse = "Highways in Nevada" v.browselinks = endend
NV.CC = NV.CR.link = "County Route %route% ([county||%county% County, |]Nevada)"
-- For linking internally on 'List of state routes in Nevada less than one mile'NV.SR2 =
return NV