Jump to content

Module:Road data/strings/CAN/NT: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
wider
update module
Line 1: Line 1:
--[==[
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"]`.
]==]

-- Northwest Territories
-- Northwest Territories
local NT = {}
local NT = {}


local util = require("Module:Road data/util")
NT.NT = {shield = "NWT-%route%.svg",
util.addAll(NT, require("Module:Road data/strings/CAN"))
link = "Northwest Territories Highway %route%",
abbr = "Highway %route%",
width = "20"}
NT.NWT = NT.NT


NT.NT = {
shield = "NWT-%route%.svg",
name = {
["1"] = "Mackenzie Highway",
["2"] = "Hay River Highway",
["3"] = "Yellowknife Highway",
["4"] = "Ingraham Trail",
["5"] = "Fort Smith Highway",
["6"] = "Fort Resolution Highway",
["7"] = "Liard Highway",
["8"] = "Dempster Highway",
["10"] = "Inuvik–Tuktoyaktuk Highway",
default = "Highway %route%"
},
link = "Northwest Territories Highway %route%",
abbr = "Highway %route%",
width = "20"
}
NT.NWT = NT.NT
NT.Hwy = NT.NT
NT.Hwy = NT.NT



Revision as of 00:43, 13 February 2021

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

-- Northwest Territories
local NT = {}

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

NT.NT = {
	shield = "NWT-%route%.svg",
	name = {
		["1"] = "Mackenzie Highway",
		["2"] = "Hay River Highway",
		["3"] = "Yellowknife Highway",
		["4"] = "Ingraham Trail",
		["5"] = "Fort Smith Highway",
		["6"] = "Fort Resolution Highway",
		["7"] = "Liard Highway",
		["8"] = "Dempster Highway",
		["10"] = "Inuvik–Tuktoyaktuk Highway",
		default = "Highway %route%"
	},
	link = "Northwest Territories Highway %route%",
	abbr = "Highway %route%",
	width = "20"
}
NT.NWT = NT.NT
NT.Hwy = NT.NT

return NT