2,875
edits
No edit summary |
No edit summary |
||
Line 178: | Line 178: | ||
local function formatRuneList(runes) | local function formatRuneList(runes) | ||
local | local html = mw.html.create() | ||
for i, req in ipairs(runes) do | for i, req in ipairs(runes) do | ||
local rune = Items.getItemByID(req.id) | local rune = Items.getItemByID(req.id) | ||
if rune ~= nil then | if rune ~= nil then | ||
html:wikitext(Icons.Icon({rune.name, type='item', notext=true})) | |||
end | end | ||
end | end | ||
return | return tostring(html) | ||
end | end | ||
edits