Module:ProfessionList: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 160:
return output
end
function p.one_column_image_text(sort,materials)
local materialCell = mw.html.create('td')
for _, mat in ipairs(item.materials) do
materialCell:wikitext(mat.quantity .. ' × [[File:' .. mat.name .. '.png|18px|link=' .. mat.name .. ']] [[' .. mat.name .. ']]<br>')
end
return materialCell
end
|