Jump to content

Module:Road data/strings/EUR

Permanently protected module
From Wikipedia, the free encyclopedia

-- 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",
}

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

local transEuropean = {
	["1"] = 'Baltic–Adriatic Corridor',
	["2"] = 'North Sea–Baltic Corridor',
	["3"] = 'Mediterranean Corridor',
	["4"] = 'Oreient/East–Med Corridor',
	["5"] = 'Scandinavian–Mediterranean Corridor',
	["6"] = 'Rhine–Alpine Corridor',
	["7"] = 'Atlantic Corridor',
	["8"] = 'North Sea–Mediterranean Corridor',
	["9"] = 'Rhine–Danube Corridor',
	
}

EUR["TEN-T"] = {
	shield = '',
	shieldmain = '',
	name = transEuropean,
	link = transEuropean,
	abbr = transEuropean,
	color = "EUR",
}

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

return EUR