Module:Road data/strings/USA/OR/sandbox 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 include the route type,e.g., `p.I` and `p["US-Hist"]`.]

]

-- Oregonlocal OR =

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

local suffix = " ([dab||%dab%, |]Oregon)"local maint = "ODOT"

OR[" common "] =

OR.I.maint = maintOR.I.link = OR["I 1957"].link = OR.I.linkOR["I 1961"].link = OR.I.link OR["I 1961"].shield =

OR.BL.link = "Interstate %route% Business ([dab||%dab%, |]Oregon)" OR.US.maint = maintOR.US.name = "U.S. Highway %route%"OR.US.link =

OR["US-Alt"].link = OR.US.base .. " Alternate" .. suffixOR["US-Bus"].link = OR.US.base .. " Business" .. suffixOR["US-Byp"].link = OR.US.base .. " Bypass" .. suffixOR["US-Spur"].link = OR.US.base .. " Spur" .. suffix

for _,year in ipairs do local oldUSmain = "US " .. year OR[oldUSmain].name = OR.US.name OR[oldUSmain].link = OR.US.linkend

OR["US 1961-Alt"] =

OR.OR =

OR["OR-Bus"] = OR["OR-Spur"] = OR["OR 1932"] =

OR["OR 1948"] = OR.FH =

OR.CA = OR.WA = OR.ID = OR.NV =

OR.Hwy =

return OR