Jump to content

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

From Wikipedia, the free encyclopedia
Content deleted Content added
name
USBR is defined
Line 21: Line 21:
local maint = "[[Alaska Department of Transportation & Public Facilities|Alaska DOT&PF]]"
local maint = "[[Alaska Department of Transportation & Public Facilities|Alaska DOT&PF]]"


AK.I.shield = "I-A%route%.svg"
AK.I.link = "Interstate A-%route%"
AK.I.link = "Interstate A-%route%"
AK.I.name = "Interstate A-%route%"
AK.I.name = "Interstate A-%route%"
Line 29: Line 28:


--Do not add USH special routes
--Do not add USH special routes

AK.USBR = {alias = {module = "USA", type = "USBR"}}


AK.AK = {shield = "Alaska %route% shield.svg",
AK.AK = {shield = "Alaska %route% shield.svg",
shieldmain = "Alaska %route% shield.svg",
name = "Alaska Route %route%",
name = "Alaska Route %route%",
link = "Alaska Route %route%",
link = "Alaska Route %route%",
Line 38: Line 36:
AK.Highway = { shield = "",
AK.Highway = { shield = "",
shieldmain = "",
name = {default = "%route% Highway",
name = {default = "%route% Highway",
["Chena Hot Springs"] = "%route% Road",
["Chena Hot Springs"] = "%route% Road",

Revision as of 20:05, 11 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