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) |
Californ1a (talk | contribs) 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
local p = {}
Line 42:
item.profit = item.coins and tonumber(item.coins)
else
item.profit = item.sellPrice
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,
:END()
|