Module:Road data/strings/CAN: Difference between revisions
Jump to navigation
Jump to search
(fix embarrassing mistake) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 11:46, 7 September 2021
Documentation for this module may be created at Module:Road data/strings/CAN/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"]`. ]==] -- Canada local CAN = {} local util = require("Module:Road data/util")-- Canada CAN.road = { shield = '', name = "%route%", link = '', abbr = "%route%", browse = '', } CAN.BCAB = { shield = {"BC-%route%.svg", "Alberta Highway %route%.svg"}, name = "Highway %route%", link = "Highway %route% (British Columbia–Alberta)", abbr = "Hwy %route%" } CAN["BCAB 1960"] = { shield = {"BC-%route%.svg", "Alberta Highway %route% (1960s).svg"}, name = "Highway %route%", link = "Highway %route% (British Columbia–Alberta)", abbr = "Hwy %route%" } CAN.ABSK = { shield = {"Alberta Highway %route%.svg", "Saskatchewan Highway %route% (jct).svg"}, name = "Highway %route%", link = "Highway %route% (Alberta–Saskatchewan)", abbr = "Hwy %route%" } CAN.SKMB = { shield = {"Saskatchewan Highway %route% (jct).svg", "Manitoba Highway %route%.svg"}, name = "Highway %route%", link = "Highway %route% (Saskatchewan–Manitoba)", abbr = "Hwy %route%" } return CAN