Content deleted Content added
Undid revision 931637021 by MatthewAnderson707 (talk) |
update module |
||
Line 1:
--
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"]`.
]==]
-- Alabama
local AL = {}
local util = require("Module:Road data/util")
util.addAll(AL, require("Module:Road data/strings/USA"))
link = {["185"] = "Interstate 185 (Georgia)",▼
local suffix = " ([dab||%dab%, |]Alabama)"
local maint = "[[Alabama Department of Transportation|ALDOT]]"
["210"] = "Interstate 210 (Alabama)",
default = {hook = "splitlen",
split = 3,
above = "Interstate %route% (Alabama)",
below = "Interstate %route% in Alabama"}}
AL.Future.link =
AL["I-Future"] = AL.Future
AL.US
link = "U.S. Route %route% in Alabama",▼
abbr = "US %route%",▼
link = "U.S. Route %route% Business ([dab||%dab%, |]Alabama)",▼
AL["US
AL["US
AL["US
AL["US 1961"].link = AL.US.link
AL.SR = { shield = "Alabama %route%.svg",
name = "State Route
link = "Alabama State Route %route% [dab||(%dab%)|]", AL.AL = AL.SR
AL["SR-Bus"] = {shield = AL.SR.shield,
name = AL.SR.name .. " Business",
link = "Alabama State Route %route% Business [dab||(%dab%)|]",
abbr = AL.SR.abbr .. " Bus.",
Line 71 ⟶ 58:
AL["SR-Byp"] = {shield = AL.SR.shield,
name = AL.SR.name .. " Bypass",
link = "Alabama State Route %route% Bypass [dab||(%dab%)|]",
abbr = AL.SR.abbr .. " Byp.",
Line 76 ⟶ 64:
width = "expand"}
AL["SR-Truck"] = { shield = AL.SR.shield,
name = AL.SR.name .. "
link = "Alabama State Route %route% Truck [dab||(%dab%)|]", AL["AL-Bus"] = AL["SR-Bus"]
AL.CR = {shield = "CR %route% jct.svg",
name = "County Route %route%",
link = {ifexists = true,
default = "County Route %route% (%county% County, Alabama)"},
Line 92 ⟶ 82:
default = "%route% Beach Express.svg",
otherwise = ""},
name = "%route% Beach Express",
link = "%route% Beach Express",
abbr = "%route% Beach Express"} --Foley or Baldwin
AL.SPR = {shield = "",
AL.FL = {alias = {module = "USA/FL", type = "SR"}}
|