4,951
edits
Falterfire (talk | contribs) (Making a couple more things module-level variables) |
Falterfire (talk | contribs) (Added category for Tier + Type) |
||
Line 252: | Line 252: | ||
if item.category ~= nil then result = result..'[[Category:'..item.category..']]' end | if item.category ~= nil then result = result..'[[Category:'..item.category..']]' end | ||
if item.type ~= nil then result = result..'[[Category:'..item.type..']]' end | if item.type ~= nil then result = result..'[[Category:'..item.type..']]' end | ||
if item.tier ~= nil then result = result..'[[Category:'..Shared.titleCase(item.tier)..' '..item.type..']]' end | |||
return result | return result | ||
end | end |