Jump to content

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

From Wikipedia, the free encyclopedia
Content deleted Content added
m add shieldmain (via WP:JWB)
cleanup
Line 20: Line 20:
NT.NT = {
NT.NT = {
shield = "NWT-%route%.svg",
shield = "NWT-%route%.svg",
shieldmain = "NWT-%route%.svg",
name = {
name = {
["1"] = "Mackenzie Highway",
["1"] = "Mackenzie Highway",
Line 35: Line 34:
link = "Northwest Territories Highway %route%",
link = "Northwest Territories Highway %route%",
abbr = "Highway %route%",
abbr = "Highway %route%",
width = "20"
orientation = "upright"
}
}
NT.NWT = NT.NT
NT.NWT = NT.NT

Revision as of 23:01, 21 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%",
	orientation = "upright"
}
NT.NWT = NT.NT
NT.Hwy = NT.NT

return NT