Editing Module:WoodcutterPassiveList
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
local lang = mw.getContentLanguage() |
local lang = mw.getContentLanguage() |
||
local plist = require('Module:ProfessionList') |
local plist = require('Module:ProfessionList') |
||
local |
local rts = require('Module:RecipeTreeSearch') |
||
local p = {} |
local p = {} |
||
Line 42: | Line 42: | ||
item.profit = item.coins and tonumber(item.coins) |
item.profit = item.coins and tonumber(item.coins) |
||
else |
else |
||
item.profit = item.sellPrice |
item.profit = item.sellPrice*0.005 |
||
end |
end |
||
Line 66: | Line 66: | ||
local out = mw.html.create('table') |
local out = mw.html.create('table') |
||
:addClass('wikitable sortable') |
:addClass('wikitable sortable') |
||
:tag('caption') |
|||
:wikitext('This list is updated dynamically. '..purge()) |
|||
:done() |
|||
:tag('tr') |
:tag('tr') |
||
:tag('th') |
:tag('th') |
||
Line 134: | Line 131: | ||
:done() |
:done() |
||
:ELSE() |
:ELSE() |
||
:node(plist.three_column_image_text(item.product, |
:node(plist.three_column_image_text(item.product,0.005,'File:'..item.product..'.png',item.product,item.product)) |
||
:END() |
:END() |
||