Module:Road data/strings/USA/AR

< Module:Road data‎ | strings‎ | USA
Revision as of 05:46, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Road data/strings/USA/AR/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"]`.
]==]

-- 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.name = "U.S. Highway %route%"
AR.US.shield = "US %route% (AR).svg"
AR.US.link = "U.S. Route %route% [dab||(%dab%, Arkansas)|in Arkansas]"

AR["US 1926"].shieldmain = "US %route% Arkansas 1926.svg"
AR["US 1926"].name = AR.US.name
AR["US 1926"].link = AR.US.link
AR["US 1948"].shieldmain = "US %route% Arkansas 1948.svg"
AR["US 1948"].name = AR.US.name
AR["US 1948"].link = AR.US.link
                 
AR["US-Bus"].shield = "US %route%B.svg"
AR["US-Bus"].shieldmain = "US %route%B.svg"
AR["US-Bus"].name = AR.US.name .. "B"
AR["US-Bus"].link = AR.US.base .. "B" .. suffix
AR["US-Bus"].abbr = AR.US.abbr .. "B"
AR["US-Bus"].banner = ""
AR["US-Bus"].width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}

AR["US-City"] = {
	shield = "US %route%C.svg",
	name = AR.US.name .. "C",
	link = AR.US.base .. "C" .. suffix,
	AR.US.abbr .. "C",
	banner = "",
	width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}
}

AR["US-Conn"].shield = "US %route%Y.svg"
AR["US-Conn"].shieldmain = "US %route%Y.svg"
AR["US-Conn"].name = AR.US.name .. "Y"
AR["US-Conn"].link = AR.US.base .. "Y" .. suffix
AR["US-Conn"].abbr = AR.US.abbr .. "Y"
AR["US-Conn"].banner = ""
AR["US-Conn"].width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}
AR["US-Spur"].shield = "US %route%S.svg"
AR["US-Spur"].shieldmain = "US %route%S.svg"
AR["US-Spur"].name = AR.US.name .. "S"
AR["US-Spur"].link = AR.US.base .. "S" .. suffix
AR["US-Spur"].abbr = AR.US.abbr .. "S"
AR["US-Spur"].banner = ""
AR["US-Spur"].width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}
AR["US-Byp"].name = AR.US.name .. "Bypass"
AR["US-Byp"].link = AR.US.base .. " Bypass" .. suffix

AR["US-Hist"].name = "Historic " .. AR.US.name

AR.AR = {
	base = "Arkansas Highway %route%",
	name = "Highway %route%",
	shield = {
		default = "Arkansas %route%.svg",
		["917"] = "Arkansas 917-1.svg",
		["980"] = "Arkansas 980(Airport).svg"
	},
	shieldmain = {
		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
	},
	name = AR.AR.name,
	link = AR.AR.link,
	abbr = AR.AR.abbr,
	width = "square"
}
	 
AR["Hwy 1970"] = AR["AR 1970"]	

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

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

AR["Hwy-Bus"] = {
	shield = "Arkansas %route%B.svg",
	name = AR.AR.name .."B",
	link = AR.AR.base .."B" ..suffix2,
	abbr = AR.AR.abbr .."B",
	width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}
}
                 
AR["AR-Bus"] = AR["Hwy-Bus"]   

AR["Hwy-Spur"] = {
	shield = "Arkansas %route%S.svg",
	name = AR.AR.name .."S",
	link = AR.AR.base .."S" ..suffix2,
	abbr = AR.AR.abbr .."S",
	width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}
}                 

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

AR["Hwy-Truck"] = {
	shield = AR.AR.shield, --this is for truck banners, NOT 'T' suffixes
	name = AR.AR.name .." Truck",
	link = AR.AR.link .. " Truck" .. suffix2,
	abbr = AR.AR.abbr .. " Truck",
	banner = "Truck plate.svg",
	width = "expand"
}              

AR["AR-Truck"] = AR["Hwy-Truck"]

AR["Hwy-Truck-Spur"] = {
	shield = "Arkansas %route%S.svg",
	name = AR.AR.name .."S",
	link = AR.AR.base .."S" ..suffix2,
	abbr = AR.AR.abbr .."S",
	banner = "Truck plate.svg",
	width = {
		hook = "splitlen",
		split = 2,
		above = "wide",
		below = "square"
	}
}              

AR["AR-Truck-Spur"] = AR["Hwy-Truck-Spur"]
AR["Hwy-Spur-Truck"] = AR["Hwy-Truck-Spur"]
AR["AR-Spur-Truck"] = AR["Hwy-Truck-Spur"]
                
AR.CRP = {
	shield = "Crowley's Ridge Parkway generic.svg",
	name = "Crowley's Ridge Parkway",
	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"
}
AR.CR.shieldmain = {
	arg = "county",
	default = "%county% County %route%.svg",
	Lee = "Lee County %route% AR.svg"
}
AR.FR.shield = {hook = "splitlen",
	split = 4,
	above = "",
	below = "Forest Route %route%.svg"
}
AR.FR.shieldmain = {hook = "splitlen",
	split = 4,
	above = "",
	below = "Forest Route %route%.svg"
}
	
AR.FH.shield = AR.FR.shield
AR.FH.shieldmain = AR.FR.shieldmain

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

return AR