Jump to content

Module:Road data/strings/USA/AK: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
rm
add shieldmain
Line 29: Line 29:
--Do not add USH special routes
--Do not add USH special routes


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


AK.Hwy = AK.Highway
AK.Hwy = AK.Highway

Revision as of 12:31, 16 February 2021

--[==[
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.US.link = "U.S. Route %route% in Alaska"

--Do not add USH special routes

AK.AK = {
	shield = "Alaska %route% shield.svg",
	shieldmain = "Alaska %route% shield.svg",
	name = "Alaska Route %route%",
	link = "Alaska Route %route%",
	abbr = "AK-%route%"
	
}
         
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