Jump to content

Module:Road data/strings/HRV

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 02:04, 20 February 2021 (add colors). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

-- Croatia
local HRV = {}

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

HRV.E.shield = "E%route%-HR.svg"

HRV.A.shield = "Autocesta A%route%.svg"
HRV.A.link = "A%route% (Croatia)"
HRV.A.color = "EUR"

HRV.B.shield = "Brza cesta B%route%.svg"
HRV.B.link = "B%route% (Croatia)"

HRV.D.shield = "Državna cesta D%route%.svg"
HRV.D.link = "D%route% road (Croatia)"
HRV.A.color = "HRV-D"

HRV.L .shield = "L%route%-HR.svg"

HRV.Z = {
	shield = "Z%route%-HR.svg",
	link = {
		ifexists = true,
		default = "Ž%route% road (Croatia)"
	},
	abbr = "Ž%route%",
	color = "HRV-Z"
}

HRV["Ž"] = HRV.Z

return HRV