Module:Road data/strings/USA/ND explained

--[==[ 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 iNDlude the route type,e.g., `p.I` and `p["US-Hist"]`.]

]

-- North Dakotalocal ND =

local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(ND, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]North Dakota)"local maint = "NDDOT"

ND.I.link =

for k, v in pairs(ND) do if k:find ("^I") then v.link = ND.I.link endend

ND.BL.link = "Interstate %route% Business ([dab||%dab%, |]North Dakota)"

for k, v in pairs(ND) do if k:find ("^BL") then v.link = ND.BL.link endend

ND.US.name = "U.S. Highway %route%"ND.US.link = "U.S. Route %route% in North Dakota"

for k, v in pairs(ND) do if k:find ("^US %d") then v.name = ND.US.name v.link = ND.US.link endend

for _,auxType in ipairs do local spec = ND[" aux "][auxType] for k, v in pairs(ND) do if k:find (auxType) then if k:find ("^US") then v.name = ND.US.name .. " " .. spec.name v.link = ND.US.base .. " " .. spec.name .. " ([dab||%dab%, |]North Dakota)" end end endend

ND.ND =

ND["ND 1970"] =

for _,type in ipairs do for _,auxType in ipairs do local spec = ND[" aux "][auxType] ND[type .. "-" .. auxType] = endendND["ND-Alt"].abbr = ND.ND.abbr .. "A"

-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(ND) do if k:find ("^%a") then v.maint = "NDDOT" v.browse = "North Dakota State Highways" v.browselinks = endend

ND.BIA =

ND.MT = ND.SD = ND.MN = ND.MB = ND.SK =

return ND