Module:FetchItemStats

From Roat Pkz
Revision as of 15:41, 3 May 2024 by Hefner (talk | contribs) (Replaced content with "local p = {} function p.defaultVersion(itemname) -- For obtaining default version, you don't need to query SMW. return itemname end function p.value(itemname) -- For obtaining value, you don't need to query SMW. -- Instead, directly return the item name. return itemname end function p.getImage(itemname) -- Just return the item name for fetching the image. return itemname end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:FetchItemStats/doc

local p = {}

function p.defaultVersion(itemname)
    -- For obtaining default version, you don't need to query SMW.
    return itemname
end

function p.value(itemname)
    -- For obtaining value, you don't need to query SMW.
    -- Instead, directly return the item name.
    return itemname
end

function p.getImage(itemname)
    -- Just return the item name for fetching the image.
    return itemname
end

return p