Module:Items/SourceTables/Sandbox: Difference between revisions

m
Add temp code to invoke module via sandbox template
m (Add magic level requirement)
m (Add temp code to invoke module via sandbox template)
Line 1,227: Line 1,227:


function p.getItemSourceTables(frame)
function p.getItemSourceTables(frame)
local itemName = frame.args ~= nil and frame.args[1] or frame
-- Temp
local args = frame:getParent().args
local itemName = args.item or args[1]
--local itemName = frame.args ~= nil and frame.args[1] or frame
local item = Items.getItem(itemName)
local item = Items.getItem(itemName)
if item == nil then
if item == nil then
1,014

edits