Module:Road data/strings/PRT

< Module:Road data‎ | strings
Revision as of 05:45, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Road data/strings/PRT/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"]`.
]==]

-- Portugal
local PRT = {}

local util = require("Module:Road data/util")
util.addAll(PRT, require("Module:Road data/strings/EUR"))

PRT.A.shield = "A%route%-PT.svg"
PRT.A.link = "A%route% motorway (Portugal)"

PRT.N.link = "N%route% (Portugal)"
	
PRT.EN = PRT.N

PRT.IP = {
	shield = "IP%route%-PT.svg",
	link = "IP%route% (Portugal)",
	abbr = "IP %route%"
}

PRT.IC = {shield = "",
	link = "IC%route% (Portugal)",
	abbr = "IC %route%"
}

PRT.R.link = "ER%route% (Portugal)"

PRT.ER = PRT.R

return PRT