Anonymous

Module:Skills/Gathering/Sandbox: Difference between revisions

From Melvor Idle
no edit summary
(Undo revision 75885 by Ricewind (talk))
Tag: Undo
No edit summary
Line 1,168: Line 1,168:
     local root = mw.html.create()
     local root = mw.html.create()
     local tableRoot = root:tag('table')
     local tableRoot = root:tag('table')
     tableRoot:addClass('wikitable sortable stickyHeader')
     tableRoot:addClass('wikitable stickyHeader')


     -- Header rows
     -- Header rows
Line 1,177: Line 1,177:
     headerRow1:tag('th'):attr('rowspan', 2)
     headerRow1:tag('th'):attr('rowspan', 2)
     :wikitext(Icons.Icon({ "Astrology", type='skill', notext='true' }) .. '<br>Level')
     :wikitext(Icons.Icon({ "Astrology", type='skill', notext='true' }) .. '<br>Level')
    headerRow1:tag('th'):attr('rowspan', 2)
    :wikitext('[[DLC]]')
     headerRow1:tag('th'):attr('rowspan', 2)
     headerRow1:tag('th'):attr('rowspan', 2)
     :wikitext('XP')
     :wikitext('XP')
Line 1,218: Line 1,220:
                 :wikitext(cons.level)
                 :wikitext(cons.level)
                 :css('text-align', 'center')
                 :css('text-align', 'center')
            row:tag('td'):css('text-align', 'center')
                    :attr('data-sort-value', Icons.getExpansionID(product.id)) 
                :wikitext(Icons.getDLCColumnIcon(product.id)) 
                 row:tag('td'):attr('rowspan', maxRows)
                 row:tag('td'):attr('rowspan', maxRows)
                     :wikitext(cons.baseExperience)
                     :wikitext(cons.baseExperience)
2,875

edits