Anonymous

Module:Calculator/AgilityObstacle: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 149: Line 149:
tbl :tag('tr')
tbl :tag('tr')
:tag('td')
:tag('td')
:addClass('text-align-right')
:css('text-align', 'right')
:wikitext(v.Slot)
:wikitext(v.Slot)
:tag('td')
:tag('td')
Line 156: Line 156:
div:node(tbl)
div:node(tbl)
div:newline()
     end
     end


Line 168: Line 169:
for _, v in pairs(itemList) do
for _, v in pairs(itemList) do
     ul:tag('li'):wikitext(getItemIcon(v.item, v.amount))
     ul:tag('li'):wikitext(getItemIcon(v.item, v.amount))
    end
end
div:newline()
     end
     end
Line 182: Line 184:
     ul2:tag('li'):wikitext(Icons._SkillReq(v.skill, v.level))
     ul2:tag('li'):wikitext(Icons._SkillReq(v.skill, v.level))
     end
     end
    div:newline()
end
end
2,875

edits