Content deleted Content added
alt plate logic |
update module |
||
Line 18:
util.addAll(DC, require("Module:Road data/strings/USA"))
local suffix = " (Washington, D.C.)"
local maint = "[[District of Columbia Department of Transportation|District of Columbia DOT]]"▼
DC.I.link = "Interstate %route% (District of Columbia)"
Line 31 ⟶ 28:
DC.US.link = "U.S. Route %route% in the District of Columbia"
DC["US 1926"].link = DC.US.link
DC["US 1961"].shieldmain = "US %route% District of Columbia 1970.svg"
DC["US 1961"].
DC["US 1961"].link = DC.US.link
DC["US 1970"] = DC["US 1961"]
DC["US-Alt"].link = "U.S. Route %route% Alternate" .. suffix
DC["US-Byp"].link = "U.S. Route %route% Bypass" .. suffix
Line 47 ⟶ 42:
link = "District of Columbia Route %route%",
abbr = "DC %route%",
orientation = "upright"
}
-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(DC) do if k:find ("^%a") then
v.browse = "[[Streets and highways of Washington, D.C.|Streets and Highways of Washington, DC]]"
v.browselinks = {
[1] = "[[List of Interstate Highways in Washington, D.C.|Interstate]]",
[2] = "[[List of U.S. Highways in Washington, D.C.|US]]",
[3] = "[[List of numbered highways in Washington, D.C.|DC]]",
[4] = "[[List of state-named roadways in Washington, D.C.|State-Named Streets]]"
}
end
end
DC["I-MD"] = {alias = {module = "USA/MD", type = "I"}}
|