Jump to content

Module:Road data/strings/USA/VT

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 16:40, 27 October 2020 (update module). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--[==[
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"]`.
]==]

-- Vermont
local VT = {}

local util = require("Module:Road data/util")
util.addAll(VT, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]Vermont)"
local suffix2 = " [dab||(%dab%)|]"
local maint = "[[Vermont Agency of Transportation|VTrans]]"

VT[" common "] = {
	browse = {
		{link = "List of state highways in Vermont", name = "State Highways in Vermont", bold = true},
	}
}

VT.I.maint = maint
VT.US.maint = maint
VT.US.link = {	["3"] = "U.S. Route 3",
				["302"] = "U.S. Route 302",
				default = "U.S. Route %route% in Vermont"}

VT["US-Alt"].link = VT.US.base .. " Alternate" .. suffix
VT["US-Bus"].link = VT.US.base .. " Business" .. suffix
VT["US-Truck"].link = VT.US.base .. " Bypass" .. suffix
VT["US-Spur"].link = VT.US.base .. " Spur" .. suffix

VT.VT = {	shield = "Vermont %route%.svg",
			link = "Vermont Route %route%",
			abbr = "VT&nbsp;%route%",
			width = "expand"}

VT["VT-Alt"] = {shield = VT.VT.shield,
                link = VT.VT.link .. " Alternate" .. suffix2,
                abbr = VT.VT.abbr .. "Alt.",
                banner = "Alternate plate Vermont.svg",
                width = "expand"}
                
VT.Dual = {	shield = {"Vermont %route%.svg", "Ellipse sign %route%.svg"},
			link = VT.VT.link,
			abbr = VT.VT.abbr,
			width = "expand"}                

VT.Town = {	shield = {	default = "Ellipse sign %route%.svg",
						["8A"] = "Vermont 8A (town).svg",
						["F-5"] = "Vermont F-5 (town).svg"},
			link = VT.VT.link,
			abbr = VT.VT.abbr,
			width = "expand"}
           
VT.Ferry = {shield = {default = "Vermont F-%route%.svg",
                     ["5"] = "Vermont F-5 (town).svg"},
           link = "Vermont Route F-%route%",
           abbr = "VT&nbsp;F-%route%",
           width = "expand"}

VT["VT 1955"] = {	shield = "Vermont %route% (1955).svg",
					link = VT.VT.link,
					abbr = VT.VT.abbr,
					width = "expand"}

VT.FH.link = ""
VT.FFH=VT.FH

VT.NH = {alias = {module = "USA/NH", type = "NH"}}
VT["US-NH"] = {alias = {module = "USA/NH", type = "US"}}
VT.NY = {alias = {module = "USA/NY", type = "NY"}}
VT["US-NY"] = {alias = {module = "USA/NY", type = "US"}}

return VT