2,875
edits
No edit summary |
No edit summary |
||
Line 366: | Line 366: | ||
local headerRow0 = html:tag('tr'):addClass('headerRow-0') | local headerRow0 = html:tag('tr'):addClass('headerRow-0') | ||
headerRow0:tag('th'):attr('colspan', '2'):attr('rowspan', '2'):wikitext('Fish') | headerRow0:tag('th'):attr('colspan', '2'):attr('rowspan', '2'):wikitext('Fish') | ||
headerRow0:tag('th'):attr('rowspan', '2'):wikitext(' | headerRow0:tag('th'):attr('rowspan', '2'):wikitext(Icons.Icon({'Fishing', type='skill', notext=true}) .. '<br>Level') | ||
headerRow0:tag('th'):attr('rowspan', '2'):wikitext('[[DLC]]') | |||
headerRow0:tag('th'):attr('colspan', '3'):wikitext('Catch Time') | headerRow0:tag('th'):attr('colspan', '3'):wikitext('Catch Time') | ||
headerRow0:tag('th'):attr('rowspan', '2'):wikitext('XP') | headerRow0:tag('th'):attr('rowspan', '2'):wikitext('XP') | ||
Line 391: | Line 392: | ||
local row = html:tag('tr') | local row = html:tag('tr') | ||
row:tag('td'):addClass('table-img'):wikitext(Icons.Icon({fish.name, type='item', notext=true})) | row:tag('td') | ||
:addClass('table-img') | |||
:wikitext(Icons.Icon({fish.name, type='item', notext=true})) | |||
row:tag('td') | row:tag('td') | ||
:attr('data-sort-value', fish.name) | :attr('data-sort-value', fish.name) | ||
:wikitext( | :wikitext('[[' .. fish.name .. ']]') | ||
row:tag('td') | row:tag('td') | ||
:css('text-align', ' | :css('text-align', 'center') | ||
:attr('data-sort-value', level) | :attr('data-sort-value', level) | ||
:wikitext( | :wikitext(level) | ||
row:tag('td') | |||
:css('text-align', 'center') | |||
:attr('data-sort-value', Icons.getExpansionID(fish.id)) | |||
:wikitext(Icons.getDLCColumnIcon(fish.id)) | |||
row:tag('td') | row:tag('td') | ||
:css('text-align', 'right') | :css('text-align', 'right') |
edits