Documentation for this module may be created at Module:Road data/strings/CAN/YT/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"]`.
]==]
-- Yukon Territory
local YT = {}
local util = require("Module:Road data/util")
util.addAll(YT, require("Module:Road data/strings/CAN"))
YT.YT = {
shield = "Yukon Highway %route%.svg",
name = "Yukon Highway %route%",
link = "Yukon Highway %route%",
abbr = "Hwy %route%"
}
YT.Hwy = YT.YT
-- add new types above this line if you want it to have the provincial highway browse and maint
for k, v in pairs(YT) do if k:find ("^%a") then
v.maint = "Department of Highways and Public Works"
v.browse = "[[List of Yukon territorial highways|Territorial highways in Yukon]]"
v.browselinks = {
[1] = "[[Miscellaneous Yukon roads|Miscellaneous]]"
}
end
end
return YT