Jump to content

Module:Road data/strings/USA/DE

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 00:36, 11 February 2021 (update module). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--[==[
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"]`.
]==]

-- Delaware
local DE = {}

local util = require("Module:Road data/util")
util.addAll(DE, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Delaware)"
local maint = "[[Delaware Department of Transportation|DelDOT]]"

DE.I = {shield = "I-%route%.svg",
        link = "Interstate %route% (Delaware)",
        abbr = "I-%route%",
        width = "expand"}

DE["I 1957"].link = DE.I.link
DE["I-Toll"].link = DE.I.link

DE.US.link = "U.S. Route %route% in Delaware"

DE["US-Alt"].link = "U.S. Route %route% Alternate" .. suffix
DE["US-Bus"].link = "U.S. Route %route% Business" .. suffix
DE["US-Byp"].link = "U.S. Route %route% Bypass" .. suffix
DE["US-Truck"].link = "U.S. Route %route% Truck" .. suffix

DE["US-Toll"] = {	shield = DE.US.shield,
					link = DE.US.link,
					abbr = DE.US.abbr,
					width = "expand",
					banner = "Toll plate yellow.svg"}

DE["US 1926"].link = DE.US.link
DE["US 1948"].link = DE.US.link
DE["US 1961"].link = DE.US.link
                 
DE["US 1961-Alt"] = {shield = DE["US 1961"].shield,
                link = DE["US-Alt"].link,
                abbr = DE["US-Alt"].abbr,
                banner = "Alt plate.svg"}  

DE["US 1961-Byp"] = {shield = DE["US 1961"].shield,
                link = DE["US-Byp"].link,
                abbr = DE["US-Byp"].abbr,
                banner = "By-pass plate.svg"}  
                
DE["US 1948-Alt"] = {shield = DE["US 1948"].shield,
                link = DE["US-Alt"].link,
                abbr = DE["US-Alt"].abbr,
                banner = "Alt plate.svg", 
                 width = "US1926"}
                
DE.SR = {	shield = {hook = "splitlen",
                           split = 3,
                           above = "Ellipse sign %route%.svg",
                           below = "Elongated circle %route%.svg"},
			name = "Delaware Route %route%",
			link = "Delaware Route %route% [dab||(%dab%)|]",
			abbr = "DE&nbsp;%route%",
			width = "expand"}

DE.DE = DE.SR

DE["SR-Bus"] = {shield = DE.SR.shield,
				name = DE.SR.name .. " Business",
                link = "Delaware Route %route% Business [dab||(%dab%)|]",
                abbr = "DE&nbsp;%route% Bus.",
                banner = "Business plate.svg",
                width = "expand"}

DE["DE-Bus"] = DE["SR-Bus"]

DE["SR-Alt"] = {shield = DE.SR.shield,
				name = DE.SR.name .. " Alternate",
                link = "Delaware Route %route% Alternate [dab||(%dab%)|]",
                abbr = "DE&nbsp;%route% Alt.",
                banner = "Alt plate.svg",
                width = "expand"}

DE["DE-Alt"] = DE["SR-Alt"]

DE["SR-Truck"] = {	shield = DE.SR.shield,
					name = DE.SR.name .. " Truck",
					link = "Delaware Route %route% Truck [dab||(%dab%)|]",
					abbr = "DE&nbsp;%route% Truck",
					banner = "Truck plate.svg",
					width = "expand"}

DE["DE-Truck"] = DE["SR-Truck"]

DE["SR-Toll"] = {shield = DE.DE.shield,
				name = DE.SR.name .. " Toll",
                link = DE.DE.link,
                abbr = "DE&nbsp;%route% Toll",
                banner = "Toll plate yellow.svg",
                width = "expand"}

DE["DE-Toll"] = DE["SR-Toll"]

DE["SR 1978"] = {	shield = {hook = "splitlen",
                           split = 3,
                           below = "Circle sign %route%.svg",
                           above = "Elongated circle %route%.svg"},
					name = DE.SR.name,
					link = DE.SR.link,
					abbr = DE.SR.abbr,
					width = "expand"} 
				  
DE["DE 1978"] = DE["SR 1978"]

DE["SR 1978-Alt"] = {shield = DE["SR 1978"].shield,
				name = DE["SR-Alt"].name,
                link = DE["SR-Alt"].link,
                abbr = DE["SR-Alt"].abbr,
                banner = "Alt plate.svg",
                width = "expand"} 
                
DE["DE 1978-Alt"] = DE["SR 1978-Alt"]
				 
                
DE["SR 1970"] = {shield = "Circle sign %route%.svg",
					name = DE.SR.name,
				   link = DE.SR.link,
				   abbr = DE.SR.abbr,
				  width = "square"} 

DE["DE 1970"] = DE["SR 1970"]

DE["SR 1964"] = {shield = "Delaware %route% 1964.svg",
					name = DE.SR.name,
					link = DE.SR.link,
					abbr = DE.SR.abbr}

DE["DE 1964"] = DE["SR 1964"]

DE["SR 1955"] = {shield = "Delaware %route% 1955.svg",
					name = DE.SR.name,
					link = DE.SR.link,
					abbr = DE.SR.abbr,
            		width = 17}

DE["DE 1955"] = DE["SR 1955"]

DE["SR 1926"] = {shield = "Delaware %route% 1926.svg",
					name = DE.SR.name,
					link = DE.SR.link,
					abbr = DE.SR.abbr,
                	width = 17}

DE["DE 1926"] = DE["SR 1926"]

DE.DETP = {shield = "Delaware Turnpike logo.gif",
			name = "Delaware Turnpike",
           link = "Delaware Turnpike",
           abbr = "Delaware Turnpike",
           width = 29}

DE.NJTP = {alias = {module = "USA/NJ", type = "NJTP"}}
           
DE.DEMD = {shield = {DE.SR.shield, "MD Route %route%.svg"},
			name = "Route %route%",
           link = "Route %route% (Delaware–Maryland)",
           abbr = "DE / MD&nbsp;%route%",
           width = 40}

DE.MD = {alias = {module = "USA/MD", type = "MD"}}

DE.SBR = {shield = "US Bike %route% (M1-8).svg",
			name = "Bike Route %route%",
	     link = "Delaware Bicycle Route %route%",
	     abbr = "Bike Route %route%"}

return DE