Module:Items: Difference between revisions

no edit summary
(More formatting changes)
No edit summary
Line 473: Line 473:
       if listItem then
       if listItem then
         result = result..'\r\n|-'
         result = result..'\r\n|-'
         result = result..'\r\n|style="text-align:left;padding:0 0.5em 0 0.5em;"|'..Icons.Icon({item.name, type='item'})
         result = result..'\r\n|style ="text-align: left;padding: 0 0 0 0;"|'..Icons.Icon({item.name, type='item', size=50, notext=true})
        result = result..'\r\n|style ="text-align: left;padding: 0 0.5em 0 0.5em;"|[['..item.name..']]'
         for j, statName in pairs(statColumns) do
         for j, statName in pairs(statColumns) do
           local statValue = p._getItemStat(item, statName, true)
           local statValue = p._getItemStat(item, statName, true)