Module:Infotable Bonuses: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 58:
local attribute = pageData[sortKey[i]]
local cell = row:tag('td'):cssText(columnWidth)
if(sortKey[i] == 'membs') then
cell:wikitext(yesNo(attribute, false) and '[[File:Member icon.png|link=Members|alt=Members]]' or '[[File:Free-to-play icon.png|link=Free-to-play|alt=Free-to-play]]'):done()
else
if(not attribute) then
Line 110 ⟶ 108:
:tag('th'):wikitext('[[File:Prayer icon.png|link=|Prayer bonus]]'):done()
:tag('th'):wikitext('[[File:Weight icon.png|link=|Weight]]'):done()
:tag('th'):wikitext('[[File:Member icon.png|link=|Members]]'):done()
end