Jump to: navigation, search

Module:CraftingDPL: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:
function p.parseCats(frame)
function p.parseCats(frame)
     local s = tostring(frame.args[1])
     local s = tostring(frame.args[1])
    print(s)
    mw.log()
     return s
     return s
end
end


return p
return p

Revision as of 18:46, 13 February 2014

Returns a list of categories based on the string of items that are used for crafting. Used in the creation of DPL categories for crafting templates.


local p = {}

function p.parseCats(frame)
    local s = tostring(frame.args[1])
    return s
end

return p


Cookies help us deliver our services. By using our services, you agree to our use of cookies.