Module:Road data/strings/GBR

From Random Island Wiki
Revision as of 11:46, 7 September 2021 by Psmithca (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Road data/strings/GBR/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"]`.
]==]

-- 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