Documentation for this module may be created at Module:Road data/strings/CAN/NL/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"]`.
]==]
-- Newfoundland and Labrador
local NL = {}
local util = require("Module:Road data/util")
util.addAll(NL, require("Module:Road data/strings/CAN"))
NL.NL = {
shield = {
["1"] = "NL TCH sign.svg",
default = "NL Route %route%.svg"
},
shieldmain = {
hook = "splitlen",
split = 4,
above = "",
below = {
["1"] = "NL TCH sign.svg",
["10"] = {"NL Route %route%.svg", "IRISH lOOP rOUTE MARKER - ROUTE 10.png"},
["100"] = {"NL Route %route%.svg", "THE CAPE SHORE ROUTE MARKER - ROUTE 100.png"},
["340"] = {"NL Route %route%.svg", "Newfoundland and Labrador Route 340 rtti.PNG"},
["460"] = {"NL Route %route%.svg", "The French Ancestors Route - Route 460 Marker.png"},
default = "NL Route %route%.svg"
},
},
name = "Route %route%",
link = "Newfoundland and Labrador Route %route%",
abbr = {
["1"] = "Route 1 (TCH)",
default = "Route %route%"
},
orientation = {
["1"] = "upright",
default = ""
}
}
NL.TCH.shield = NL.NL.shield
NL.TCH.name = NL.NL.name
NL.TCH.link = NL.NL.link
NL.TCH.abbr = NL.NL.abbr
NL.TCH.orientation = "upright"
-- add new types above this line if you want it to have the provincial highway maint
for k, v in pairs(NL) do if k:find ("^%a") then
v.maint = "Newfoundland & Labrador Department of Transportation and Works"
end
end
return NL