Module:Top icons: Difference between revisions

make this more easily usable as a helper function
scape_>Legaia 2 Pla
m (Protected "Module:Top icons": High traffic page: wowee ([Edit=Only allow administrators] (indefinite) [Move=Only allow administrators] (indefinite)))
scape_>Joeytje50
(make this more easily usable as a helper function)
Line 34: Line 34:
function p.main(frame)
function p.main(frame)
local args = frame:getParent().args
local args = frame:getParent().args
p._main(args)
end
function p._main(args)
local pagename = mw.title.getCurrentTitle().fullText
local pagename = mw.title.getCurrentTitle().fullText
local vals = {}
local vals = {}
Anonymous user