Jump to content

Module:Road data/strings/CAN

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 21:19, 27 July 2021 (add some multiprovincial types). 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"]`.
]==]

-- Canada

local CAN = {}
local util = require("Module:Road data/util")-- Canada

CAN.road = {
	shield = '',
	name = "%route%",
	link = '',
	abbr = "%route%",
	browse = '',
}

CAN.BCAB = {
	shield = {"BC-%route%.svg", "Alberta Highway %route%.svg"},
	name = "Highway %route%",
	link = "Highway %route% (British Columbia–Alberta)",
	abbr = "Hwy %route%"
}

CAN["BCAB 1960"] = {
	shield = {"BC-%route%.svg", "Alberta Highway %route% (1960s).svg"},
	name = "Highway %route%",
	link = "Highway %route% (British Columbia–Alberta)",
	abbr = "Hwy %route%"
}

CAN.ABMB = {
	shield = {"Alberta Highway %route%.svg", "Manitoba Highway %route%.svg"},
	name = "Highway %route%",
	link = "Highway %route% (Alberta–Manitoba)",
	abbr = "Hwy %route%"
}

CAN.MBSK = {
	shield = {"Manitoba Highway %route%.svg", "Saskatchewan Highway %route% (jct).svg"},
	name = "Highway %route%",
	link = "Highway %route% (Manitoba–Saskatchewan)",
	abbr = "Hwy %route%"
}

return CAN