Module:Road data/strings/FIN

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

-- Finland
local FIN = {}

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

FIN.E.shield = "Finland road sign F28-%route%.svg"
FIN.E.color = "FIN-E"
FIN.E.translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="fi",
	name1="Eurooppatie %route%",
	tag2="sv", 
	name2="Europaväg %route%"
}} 


FIN.V = {
	shield = "Finland road sign F29-%route%.svg",
	name = "National Road %route%",
	link = "National Road %route% [dab||(%dab%)|(Finland)]",
	abbr = "Vt %route%",
	color = "FIN-green",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="fi",
	name1="Valtatie %route%",
	tag2="sv", 
	name2="Riksväg %route%"
}} 
}
FIN.Valtatie = FIN.V
FIN.Vt = FIN.V
FIN.Highway = FIN.V
FIN.National = FIN.V

FIN.K = {
	shield = "Finland road sign F30-%route%.svg",
	name = "Trunk Road %route%",
	link = "Trunk Road %route% [dab||(%dab%)|(Finland)]",
	abbr = "Kt %route%",
	color = "FIN-green",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="fi",
	name1="Kantatie %route%",
	tag2="sv", 
	name2="Stamväg %route%"
}}
}
FIN.Kantatie = FIN.K
FIN.Kt = FIN.K
FIN.Trunk = FIN.K

FIN.S = {
	shield = "Finland road sign F31-%route%.svg",
	name = "Regional Road %route%",
	link = "Regional Road %route% [dab||(%dab%)|(Finland)]",
	abbr = "St %route%",
	color = "FIN-blue",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="fi",
	name1="Seututie %route%",
	tag2="sv", 
	name2="Regionalväg %route%"
}} 
}
FIN.Seututie = FIN.S
FIN.St = FIN.S
FIN.Regional = FIN.S

FIN.Y = {
	shield = "Route %route%-FIN.png",
	name = "Connecting Road %route%",
	link = "Connecting Road %route% [dab||(%dab%)|(Finland)]",
	abbr = "Yt %route%",
	color = "FIN-blue",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="fi",
	name1="Yhdystie %route%",
	tag2="sv", 
	name2="Förbindelseväg %route%"
}} 
}
FIN.Yhdystie = FIN.Y
FIN.Yt = FIN.Y
FIN.Regional = FIN.Y

FIN["Åland"] = {
	shield = FIN.V.shield,
	name = "Highway %route%",
	link = "Highway %route% [dab||(%dab%)|(Åland)]",
	abbr = "Hv %route%",
	color = "motorway",
	translation = frame:expandTemplate{ title = 'native name list', args = {
	tag1="sv",
	name1="Huvudväg %route%",
	tag2="fi", 
	name2="Päätie %route%"
}} 
}
FIN.Aland = FIN["Åland"]
      
return FIN