Module:Road data/strings/USA/AK

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

--[==[
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"]`.
]==]

-- Alaska
local AK = {}

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

local suffix = " ([dab||%dab%, |]Alaska)"

AK.I.link = "Interstate A-%route%"
AK.I.name = "Interstate A-%route%"
AK.I.abbr = "A-%route%"
AK.I.shield = "I-A%route%.svg"

AK.US.link = "U.S. Route %route% in Alaska"

--Do not add USH special routes

AK.AK = {
	shield = "Alaska %route% shield.svg",
	name = "Alaska Route %route%",
	link = "Alaska Route %route%",
	abbr = "AK-%route%",
	blank = "Alaska blank shield.svg",
	routetype = "[[AARoads:United States/State highways|State highways]]"
	
}

AK["AK-Bus"] = {
	shield = "Alaska %route% Business shield.svg",
	name = "Alaska Route %route% Business",
	link = "Alaska Route %route% Business",
	abbr = "AK-%route% Bus.",
	banner = "Business plate green.svg",
	bannersuffix = "green",
	blank = "Alaska 3 Business shield.svg",
	routetype = AK.AK.routetype
	
}
         
AK.Highway = {
	name = {default = "%route% Highway",
		["Chena Hot Springs"] = "%route% Road",
		["Denali Park"] = "%route% Road",
		Egan = "%route% Drive",
		Johansen = "%route% Expressway",
		McCarthy = "%route% Road",
		["Minnesota Drive"] = "%route% Expressway",
		["Salmon River"] = "%route% Road",
		Tok = "%route% Cut-Off"
	},
	link = {default = "%route% Highway [dab||(%dab%)|]",
		["Chena Hot Springs"] = "%route% Road",
		["Denali Park"] = "%route% Road",
		Egan = "%route% Drive",
		Johansen = "%route% Expressway",
		McCarthy = "%route% Road",
		["Minnesota Drive"] = "%route% Expressway",
		["Salmon River"] = "%route% Road",
		Tok = "%route% Cut-Off"
	},
	abbr = {default = "%route% Highway",
		["Chena Hot Springs"] = "%route% Road",
		["Denali Park"] = "%route% Road",
		Egan = "%route% Drive",
		Johansen = "%route% Expressway",
		McCarthy = "%route% Road",
		["Minnesota Drive"] = "%route% Expressway",
		["Salmon River"] = "%route% Road",
		Tok = "%route% Cut-Off"},
	routetype = AK.AK.routetype
}

AK.Hwy = AK.Highway

-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(AK) do if k:find ("^%a") then
	v.maint = "[[Alaska Department of Transportation & Public Facilities|Alaska DOT&PF]]"
	end
end

return AK