--[==[ 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"]`.]
-- Vermontlocal VT =
local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(VT, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Vermont)"local suffix2 = " [dab||(%dab%)|]"
VT.US.link =
for k, v in pairs(VT) do if k:find ("^US %d") then v.link = VT.US.link endend
for _,auxType in ipairs do local spec = VT[" aux "][auxType] for k, v in pairs(VT) do if k:find (auxType) then if k:find ("^US") then v.link = VT.US.base .. " " .. spec.name .. suffix end end endend
VT.VT =
for _,type in ipairs do for _,auxType in ipairs do local spec = VT[" aux "][auxType] VT[type .. "-" .. auxType] = endend
VT.Town = VT.Dual =
for _,type in ipairs do for _,auxType in ipairs do local spec = VT[" aux "][auxType] VT[type .. "-" .. auxType] = endend VT.Ferry =
VT["VT 1955"] =
VT.FH.link = ""VT.FFH=VT.FH
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(VT) do if k:find ("^%a") then v.maint = "VTrans" v.browse = "State highways in Vermont" endend
VT.NH = VT["US-NH"] = VT.NY = VT["US-NY"] =
return VT