2,875
edits
No edit summary |
No edit summary |
||
Line 189: | Line 189: | ||
-- The other 3 need to be added to the main table as new rows. | -- The other 3 need to be added to the main table as new rows. | ||
local tierRow = j == 1 and row or html:tag('tr') | local tierRow = j == 1 and row or html:tag('tr') | ||
tierRow:tag('td'):wikitext(Icons.Icon({tierPot.name, type='item', notext=true})) | |||
:wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]') | :wikitext('[[' .. tierPot.name .. '|' .. tierSuffix[j] .. ']]') | ||
-- | --tierRow:tag('td'):wikitext(Items.getValueText(tierPot)) | ||
-- :css('text-align', 'right') | -- :css('text-align', 'right') | ||
-- :attr('data-sort-value', tierPot.sellsFor) | -- :attr('data-sort-value', tierPot.sellsFor) | ||
tierRow:tag('td'):wikitext(tierPot.charges) | |||
:css('text-align', 'right') | :css('text-align', 'right') | ||
tierRow:tag('td'):wikitext(p._getPotionDescription(tierPot)) | |||
end | end | ||
end | end |
edits