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

Content deleted Content added
fix
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)
 
(7 intermediate revisions by 3 users not shown)
Line 20:
 
DC.I.link = "Interstate %route% (District of Columbia)"
DC["I-Alt"].banner = "Alt plate blue.svg"
 
DC["I 1957"].link = DC.I.link
Line 35 ⟶ 36:
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["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 = {
Line 42 ⟶ 55:
link = "District of Columbia Route %route%",
abbr = "DC %route%",
orientation = "upright",
}
 
Line 48 ⟶ 61:
DC["DC 1926"].orientation = ""
 
-- 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.maint = "[[District of Columbia Department of Transportation|District of Columbia DOT]]"
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"}}
DC["US-MD"] = {alias = {module = "USA/MD", type = "US"}}
 
return DC