Module:FisherList: Difference between revisions

294 bytes removed ,  20 December 2024
m
remove vestigal reference to "hideCells" which is not needed for fisher
(downtime calculations, display tool)
m (remove vestigal reference to "hideCells" which is not needed for fisher)
Line 144:
 
-- resource
:IF(item.hideCellscoop)
:node(plist.two_column_image_text(item.product,'File:' .. item.product .. '.png',item.product .. ' (co-op)',item.product))
:ELSE()
:node(plist.two_column_image_text(item.product,'File:' .. item.product .. '.png',item.product,item.product))
:END()
-- resource/hr
:IF(item.productPerHour)
:tag('td')
:wikitext(item.productPerHour and math.floor(tonumber(item.productPerHour)*10)/10)
:addClass('table-na')
:attr{ colspan = '23' }
:wikitext('N/A')
:done()
:ELSE()
:IFnode(plist.unknown_value_edit_cell(item.cooppageName,1))
:node(plist.two_column_image_text(item.product,'File:' .. item.product .. '.png',item.product .. ' (co-op)',item.product))
:ELSE()
:node(plist.two_column_image_text(item.product,'File:' .. item.product .. '.png',item.product,item.product))
:END()
 
-- resource/hr
:IF(item.productPerHour)
:tag('td')
:wikitext(item.productPerHour and math.floor(tonumber(item.productPerHour)*10)/10)
:done()
:ELSE()
:node(plist.unknown_value_edit_cell(item.pageName,1))
:END()
-- economics
:node(plist.currency_cell(item.profit))
:node(plist.currency_cell(item.profitPerHour))
:END()
-- economics
:node(plist.currency_cell(item.profit))
:node(plist.currency_cell(item.profitPerHour))
 
-- XP
Line 191 ⟶ 182:
-- XP per hour
:IF(item.hideCellsxpPerHourDropping)
:tag('td')
:wikitext(item.xpPerHourDropping and lang:formatNum(tonumber(item.xpPerHourDropping)))
:addClass('table-na')
:wikitext('N/A')
:done()
:ELSE()
:IFnode(itemplist.xpPerHourDroppingunknown_value_cell(1))
:tag('td')
:wikitext(item.xpPerHourDropping and lang:formatNum(tonumber(item.xpPerHourDropping)))
:done()
:ELSE()
:node(plist.unknown_value_cell(1))
:END()
:END()
 
21,774

edits