Module:Road data/strings/USA/ND
MyWikiBiz, Author Your Legacy — Thursday December 05, 2024
< Module:Road data | strings | USA
Jump to navigationJump to searchDocumentation for this module may be created at Module:Road data/strings/USA/ND/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 iNDlude the route type, e.g., `p.I` and `p["US-Hist"]`. ]==] -- North Dakota local ND = {} local util = require("Module:Road data/util") local format = mw.ustring.format 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" for _,year in ipairs({"1926", "1948", "1961"}) do ND["US " .. year] = { shield = format("US %%route%% (%s).svg", year), shieldmain = format("US %%route%% North Dakota %s.svg", year), name = ND.US.name, link = ND.US.link, abbr = ND.US.abbr, width = "square", } end ND["US 1961"].shieldmain = ND["US 1961"].shield 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 %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 = ND.ND.width } ND.BIA = { shield = "", name = "BIA Road %route%", link = "", abbr = "BIA Rd. %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