892
edits
mNo edit summary |
(should have removed the need for itemicon) |
||
Line 37: | Line 37: | ||
tr:tag('td'):wikitext(string.format('[[File:%s.png|%s|link=%s|36px]]', slot.icon, slot.txt, slot.link)) | tr:tag('td'):wikitext(string.format('[[File:%s.png|%s|link=%s|36px]]', slot.icon, slot.txt, slot.link)) | ||
for _, v in ipairs(data) do | for _, v in ipairs(data) do | ||
tr:tag('td'):wikitext(v) | tr:tag('td'):wikitext('{{ItemIcon|' .. v .. '|size=30}}') | ||
end | end | ||
edits