Module:Road data/strings/GBR

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

-- 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% [dab||(%dab%)|(Great Britain)]"
GBR.A.abbr = "A%route%"
GBR.A.name = "A%route%"
GBR.A.color = "primary"

GBR.a = {
	shield = GBR.A.shield,
	name = GBR.A.name,
	link = GBR.A.link,
	abbr = GBR.A.abbr,
	color = "minor"
}

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

GBR.E.shield = "UK road E%route%.svg"

GBR.M.shield = "UK-Motorway-M%route%.svg"
GBR.M.link = "M%route% [dab||(%dab%)|(Great Britain)]"

GBR.M.abbr = "M%route%"
GBR.M.name = "M%route%"
GBR.M.color = "motorway"

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

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

GBR.Roman = {
	shield = "",
	name = "%route%",
	link = "%route%",
	abbr = "%route%",
	color = "hist"
}
			  

return GBR