Anonymous

Module:Pets: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 240: Line 240:
         :tag('th'):attr('colspan', '2')
         :tag('th'):attr('colspan', '2')
           :wikitext('Pet')
           :wikitext('Pet')
       
        :tag('th'):wikitext('[[DLC]]')
         :tag('th'):wikitext('Acquired From')
         :tag('th'):wikitext('Acquired From')
         :tag('th'):wikitext('Effect')
         :tag('th'):wikitext('Effect')
Line 248: Line 250:
                   :attr('data-sort-value', thisPet.name)
                   :attr('data-sort-value', thisPet.name)
                       :wikitext(Icons.Icon({thisPet.name, type='pet', notext=true}))
                       :wikitext(Icons.Icon({thisPet.name, type='pet', notext=true}))
             :tag('td'):wikitext(Icons.getExpansionIcon(thisPet.id) .. Icons.Icon({thisPet.name, type='pet', noicon=true}))
                      :css('text-align', 'center')
             :tag('td'):wikitext('[[' .. thisPet.name .. ']]')
            :tag('td'):wikitext(Icons.getDLCColumnIcon(thisPet.id))
              :css('text-align', 'center')
              :attr('data-sort-value', Icons.getExpansionID(thisPet.id))
             :tag('td'):wikitext(p._getPetSourceText(thisPet))
             :tag('td'):wikitext(p._getPetSourceText(thisPet))
             :tag('td'):wikitext(p._getPetEffect(thisPet))
             :tag('td'):wikitext(p._getPetEffect(thisPet))
2,875

edits