Jump to content

Module:Road data/strings/CAN/QC

Permanently protected module
From Wikipedia, the free encyclopedia

--[==[
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% [dab||(%dab%)|]",
	abbr = "R-%route%",
	orientation = "upright"
}
QC.Route = QC.QC

QC.R = QC.QC

QC.A = {
	shield = "Quebec Autoroute %route%.svg",
	name = "Autoroute %route%",
	link = "Quebec Autoroute %route% [dab||(%dab%)|]",
	abbr = "A-%route%",
	color = "MUTCDblue",
	bannersuffix = "blue",
	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"
	}
}
QC.TCH.name = {
	["117"] = "Route %route%",
	["185"] = "Route %route%",
	["QC"] = "Trans-Canada Highway",
	default = "Autoroute %route%"
}
QC.TCH.link = {
	["117"] = "Quebec Route 117",
	["185"] = "Quebec Route 185",
	["QC"] = "Trans-Canada Highway",
	default = "Quebec Autoroute %route% [dab||(%dab%)|]"
}
QC.TCH.abbr = {
	["117"] = "R-%route% (TCH)",
	["185"] = "R-%route% (TCH)",
	["QC"] = "TCH",
	default = "A-%route% (TCH)"
}
QC.TCH.orientation = "upright"

-- add new types above this line if you want it to have the provincial highway browse and maint
for k, v in pairs(QC) do if k:find ("^%a") then
QC.TCH.maint = "[[Transports Québec]]"
	end
end

QC["QC 1952"] = {
	shield = "QC-%route% (1952).svg",
	name = QC.QC.name,
	link = {
		["108"] = "Quebec Route 108 (pre-1970s)",
		default = QC.QC.link
	},
	abbr = "Route %route%",
	color = "deleted",
	orientation = "upright"
}
QC["QC OLD"] = QC["QC 1952"]
                
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