Jump to content

Module:Road data/strings/USA/ND

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 06:07, 12 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 iNDlude the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]

-- North Dakota
local ND = {}

local util = require("Module:Road data/util")
util.addAll(ND, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]North Dakota)"
local maint = "[[North Dakota Department of Transportation|NDDOT]]"

ND.I.link = {["194"] = "Bismarck Expressway",
				default="Interstate %route% in North Dakota"}

ND["I-Future"].link = ND.I.link
ND["I 1957"].link = ND.I.link

ND.Future = ND["I-Future"]

ND.BL.link = "Interstate %route% Business ([dab||%dab%, |]North Dakota)"

ND.US.name = "U.S. Highway %route%"
ND.US.link = "U.S. Route %route%in North Dakota]"

ND["US 1926"].shieldmain = "US %route% North Dakota 1926.svg"
ND["US 1926"].name = ND.US.name
ND["US 1926"].link = ND.US.link
ND["US 1948"].shieldmain = "US %route% North Dakota 1948.svg"
ND["US 1948"].name = ND.US.name
ND["US 1948"].link = ND.US.link
ND["US 1961"].name = ND.US.name
ND["US 1961"].link = ND.US.link

ND["US-Bus"].name = ND.US.name .. " Business"
ND["US-Bus"].link = ND.US.base .. " Business" .. suffix
ND["US-Byp"].name = ND.US.name .. " Bypass"
ND["US-Byp"].link = ND.US.base .. " Bypass" .. suffix
ND["US-Truck"].name = ND.US.name .. " Truck"
ND["US-Truck"].link = ND.US.base .. " Truck" .. suffix


ND.ND = {shield = "ND-%route% (2015).svg",
         name = "North Dakota Highway %route%",
         link = "North Dakota Highway %route% [dab||(%dab%)|]",
         abbr = "ND&nbsp;%route%",
         width = {default = "expand",
                   ["23A"] = "square",
                   ["23B"] = "square"}
                   }

ND["ND 1970"] = {shield = "North Dakota %route%.svg",
				 name = ND.ND.name,
				 link = ND.ND.link,
				 abbr = ND.ND.abbr,
				 width = "expand"}

ND["ND-Alt"] = {shield = ND.ND.shield,
				name = ND.ND.name .. " Alternate",
                link = "North Dakota Highway %route% Alternate [dab||(%dab%)|]",
                abbr = ND.ND.abbr .. "A",
                banner = "Alt plate.svg",
                width = "expand"}
                
ND["ND-Bus"] = {shield = ND.ND.shield,
				name = ND.ND.name .. " Business",
                link = "North Dakota Highway %route% Business [dab||(%dab%)|]",
                abbr = ND.ND.abbr .. " Bus.",
                banner = "Business plate.svg",
                width = "expand"}                

ND["ND-Truck"] = {shield = ND.ND.shield,
				  name = ND.ND.name .. " Truck",
	              link = "North Dakota Highway %route% Truck [dab||(%dab%)|]",
	              abbr = ND.ND.abbr .. " Truck",
	              banner = "Truck plate.svg",
	              width = {default = "expand",
	              	["23B"] = "square"}
	              }

ND.BIA = {shield = "",
		  name = "BIA Road %route%",
          link = "",
          abbr = "BIA Rd.&nbsp;%route%"}

ND.MT = {alias = {module = "USA/MT", type = "MT"}}
ND.SD = {alias = {module = "USA/SD", type = "SD"}}
ND.MN = {alias = {module = "USA/MN", type = "MN"}}
ND.MB = {alias = {module = "CAN/MB", type = "Hwy"}}
ND.SK = {alias = {module = "CAN/SK", type = "SK"}}

return ND