Module:Road data/strings/CAN/SK

MyWikiBiz, Author Your Legacy — Thursday December 26, 2024
< Module:Road data‎ | strings‎ | CAN
Revision as of 05:42, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

-- Saskatchewan
local SK = {}

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

SK.SK = {
	shield = {
		["1"] = "Saskatchewan Highway 1.svg",
		["16"] = "Saskatchewan Highway 16.svg",
		["16A"] = "Saskatchewan Highway 16A.svg",
		["16B"] = "Saskatchewan Highway 16B.svg",
		["Circle"] = {"Saskatchewan Highway 11 (jct).svg", "Saskatchewan Highway 16.svg"},
		default = {
			ifexists = true,
			default = "Saskatchewan Highway %route% (jct).svg"
		}
	},
	shieldmain = {
		["1"] = "Saskatchewan Highway 1.svg",
		["2"] = {"Saskatchewan Highway %route% (jct).svg", "CanAm Highway.svg"},
		["3"] = {"Saskatchewan Highway %route% (jct).svg", "CanAm Highway.svg"},
		["6"] = {"Saskatchewan Highway %route% (jct).svg", "CanAm Highway.svg"},
		["11"] = {"Saskatchewan Highway %route% (jct).svg", "Louis Riel Trail.svg"},
		["16"] = {"Saskatchewan Highway %route%.svg", "Yellowhead Highway (Saskatchewan).svg"},
		["16A"] = "Saskatchewan Highway 16A.svg",
		["16B"] = "Saskatchewan Highway 16B.svg",
		["35"] = {"Saskatchewan Highway %route% (jct).svg", "CanAm Highway.svg"},
		["39"] = {"Saskatchewan Highway %route% (jct).svg", "CanAm Highway.svg"},
		["49"] = {"Saskatchewan Highway %route% (jct).svg", "Manitoba Highway %route%.svg"},
		["57"] = {"Saskatchewan Highway %route% (jct).svg", "Manitoba Highway %route%.svg"},
		["Circle"] = {"Saskatchewan Highway 11 (jct).svg", "Saskatchewan Highway 16.svg"},
		default = {
			ifexists = true,
			default = "Saskatchewan Highway %route% (jct).svg"
		}
	},
	name = {
		default = "Highway %route%",
		["Circle"] = "Circle Drive"
	},
	link = {
		default = "[dab||%dab%|Saskatchewan Highway %route%]",
		["17"]  = "Highway 17 (Alberta–Saskatchewan)",
		["Circle"] = "Circle Drive"
	},
         
	abbr = {
		["Circle"] = "Circle Drive",
		default = "Hwy %route%"
	},
	orientation = "upright"

}
              
SK.Hwy = SK.SK

SK.TCH = {
	shield = SK.SK.shield,
	name = SK.SK.name,
	link = "Saskatchewan Highway %route%",
	abbr = SK.SK.abbr.default .. " (TCH)",
	orientation = "upright"
}

SK.AB = {alias = {module = "CAN/AB", type = "Hwy", width = "expand"}}

SK.MB = {alias = {module = "CAN/MB", type = "Hwy"}}              

SK.Mun = {
	shield = "Saskatchewan Route %route%.svg",
	name = SK.SK.name.default,
	link = SK.SK.link,
	abbr = SK.SK.abbr,
	banner = "Saskatchewan Rural Municipal Route.svg",
	orientation = "upright"
}

SK.Tertiary = SK.SK --shields are superimposed

return SK