2,873
edits
No edit summary |
No edit summary |
||
Line 395: | Line 395: | ||
local row = html:tag('tr') | local row = html:tag('tr') | ||
row:tag('td') | row:tag('td'):wikitext(Icons.Icon({fish.name, type='item', notext=true})) | ||
:addClass('table-img') | |||
row:tag('td'):wikitext('[[' .. fish.name .. ']]') | |||
:attr('data-sort-value', fish.name) | |||
row:tag('td'):wikitext(level) | |||
:css('text-align', 'center') | |||
row:tag('td') | :attr('data-sort-value', level) | ||
row:tag('td'):wikitext(Icons.getDLCColumnIcon(fish.id)) | |||
:css('text-align', 'center') | |||
:attr('data-sort-value', Icons.getExpansionID(fish.id)) | |||
row:tag('td') | row:tag('td'):wikitext(string.format("%.1fs", timeMin)) | ||
:css('text-align', 'right') | |||
:attr('data-sort-value', timeMin) | |||
row:tag('td'):wikitext(string.format("%.1fs", timeMax)) | |||
row:tag('td') | :css('text-align', 'right') | ||
:attr('data-sort-value', timeMax) | |||
row:tag('td'):wikitext(string.format("%.1fs", timeAvg)) | |||
:css('text-align', 'right') | |||
:attr('data-sort-value', timeAvg) | |||
row:tag('td'):wikitext(Num.formatnum(baseXP)) | |||
:css('text-align', 'right') | |||
:attr('data-sort-value', baseXP) | |||
row:tag('td'):wikitext(Num.round(XPSec, 2, 2)) | |||
:css('text-align', 'right') | |||
row:tag('td'):wikitext(Items.getValueText(fish)) | |||
:attr('data-sort-value', fish.sellsFor) | |||
row:tag('td') | :css('text-align', 'right') | ||
row:tag('td'):wikitext(Icons._Currency(sellCurrency, Num.round(GPSec, 2, 2))) | |||
:attr('data-sort-value', GPSec) | |||
:css('text-align', 'right') | |||
row:tag('td') | |||
end | end | ||
end | end |
edits