Jump to content

Module:Road data/strings/USA/VI

Permanently protected module
From Wikipedia, the free encyclopedia

--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

To inspect the content of this data module when editing, enter the following
into 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"]`.
]==]

-- U.S. Virgin Islands
local VI = {}

local util = require("Module:Road data/util")
local frame = mw.getCurrentFrame()
util.addAll(VI, require("Module:Road data/strings/USA"))

VI.VI = {
	shield = "Circle sign %route%.svg",
	name = "Highway %route%",
	link = "U.S. Virgin Islands Highway %route% [dab||(%dab%)|]",
	abbr = "Hwy&nbsp;%route%"
}

-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(VI) do if k:find ("^%a") then
	v.maint = frame:expandTemplate{title = 'abbr', args = {"USVI DPW", "US Virgin Islands Department of Public Works"}}
	v.browse = "[[List of United States Virgin Islands highways|U.S. Virgin Islands Highways]]"
	end
end

return VI