Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Road data/strings/USA/DC

From Cube Studios Wiki

Documentation for this module may be created at Module:Road data/strings/USA/DC/doc

--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

To inspect the content of this data module when editing, enter the following
into 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"]`.
]==]

-- District of Columbia
local DC = {}

local util = require("Module:Road data/util")
util.addAll(DC, require("Module:Road data/strings/USA"))
local suffix = " (Washington, D.C.)"

DC.I.link = "Interstate %route% (District of Columbia)"
DC["I-Alt"].banner = "Alt plate blue.svg"

DC["I 1957"].link = DC.I.link
DC["I 1961"].link = DC.I.link
        
DC["I-Alt"].link = "Interstate %route% Alternate" .. suffix
                
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"].shield = "US %route% District of Columbia 1970.svg"
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["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",
	name = "District of Columbia Route %route%",
	link = "District of Columbia Route %route%",
	abbr = "DC&nbsp;%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 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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.