Module:Road data/strings/CAN/QC

MyWikiBiz, Author Your Legacy — Thursday December 26, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/CAN/QC/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"]`.
]==]

-- Québec
local QC = {}

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

QC.I = {alias = {module = "USA", type = "I", link = {["87"] = "Interstate 87 (New York)", default = "Interstate %route%"}}}

QC.QC = {
	shield = "Qc%route%.svg",
	name = "Route %route%",
	link = "Quebec Route %route%",
	abbr = "Route %route%",
	orientation = "upright"
}
QC.Route = QC.QC

QC.A = {
	shield = "Quebec Autoroute %route%.svg",
	name = "Autoroute %route%",
	link = "Quebec Autoroute %route% [dab||(%dab%)|]",
	abbr = "A-%route%",
	color = "MUTCDblue",
	orientation = "upright"
}
QC.Autoroute = QC.A

QC.TCH = {
	shield = {
		["117"] = {"Qc117.svg","Trans-Canada Highway shield.svg"},
		["185"] = {"Qc185.svg","Trans-Canada Highway shield.svg"},
		["QC"] = "Trans-Canada Highway shield.svg",
		default = {"Quebec Autoroute %route%.svg","Trans-Canada Highway shield.svg"
		}
	},
	name = {
		["117"] = "Route %route%",
		["185"] = "Route %route%",
		["QC"] = "Trans-Canada Highway",
		default = "Autoroute %route%"
	},
	link = {
		["117"] = "Quebec Route 117",
		["185"] = "Quebec Route 185",
		["QC"] = "Trans-Canada Highway",
		default = "Quebec Autoroute %route% [dab||(%dab%)|]"
	},
	abbr = {
		["117"] = "Route %route% (TCH)",
		["185"] = "Route %route% (TCH)",
		["QC"] = "TCH",
		default = "A-%route% (TCH)"
	},
	orientation = "upright"
}

QC["QC OLD"] = {
	shield = "OldRoad Qc%route%.png",
	name = QC.QC.name,
	link = {
		["108"] = "Quebec Route 108 (pre-1970s)",
		default = QC.QC.link
	},
	abbr = QC.QC.abbr,
	color = "deleted",
	orientation = "upright"
}
                
QC.NB = {alias = {module = "CAN/NB", type = "NB"}}
QC.ON = {alias = {module = "CAN/ON", type = "ON"}}
QC.US = {alias = {module = "USA", type = "US"}}
QC["NY-I"] = {alias = {module = "USA/NY", type = "I"}}

return QC