Module:Infobox road/link/IND

local p = {}

local format = mw.ustring.format

local typesModule = require "Module:Infobox road/link/defs" local Country = typesModule.Country local Link = typesModule.Link

local links = Country:new links["NE"] = Link:new{formatStr = "National Expressway %s (India)"} links["NH"] = Link:new{formatStr = "National Highway %s (India)"}

do -- State highways local function state(args) local state = args.state if state then args.statedab = format(" (%s)", state) else args.statedab = "" end end links["SH"] = Link:new{formatStr = "State Highway %s%s", formatArgs = {"route", "statedab"}, preprocessors = {state}} end -- State highways

p.links = links return p