Module:Road data/strings/AFG

--[==[ To inspect the content of this data module, use Special:ExpandTemplates and enter the following input text:

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

-- Afghanistan local AFG = {}

local frame = mw.getCurrentFrame local util = require("Module:Road data/util")

AFG.National = { shield = "", name = { ["1"] = "Afghanistan Ring Road", ["8"] = "Kabul–Jalalabad Road", ["13"] = "Kabul–Behsud Highway", },   link = { ["1"] = "Afghanistan Ring Road", ["8"] = "Kabul–Jalalabad Road", ["13"] = "Kabul–Behsud Highway", },   abbr = { hook = "padroute", paddedLength = 2, default = "NH%paddedRoute%" },   translation = { arg = "route", ["1"] = frame:expandTemplate{ title = 'lang-prs', args = { "شاهراه حلقوی افغانستان"}} .. " " .. frame:expandTemplate{ title = 'lang-ps', args = { "د افغانستان حلقوي سړک"}} }, } AFG.NH = AFG.National

AFG.Route = { shield = "", name = "Route %route%", link = "Route %route% (Afghanistan)", abbr = "Route %route%" }

for k, v in pairs(AFG) do if k:find ("^%a") then v.browse = "Highways in Afghanistan" end end

return AFG