Module:Road data/strings/EUR

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/EUR/doc

-- Europe
local EUR = {}

local util = require("Module:Road data/util")
local format = mw.ustring.format

-- European roads
EUR.E = {
	shield = "Tabliczka E%route%.svg",
	name = "E%route%",
	link = "European route E%route% [dab||(%dab%)|]",
	abbr = "E %route%",
	color = "EUR",
	browse = {
		{link = "International E-road network", bold = true}
	}
}

-- Most common road types in Europe
for _,type in ipairs({"A", "B", "D", "G", "H", "K", "L", "M", "N", "O", "P", "R", "S", "T", "V"}) do
	EUR[type] = {
		shield = "",
		name = type .." " .. "%route%",
		link = "",
		abbr = type .." " .. "%route%"
	}
end

EUR.road = {
	shield = '',
	shieldmain = '',
	name = "%route%",
	link = '',
	abbr = "%route%",
	browse = '',
}

return EUR