Module:ItemTables: Difference between revisions

Jump to navigation Jump to search
fix null names
try if get title when param 1 blank
Line 79: Line 79:
local TableValues = {}
local TableValues = {}
local listofItems = ""
local listofItems = ""
local property = frame.args[1]
local property = frame.args[1] or mw.title.getCurrentTitle().text
-- local item = get_json_item(item_name)
-- local item = get_json_item(item_name)
-- if(item == nil) then return "Item Not Found what" end
-- if(item == nil) then return "Item Not Found what" end