Module:Modules

From Guild of Archivists
Revision as of 07:26, 30 October 2015 by Alahmnat (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Modules/doc

local p = {}
 
function p.modules(frame)
    local names = {};
    for k,v in pairs(package.loaded) do table.insert(names, k); end
    return table.concat{ '{|\n!Modules\n|-\n| ', table.concat( names, '\n|-\n| ' ), '\n|}' };
end

return p;