Jump to content

Module:Road data/strings/USA/AR

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 22:09, 6 February 2021 (fi). 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"]`.
]==]

-- Arkansas
local AR = {}

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

local suffix = " ([dab||%dab%, |]Arkansas)"
local suffix2 = " [dab||(%dab%)|]"
local maint = "[[Arkansas Department of Transportation|ArDOT]]"

AR[" common "] = {
	browse = {
		{link = "Arkansas Highway System", bold = true},
		{
			noprint = true,
			{link = "List of Interstate Highways in Arkansas", name = "Interstate"},
			{link = "List of U.S. Highways in Arkansas", name = "U.S."},
			{link = "List of state highways in Arkansas", name = "State"},
			{link = "List of Arkansas state highway business routes", name = "Business"},
			{link = "List of state highway spurs in Arkansas", name = "Spurs"},
			{link = "List of suffixed Arkansas state highways", name = "Suffixed"},
			{link = "Arkansas Scenic Byways", name = "Scenic"},
			{link = "Arkansas Heritage Trails System", name = "Heritage"},
		}
	}
}

AR.I.link = {	["30"] = "Interstate 30",
                ["57"] = "Interstate 57#Future",
                ["130"] = "Loop (Texarkana)",
                ["440"] = "Interstate 440 (Arkansas)",
                ["540"] = "Interstate 540 (Arkansas)",
                default = {hook = "splitlen",
                           split = 3,
                           above = "Interstate %route%",
                           below = "Interstate %route% in Arkansas"}}

AR.Future.link = AR.I.link

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

AR.US.shield = "US %route% (AR).svg"
AR.US.link = "U.S. Route %route% [dab||(%dab%, Arkansas)|in Arkansas]"

AR["US 1926"].link = AR.US.link
AR["US 1948"].link = AR.US.link
                 
AR["US-Bus"].shield = "US %route%B.svg"
AR["US-Bus"].link = AR.US.base .. "B" .. suffix
AR["US-Bus"].abbr = AR.US.abbr .. "B"
AR["US-Bus"].banner = ""

AR["US-Conn"].shield = "US %route%Y.svg"
AR["US-Conn"].link = AR.US.base .. "Y" .. suffix
AR["US-Conn"].abbr = AR.US.abbr .. "Y"
AR["US-Conn"].banner = ""

AR["US-Spur"].shield = "US %route%S.svg"
AR["US-Spur"].link = AR.US.base .. "S" .. suffix
AR["US-Spur"].abbr = AR.US.abbr .. "S"
AR["US-Spur"].banner = ""

AR["US-Byp"].link = AR.US.base .. " Bypass" .. suffix

AR.AR = {	base = "Arkansas Highway %route%",
			shield = {	default = "Arkansas %route%.svg",
						["917"] = "Arkansas 917-1.svg",
						["980"] = "Arkansas 980(Airport).svg"},
			link = "Arkansas Highway %route%" .. suffix2,
			abbr = "AR&nbsp;%route%",
			width = "expand"}

AR.Hwy = AR.AR

AR["AR 1970"] = {shield = {hook = "splitlen",
						   split = 3,
						   above = {default = "Arkansas %route% 1970.svg",
                   					["917"] = "Arkansas 917-1.svg",
                   					["980"] = "Arkansas 980(Airport).svg"},
						   below = AR.AR.shield},
				 link = AR.AR.link,
				 abbr = AR.AR.abbr,
				 width = "square"}
				 
AR["Hwy 1970"] = AR["AR 1970"]	

AR["AR 1926"] = {shield = "Arkansas %route% 1926.svg",
				 link = AR.AR.link,
				 abbr = AR.AR.abbr}

AR["AR 1948"] = {shield = "Arkansas %route% 1948.svg",
				 link = AR.AR.link,
				 abbr = AR.AR.abbr}

AR["AR-Bus"] = {shield = "Arkansas %route%B.svg",
				 link = AR.AR.base .."B" ..suffix2,
				 abbr = AR.AR.abbr .."B",
                 width = "expand"}
                 
AR["Hwy-Bus"] = AR["AR-Bus"]   

AR["Hwy-Spur"] = {shield = "Arkansas %route%S.svg",
				 link = AR.AR.base .."S" ..suffix2,
				 abbr = AR.AR.abbr .."S",
                 width = "expand"}                 

AR["AR-Spur"] = AR["Hwy-Spur"]   

AR["AR-Truck"] = {shield = AR.AR.shield, --this is for truck banners, NOT 'T' suffixes
                link = AR.AR.link .. " Truck" .. suffix2,
                abbr = AR.AR.abbr .. " Truck",
                banner = "Truck plate.svg",
                width = "expand"}
                
AR.CRP = {shield = "Crowley's Ridge Parkway generic.svg",
          link = "Crowley's Ridge Parkway",
          abbr = "Crowley's Ridge Pkwy."}

AR.CR = {shield = {arg        = "county",
                   default    = "CR %route% jct.svg",
                   
                   Lee    = "Lee County %route% AR.svg"},
         link = "",
         abbr = "CR&nbsp;%route%"}
         
AR.FR.shield = {hook = "splitlen",
						   split = 4,
						   above = "",
						   below = "Forest Route %route%.svg"}

AR.FH.shield = AR.FR.shield

AR["US-TX"] = {alias = {module = "USA/TX", type = "US"}}

return AR