Module:Items: Difference between revisions
From Melvor Idle
No edit summary |
No edit summary |
||
Line 571: | Line 571: | ||
curRow = html:tag('tr') | curRow = html:tag('tr') | ||
i = 0 | i = 0 | ||
end | |||
cell = curRow:tag('td') | |||
:css('height', '48px') | |||
:css('width', '48px') | |||
:css('padding', '0px') | |||
cell:tag('div') | |||
:css('padding', '8px') | |||
:wikitext(Icons.Icon({v.name, type='item', notext=true, size='32'})) | |||
-- Mod operator is slow. We use this instead | |||
i = i + 1 | |||
end | end | ||
end | end |