892
edits
(should have removed the need for itemicon) |
m (images are not rawtext) |
||
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( | local itemicon = p.Icon({v, img=v, type='item'}) | ||
tr:tag('td'):wikitext(itemicon) | |||
end | end | ||
edits