Module:Road data/strings/CAN/NS explained

--[==[ To inspect the content of this data module, use [[Special:ExpandTemplates]]and enter the following input text:

To inspect the content of this data module when editing, enter the followinginto 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"]`.]

]

-- Nova Scotialocal NS =

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

NS.NS =

NS.Hwy = NS.NS

NS.Trunk =

for k, v in pairs(NS) do if k:find ("TCH") then v.shield = "Nova Scotia Highway %route% (TCH).svg" v.shieldmain = v.name = NS.NS.name v.link = NS.NS.link v.abbr = NS.NS.abbr .. " (TCH)" v.orientation = "upright" endend

NS.Route =

NS.Trail =

-- add new types above this line if you want it to have the provincial highway browse and maintfor k, v in pairs(NS) do if k:find ("^%a") then v.maint = "Department of Transportation and Infrastructure Renewal" v.browse = "Provincial highways in Nova Scotia" v.browselinks = endend

return NS