Module:Road data/strings/NOR

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

--[==[
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"]`.
]==]

-- Norway
local NOR = {}

local frame = mw.getCurrentFrame()
local util = require("Module:Road data/util")
util.addAll(NOR, require("Module:Road data/strings/EUR"))

NOR.E.shield = "Stamvei E%route%.svg"
NOR.E.color = "EUR-NOR"
NOR.E.translation = frame:expandTemplate{ title = 'lang-nb', args = { "Europavei %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-no', args = { "Europaveg %route%"}}

NOR.Europavei = NOR.E
NOR.europavei = NOR.E

NOR.Fv = {
	shield = "Fylkesvei %route%.svg",
	name = "County Road %route%",
	link = "County Road %route% [dab||(%dab%)|(Norway)]",
	abbr = "Fv%route%",
	translation = frame:expandTemplate{ title = 'lang-nb', args = { "Fylkesvei %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-nn', args = { "Fylkesveg %route%"}}
}

NOR.fv = NOR.Fv
NOR.Fylkesvei = NOR.Fv
NOR.fylkesvei = NOR.Fv

NOR.Rv = {
	shield = "Riksvei %route%.svg",
	name = "National Road %route%",
	link = "National Road %route% [dab||(%dab%)|(Norway)]",
	abbr = "Rv%route%",
	translation = frame:expandTemplate{ title = 'lang-nb', args = { "Riksvei %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-nn', args = { "Riksveg %route%"}}
}

NOR.rv = NOR.Rv
NOR.Riksvei = NOR.Rv
NOR.riksvei = NOR.Rv
NOR.National = NOR.Rv

NOR.Sv = {
	shield = NOR.Rv.shield,
	name = "Trunk Road %route%",
	link = NOR.Rv.link,
	abbr = "Stamvei %route%",
	translation = frame:expandTemplate{ title = 'lang-nb', args = { "Stamvei %route%"}} .. "<br>" .. frame:expandTemplate{ title = 'lang-nn', args = { "Stamveg %route%"}},
	color = "deleted"
}

NOR.sv = NOR.Sv
NOR.Stamvei = NOR.Sv
NOR.stamvei = NOR.Sv

NOR.Ring = {
	shield = "Vei Ring%route%.svg",
	link = "Ring %route% [dab||(%dab%)|(Oslo)]",
	abbr = "Ring %route%"
}
          
return NOR