Module:Road data/strings/EUR: Difference between revisions
(duh) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 03:08, 15 February 2024
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", } -- 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