Module:WoodcutterPassiveList: Difference between revisions

m
add purge link
(offload much of the search, screen, and format functions to the new ProfessionList module, so they work the same for all tables)
m (add purge link)
 
(2 intermediate revisions by one other user not shown)
Line 3:
local lang = mw.getContentLanguage()
local plist = require('Module:ProfessionList')
local rtspurge = require('Module:RecipeTreeSearchPurge')._purge
 
local p = {}
Line 42:
item.profit = item.coins and tonumber(item.coins)
else
item.profit = item.sellPrice*0.005
end
 
Line 66:
local out = mw.html.create('table')
:addClass('wikitable sortable')
:tag('caption')
:wikitext('This list is updated dynamically. '..purge())
:done()
:tag('tr')
:tag('th')
Line 131 ⟶ 134:
:done()
:ELSE()
:node(plist.three_column_image_text(item.product,0item.005output[1].quantity,'File:'..item.product..'.png',item.product,item.product))
:END()
7,248

edits