Module:AlchemistList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (does not need to check activities)
m (remove display option for non-recipes that doesnt apply to alchemist active table)
Line 128: Line 128:
-- materials
-- materials
:node(plist.one_column_image_text(item.materials))
:IF(item.type=='recipe')
:node(plist.one_column_image_text(item.materials))
:node(plist.currency_cell(item.buyPrice))
:node(plist.currency_cell(item.buyPrice))
:node(plist.currency_cell(item.sellPrice))
:node(plist.currency_cell(item.sellPrice))
:ELSE()
:tag('td')
:addClass('table-na')
:css{ ['text-align'] = 'center' }
:attr{ colspan = '21' }
:wikitext('N/A')
:done()
:END()
:node(plist.currency_cell(item.profit))
:node(plist.currency_cell(item.profit))
:node(plist.currency_cell(item.profitPerHour))
:node(plist.currency_cell(item.profitPerHour))