Jump to content

Module:Road data/strings/GBR: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
cleanup
colors
Line 22: Line 22:
GBR.A.abbr = "A%route%"
GBR.A.abbr = "A%route%"
GBR.A.name = "A%route%"
GBR.A.name = "A%route%"
GBR.A.color = "primary"


GBR.B.abbr = "B%route%"
GBR.B.abbr = "B%route%"
GBR.B.name = "B%route%"
GBR.B.name = "B%route%"
GBR.B.color = "minor"


GBR.M.shield = "UK-Motorway-M%route%.svg"
GBR.M.shield = "UK-Motorway-M%route%.svg"
Line 35: Line 37:
GBR.M.abbr = "M%route%"
GBR.M.abbr = "M%route%"
GBR.M.name = "M%route%"
GBR.M.name = "M%route%"
GBR.M.color = "motorway"


GBR.AM = {
GBR.AM = {
Line 40: Line 43:
name = "A%route%(M)",
name = "A%route%(M)",
link = "A%route%(M) motorway",
link = "A%route%(M) motorway",
abbr = "A%route%(M)"
abbr = "A%route%(M)",
color = "motorway"
}
}


Line 47: Line 51:
name = "M%route% Toll",
name = "M%route% Toll",
link = "M%route% Toll",
link = "M%route% Toll",
abbr = "M%route% Toll"
abbr = "M%route% Toll",
color = "motorway"
}
}

Revision as of 07:14, 9 March 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"]`.
]==]

-- United Kingdom
local GBR = {}

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

GBR.A.shield = "UK road A%route%.svg"
GBR.A.link = "A%route% road ([state|NI|Northern Ireland|Great Britain])"
GBR.A.abbr = "A%route%"
GBR.A.name = "A%route%"
GBR.A.color = "primary"

GBR.B.abbr = "B%route%"
GBR.B.name = "B%route%"
GBR.B.color = "minor"

GBR.M.shield = "UK-Motorway-M%route%.svg"
GBR.M.link = {
	arg = "state",
	NI = "M%route% motorway (Northern Ireland)",
	SCO = "M%route% motorway (Scotland)",
	default = "M%route% motorway [dab||(%dab%)|]"
}
GBR.M.abbr = "M%route%"
GBR.M.name = "M%route%"
GBR.M.color = "motorway"

GBR.AM = {
	shield = "UK-Motorway-A%route% (M).svg",
	name = "A%route%(M)",
	link = "A%route%(M) motorway",
	abbr = "A%route%(M)",
	color = "motorway"
}

GBR["M-Toll"] = {
	shield = "UK-Motorway-M%route% Toll.svg",
	name = "M%route% Toll",
	link = "M%route% Toll",
	abbr = "M%route% Toll",
	color = "motorway"
}
			  

return GBR