Module:Road data/strings/EUR

MyWikiBiz, Author Your Legacy — Wednesday November 27, 2024
< Module:Road data‎ | strings
Revision as of 05:43, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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