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

From Pantonian Republic Wiki
Jump to navigation Jump to search
(+English name)
 
m (1 revision imported)
 

Latest revision as of 16:00, 13 July 2024

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"
HRV.A.name = "A%route% motorway"
HRV.A.link = "A%route% (Croatia)"
HRV.A.abbr = "A%route%"
HRV.A.color = "EUR"
HRV.A.translation = "Autocesta A%route%"
HRV.A.lang = "hr"

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.D.abbr = "D%route%"
HRV.D.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