Jump to content

Module:Road data/strings/NZL: 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"]`.
]==]

-- New Zealand
-- New Zealand
local NZL = {}
local NZL = {}


NZL.SH = {shield = {hook = "lowercase",
NZL.SH = {
shield = {
hook = "lowercase",
default = "State Highway %lowercase% NZ.svg"},
default = "State Highway %lowercase% NZ.svg"
},
name = "State Highway %route%",
shieldmain = {hook = "lowercase",
default = "State Highway %lowercase% NZ.svg"},
link = "State Highway %route% (New Zealand)",
link = "State Highway %route% (New Zealand)",
abbr = "SH&nbsp;%route%"
}
abbr = "SH&nbsp;%route%"}


return NZL
return NZL

Revision as of 07:12, 26 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"]`.
]==]

-- New Zealand
local NZL = {}

NZL.SH = {
	shield = {
		hook = "lowercase",
		default = "State Highway %lowercase% NZ.svg"
	},
	name = "State Highway %route%",
	link = "State Highway %route% (New Zealand)",
	abbr = "SH&nbsp;%route%"
}

return NZL