Module:CareerList: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local p = {} function p.getConfig(siteName) local siteConfig = mw.loadData("Module:CareerList/config")[siteName] if not siteConfig then error(string.format("Site '%s' not found in configuration file", siteName)) end return siteConfig end function p.makeUrl(siteName, id) local siteConfig = p.getConfig(siteName) local url = siteConfig.url local variable = siteConfig.variable local idPlaceholder = string.find(url, variable) if i...")
 
No edit summary
local p = {}
local mw = require('mw')
 
function p.getConfig(siteName)
end
return tostring(data)
end
 
function p.main(frame)
return p.makeTable(frame)
end
 

Navigation menu