Module:Road data/strings/USA/AK

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

-- Alaska
local AK = {}

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

local suffix = " ([dab||%dab%, |]Alaska)"
local maint = "[[Alaska Department of Transportation & Public Facilities|Alaska DOT&PF]]"

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%"
	
}

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"
	
}
         
AK.Highway = {
	shield = "",
	shieldmain = "",
	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"}
		}

AK.Hwy = AK.Highway

return AK