Module:Road data/strings/IND

< Module:Road data‎ | strings
Revision as of 05:43, 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/IND/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"]`.
]==]

-- India
local IND = {}

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

IND.AH.shield = "AH%route%-IN.svg"

IND.NE = {
	shield = "NE%route%-IN.svg",
	orientation = "upright",
	name = "National Expressway %route%",
	link = "National Expressway %route% (India)",
	abbr = "NE %route%"
	
}

IND.NH = {
	shield = "NH%route%-IN.svg",
	orientation = "upright",
	name = "National Highway %route%",
	link = "National Highway %route% (India)",
	abbr = "NH %route%"
	
}

IND.SH = {
	shield = {
		ifexists = true,
		arg = "state",
		MH = "State Highway %route% (Maharashtra).svg",
		Maharashtra = "State Highway %route% (Maharashtra).svg",
		KL = "SH KL %route%.svg",
		Kerala = "SH KL %route%.svg",
		WB = "WB SH%route%-IND.png",
		["West Bengal"] = "WB SH%route%-IND.png",
		default = "Road marker IN SH.svg"
	},
	orientation = "upright",
	name = "State Highway %route%",
	link = {
		hook = "mask",
		mask = "Road data/masks/IND",
		base = "state",
		masked = "fullstate",
		default = "State Highway %route% [state||(%fullstate%)|]"
	},
	abbr = "SH %route%"
}

IND.SR = {
	shield = "",
	name = "State Route %route%",
	link = {
		hook = "mask",
		mask = "Road data/masks/IND",
		base = "state",
		masked = "fullstate",
		default = "State Route %route% [state||(%fullstate%)|]"
	},
	abbr = "SR %route%"
}

return IND