Module:Road data/strings/USA/DC: Difference between revisions

Content deleted Content added
add shieldmain
Undid revision 1138521732 by Imzadi1979 (talk); actually, this needs a wider discussion as these articles are all named by states (or state equivalents, which in this case is the district, not the city)
 
(11 intermediate revisions by 3 users not shown)
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)"
DC["I-Alt"].banner = "Alt plate blue.svg"
 
DC["I 1957"].link = DC.I.link
Line 29:
DC.US.link = "U.S. Route %route% in the District of Columbia"
DC["US 1926"].shieldmain = "US %route% District of Columbia 1926.svg"
DC["US 1926"].link = DC.US.link
DC["US 1961"].shieldmain = "US %route% District of Columbia 1970.svg"
DC["US 1961"].linkshield = DC."US %route% District of Columbia 1970.linksvg"
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-Alt"].banner = "Alt plate.svg"
DC["US-Byp"].link = "U.S. Route %route% Bypass" .. suffix
 
DC["US 1926-Alt"] = {
shield = DC["US 1926"].shield,
shieldmain = "DC-%route%.svg["US 1926"].shieldmain,
name = DC["US-Alt"].name,
link = DC["US-Alt"].link,
abbr = DC["US-Alt"].abbr,
banner = "Alternate plate 1927.svg",
nbrowse = DC["US 1926"].nbrowse,
nbrowselinks = DC["US 1926"].nbrowselinks
}
DC.DC = {
shield = "DC-%route%.svg",
shieldmain = "DC-%route%.svg",
name = "District of Columbia Route %route%",
link = "District of Columbia Route %route%",
abbr = "DC %route%",
orientation = "upright",
}
 
DC["DC 1926"] = DC.DC
DC["DC 1926"].orientation = ""
 
-- add new types above this line if you want it to have the state highway maint
for k, v in pairs(DC) do if k:find ("^%a") then
local v.maint = "[[District of Columbia Department of Transportation|District of Columbia DOT]]"
end
end
 
DC["I-MD"] = {alias = {module = "USA/MD", type = "I"}}
DC["US-MD"] = {alias = {module = "USA/MD", type = "US"}}
 
return DC