4,951
edits
Falterfire (talk | contribs) (Added the 'asList' argument to getItemSources) |
Falterfire (talk | contribs) (Added type & category categories) |
||
Line 1,133: | Line 1,133: | ||
function p._getItemCategories(item) | function p._getItemCategories(item) | ||
local result = '' | local result = '' | ||
if item.category ~= nil then result = result..'[[Category:'..item.category..']]' end | |||
if item.type ~= nil then result = result..'[[Category:'..item.type..']]' end | |||
return result | return result | ||
end | end |