4,951
edits
(_getOtherItemBoxText: Collapse modifiers when the list exceeds 11 rows) |
Falterfire (talk | contribs) (specifically excluding it from adding the Skills category to items) |
||
Line 285: | Line 285: | ||
local isEquipment = item.validSlots ~= nil or item.occupiesSlots ~= nil or item.equipmentStats ~= nil | local isEquipment = item.validSlots ~= nil or item.occupiesSlots ~= nil or item.equipmentStats ~= nil | ||
local category = p._getItemStat(item, 'category', false) | local category = p._getItemStat(item, 'category', false) | ||
if category ~= nil then | if category ~= nil and category ~= 'Skills' then | ||
table.insert(resultPart, '[[Category:'..category..']]') | table.insert(resultPart, '[[Category:'..category..']]') | ||
end | end |