Module:Sandbox/One Bar: Difference between revisions

One Bar (talk | contribs)
m null check numbers for now
One Bar (talk | contribs)
m arg fix hopefully
Line 20: Line 20:
p.pi_table = function(frame)
p.pi_table = function(frame)
local pi_souls_list = get_pi_list()
local pi_souls_list = get_pi_list()
local property = frame:getParent().args[1]
local property = frame.args[1] --frame:getParent().args[1]
local createTable = mw.html.create('table'):addClass('wikitable sortable'):done()
local createTable = mw.html.create('table'):addClass('wikitable sortable'):done()