Jump to content

Module:Road data/strings/USA/AL

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 04:07, 11 February 2021 (CR is inherited). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--[==[
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"))

local suffix = " ([dab||%dab%, |]Alabama)"
local maint = "[[Alabama Department of Transportation|ALDOT]]"

AL.I.link = {	["185"] = "Interstate 185 (Georgia)",
        		["210"] = "Interstate 210 (Alabama)",
        		default =	{hook = "splitlen",
                			split = 3,
                			above = "Interstate %route% (Alabama)",
                			below = "Interstate %route% in Alabama"}}

AL.Future.link = AL.I.link

AL["I-Future"] = AL.Future

AL.US.link = "U.S. Route %route% in Alabama"

AL["US-Alt"].link = "U.S. Route %route% Alternate" .. suffix
AL["US-Bus"].link = "U.S. Route %route% Business" .. suffix
AL["US-Truck"].link = "U.S. Route %route% Truck" .. suffix

AL["US 1926"].link = AL.US.link
AL["US 1948"].link = AL.US.link
AL["US 1961"].link = AL.US.link                

AL.SR = {	shield = "Alabama %route%.svg",
			name = "State Route %route%",
			link = "Alabama State Route %route% [dab||(%dab%)|]",
			abbr = "SR %route%",
			width = "expand"}

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.",
                banner = "Business plate.svg",
                width = "expand"}

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.",
                banner = "By-pass plate.svg",
                width = "expand"}

AL["SR-Truck"] = {	shield = AL.SR.shield,
					name = AL.SR.name .. " Truck",
					link = "Alabama State Route %route% Truck [dab||(%dab%)|]",
					abbr = AL.SR.abbr .. " Truck",
					banner = "Truck plate.svg",
					width = "expand"}

AL["AL-Bus"] = AL["SR-Bus"]

AL.CR.name = "County Route %route%"
AL.CR.link = {ifexists = true,
                 default = "County Route %route% (%county% County, Alabama)"}

AL.Beach = {shield = {ifexists = true,
					  default = "%route% Beach Express.svg",
					  otherwise = ""},
			name = "%route% Beach Express",
			link = "%route% Beach Express",
			abbr = "%route% Beach Express"} --Foley or Baldwin

AL.SPR = {shield = "",
			name = "State Park Road %route%",
			link = "State Park Road %route% (Alabama)",
			abbr = "State Park Road %route%"}
          
AL.FL = {alias = {module = "USA/FL", type = "SR"}}
AL.GA = {alias = {module = "USA/GA", type = "SR"}}
AL.TN = {alias = {module = "USA/TN", type = "TN"}}
AL.TNSec = {alias = {module = "USA/TN", type = "Sec"}}
AL.MS = {alias = {module = "USA/MS", type = "MS"}}
AL.road = {alias = {module = "USA", type = "road"}}

return AL