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

From Pantonian Republic Wiki
Jump to navigation Jump to search
(add translation)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:59, 13 July 2024

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