Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Road data/strings/CAN

From Cube Studios Wiki

Documentation for this module may be created at Module:Road data/strings/CAN/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 include the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]

-- Canada

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

CAN.TCH = {
	shield = "TCH-blank.svg",
	name = "Trans-Canada Highway",
	link = "Trans-Canada Highway",
	abbr = "TCH",
	translation = "Route Transcanadienne",
	lang = "fr",
	nbrowse = "[[National Highway System (Canada)|National Highway System]]",
	nbrowselinks = {
		[1] = "[[Trans-Canada Highway]]"
	}
}

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.ABSK = {
	shield = {"Alberta Highway %route%.svg", "Saskatchewan Highway %route% (jct).svg"},
	name = "Highway %route%",
	link = "Highway %route% (Alberta–Saskatchewan)",
	abbr = "Hwy %route%"
}

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

return CAN
Cookies help us deliver our services. By using our services, you agree to our use of cookies.