ماڊيول:AASHTO minutes
ڏيک
Documentation for this module may be created at ماڊيول:AASHTO minutes/doc
local p = {}
function p._minutes(args)
local data = mw.loadData("Module:AASHTO minutes/data")
local year = args.year
local yearData = data[year] or data.missing
local param = args[1]
if param == "publisher" then
local publisher = yearData.publisher
if type(publisher) == "string" then
return publisher
else
local link = args.link
if publisher then
if link then
return "[[American Association of State Highway and Transportation Officials]]"
else
return "American Association of State Highway and Transportation Officials"
end
else
if link then
return "[[American Association of State Highway Officials]]"
else
return "American Association of State Highway Officials"
end
end
end
else
return yearData[param] or ""
end
end
function p.minutes(frame)
local argModule = require("Module:Arguments")
local args = argModule.getArgs(frame)
return p._minutes(args)
end
return p