More actions
Documentation for this module may be created at Module:Road data/strings/BEL/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"]`.
]==]
-- Belgium
local BEL = {}
local frame = mw.getCurrentFrame()
local util = require("Module:Road data/util")
util.addAll(BEL, require("Module:Road data/strings/EUR"))
BEL.E.shield = "BE-E%route%.svg"
BEL.E.shieldmain = "BE-E%route%.svg"
BEL.E.link = "European route E%route% in Belgium"
BEL.E.translation = frame:expandTemplate{ title = 'lang-nl', args = { "Europese Weg %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-fr', args = { "Route européenne %route%"}}
BEL.A = {
shield = "BE-A%route%.svg",
name = "%type%%route%",
link = "A%route% road (Belgium)",
abbr = "A%route%",
translation = frame:expandTemplate{ title = 'lang-nl', args = { "Autosnelweg %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-fr', args = { "Autoroute %route%"}}
}
BEL.N = {
shield = "BE-N%route%.svg",
name = "National Route %route%",
link = "N%route% road (Belgium)",
abbr = "N%route%",
translation = frame:expandTemplate{ title = 'lang-nl', args = { "Nationale Weg %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-fr', args = { "Route nationale %route%"}}
}
BEL.R = {
shield = "BE-R%route%.svg",
name = "Ring Road R%route%",
link = "R%route% road (Belgium)",
abbr = "R%route%"
}
BEL.B = {
shield = "BE-B%route%.svg",
name = "Link %route%",
link = "B%route% road (Belgium)",
abbr = "B%route%",
translation = "Bretelle %route%",
lang = "fr"
}
return BEL