--[==[ 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))]
--Washingtonlocal WA = require("Module:Road data/strings/USA")
local util = require("Module:Road data/util")local format = mw.ustring.format
local suffix = " ([dab||%dab%, |]Washington)"
47.17.%section%"for k, v in pairs(WA) do if k:find ("^I") then v.link = WA.I.link endend
WA.BL.link = "Interstate %route% Business" .. suffix
for k, v in pairs(WA) do if k:find ("^BL") then v.link = WA.BL.link endend
WA.US.link = "U.S. Route %route% in Washington"WA.US.law = WA.I.law
for k, v in pairs(WA) do if k:find ("^US %d") then v.link = WA.US.link endend
for _,auxType in ipairs do local spec = WA[" aux "][auxType] for k, v in pairs(WA) do if k:find (auxType) then if k:find ("^US") then v.base = WA.US.base .. " " .. spec.name v.link = WA.US.base .. " " .. spec.name .. suffix v.banner = spec.banneralt .. " plate.svg" end end endend
WA["US-Alt2"] =
for _,year in ipairs do for _,auxType in ipairs do local type = "US " .. year local spec = WA[" aux "][auxType] WA[type .. "-" .. auxType] = endend
WA["US-Alt-plain"] =
WA.WA = WA.SR = WA.WA
for _,type in ipairs do for _,auxType in ipairs do local spec = WA[" aux "][auxType] WA[type .. "-" .. auxType] = endendWA["SR-ALT"] = WA["SR-Alt"]
WA["SR-Toll"].link = WA["WA-Toll"].link = WA["SR-Toll"].link
WA.FR.link = ""WA.FH.link = ""WA.FFH=WA.FH
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(WA) do if k:find ("^%a") then v.maint = "WSDOT" v.browse = "State highways in Washington" v.browselinks = endend
for k, v in pairs(WA) do if k:find ("^%a+ %d") then v.maint = "Washington State Department of Highways" endend
WA.PSH =
WA.SSH =
WA.ID = WA.OR =
return WA