Jump to content

Module:Road data/strings/FRA: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m add shieldmain (via WP:JWB)
cleanup
Line 1: Line 1:
--[==[
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"]`.
]==]

-- France
-- France
local FRA = {}
local FRA = {}


local util = require("Module:Road data/util")
FRA.E = {shield = "Route européenne %route%.svg",
util.addAll(FRA, require("Module:Road data/strings/EUR"))
shieldmain = "Route européenne %route%.svg",
link = "European route E%route%",
abbr = "E&nbsp;%route%"}


FRA.A = {shield = "Autoroute française %route%.svg",
FRA.E.shield = "Route européenne %route%.svg"
shieldmain = "Autoroute française %route%.svg",
link = "A%route% autoroute",
abbr = "A&nbsp;%route%"}


FRA.D = {shield = {ifexists = true,
FRA.A.shield = "Autoroute française %route%.svg"
FRA.A.name = "Autorute A%route%"
default = "Route départementale française %route%.svg",
FRA.A.link = "A%route% autoroute"
otherwise = ""},
link = "",
abbr = "D&nbsp;%route%"}


FRA.D.shield = {
FRA.N = {shield = "Route nationale française %route%.svg",
ifexists = true,
shieldmain = "Route nationale française %route%.svg",
link = "Route nationale %route%",
default = "Route départementale française %route%.svg",
otherwise = ""
abbr = "N&nbsp;%route%"}
}
FRA.D.name = "Departmental Road D%route%"


FRA.S = {shield = "",
FRA.N.shield = "Route nationale française %route%.svg"
FRA.N.name = "National Road N%route%"
shieldmain = "",
link = "",
FRA.N.link = "Route nationale %route%"
abbr = "S&nbsp;%route%"}


return FRA
return FRA

Revision as of 00:50, 23 February 2021

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

-- France
local FRA = {}

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

FRA.E.shield = "Route européenne %route%.svg"

FRA.A.shield = "Autoroute française %route%.svg"
FRA.A.name = "Autorute A%route%"
FRA.A.link = "A%route% autoroute"

FRA.D.shield = {
	ifexists = true,
	default = "Route départementale française %route%.svg",
	otherwise = ""
}
FRA.D.name = "Departmental Road D%route%"

FRA.N.shield = "Route nationale française %route%.svg"
FRA.N.name = "National Road N%route%"
FRA.N.link = "Route nationale %route%"

return FRA