Module:Road data/strings/SRB

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

-- Serbia
local SRB = {}

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

SRB.E.shield = "E%route%-SRB.svg"
SRB.E.color = "MUTCDgreen"
SRB.E.translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Evropski put E%route%",
	tag2="sr-Cyrl", 
	name2="Европски пут Е%route%"
}} 
SRB.A.shield = "A%route%-SRB.svg"
SRB.A.link = "A%route% (Serbia)"
SRB.A.abbr = "A%route%"
SRB.A.color = "MUTCDgreen"
SRB.A.translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Autoput A%route%",
	tag2="sr-Cyrl", 
	name2="Аутопут А%route%"
}} 

SRB.B.shield = "B%route%-SRB.svg"
SRB.B.link = "Expressway %route% (Serbia)"
SRB.B.abbr = "Expressway %route%"
SRB.B.color = "motorway"
SRB.B.translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Brzi put %route%",
	tag2="sr-Cyrl", 
	name2="Брзи пут %route%"
}} 

SRB.IB = {
	shield = "M%route%-SRB.svg",
	link = "State Road %route% (Serbia)",
	abbr = "%route%",
	color = "motorway",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Državni put IB reda %route%",
	tag2="sr-Cyrl", 
	name2="Државни пут IБ реда %route%"
}}
}

SRB.II = {
	shield = "R%route%-SRB.svg",
	link = "State Road %route% (Serbia)",
	abbr = "%route%",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Državni put IIB reda %route%",
	tag2="sr-Cyrl", 
	name2="Државни пут IIБ реда %route%"
}}
}

SRB.IIA = SRB.II
SRB.IIB = SRB.II

SRB.M.shield = "M%route%-SRB.svg"
SRB.M.shieldmain = {"M%route%-SRB.svg", "M-%route%-SRB.svg"}
SRB.M.link = "National Road (M)%route% (Serbia)"
SRB.M.abbr = "M%route%"
SRB.M.color = "motorway"
SRB.M.translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Magistralni put (M)%route%",
	tag2="sr-Cyrl", 
	name2="Магистрални пут (М)%route%"
}}

SRB.R.shield = "R%route%-SRB.svg"
SRB.R.link = "Regional Road (R)%route% (Serbia)"
SRB.R.abbr = "R%route%"
SRB.R.translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sr-Latn",
	name1="Regionalni put (R)%route%",
	tag2="sr-Cyrl", 
	name2="Регионални пут (М)%route%"
}}

return SRB