Module:MinerPassiveList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(add column for the profit from selling the items)
m (spacing around product image, and quantity number)
Line 95: Line 95:
:done()
:done()
:tag('th')
:tag('th')
:attr{ colspan = '2' }
:attr{ colspan = '3' }
:wikitext('Product')
:wikitext('Product')
:done()
:done()
Line 136: Line 136:
:addClass('plinkt-link no-border')
:addClass('plinkt-link no-border')
:attr{ ['data-sort-value'] = item.name }
:attr{ ['data-sort-value'] = item.name }
:wikitext('[[' .. item.Image .. '|link=' .. item.name .. '|30x30px]]')
:wikitext(' [[' .. item.Image .. '|link=' .. item.name .. '|30x30px]]')
:done()
:done()
:tag('td')
:tag('td')
Line 144: Line 144:
-- products (coins or items)
-- products (coins or items)
:tag('td')
:css{ ['border-right'] = '0', ['text-align'] = 'right' }
:attr{ ['data-sort-value'] = item.name }
:wikitext('0.005 × ')
:done()
:tag('td')
:tag('td')
:css{ ['border-right'] = '0', ['text-align'] = 'center' }
:css{ ['border-right'] = '0', ['text-align'] = 'center' }