Module:Road data/strings/DOM: Difference between revisions
imported>Fredddie create |
(No difference)
|
Latest revision as of 03:48, 17 January 2022
Documentation for this module may be created at Module:Road data/strings/DOM/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"]`.
]==]
-- Dominican Republic
local DOM = {}
local util = require("Module:Road data/util")
DOM.DR = {
shield = "DR-%route% troncal.svg",
name = "DR-%route%",
link = "DR-%route%",
abbr = "DR-%route%",
}
DOM.Trunk = DOM.DR
DOM.Troncal = DOM.DR
DOM.Regional = {
shield = {
hook = "splitlen",
split = 3,
above = "Circle sign %route% (small).svg",
below = "Circle sign %route%.svg"
},
name = DOM.DR.name,
link = DOM.DR.link,
abbr = DOM.DR.abbr,
}
DOM.road = {
shield = '',
shieldmain = '',
name = "%route%",
link = '',
abbr = "%route%",
}
return DOM