Module:Road data/strings/HRV

MyWikiBiz, Author Your Legacy — Thursday June 27, 2024
Jump to navigationJump to search

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

-- 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",
         link = "A%route% (Croatia)",
         abbr = "A%route%",
         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",
         link = "D%route% road (Croatia)",
         abbr = "D%route%",
         color = "blue-var1"}

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

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

HRV["Ž"] = HRV.Z

return HRV