Editing Module:CarpenterList
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 87: | Line 87: | ||
local out = mw.html.create('table') |
local out = mw.html.create('table') |
||
:addClass('wikitable sortable') |
:addClass('wikitable sortable') |
||
⚫ | |||
:wikitext('This list is updated dynamically. '..purge()) |
|||
⚫ | |||
:tag('tr') |
:tag('tr') |
||
:tag('th') |
:tag('th') |
||
Line 146: | Line 143: | ||
-- materials |
-- materials |
||
:IF(item.type=='recipe') |
|||
⚫ | |||
:node(plist. |
:node(plist.one_column_image_text(item.materials)) |
||
:node(plist.currency_cell(item. |
:node(plist.currency_cell(item.buyPrice)) |
||
⚫ | |||
:ELSE() |
|||
⚫ | |||
:addClass('table-na') |
|||
:css{ ['text-align'] = 'center' } |
|||
:attr{ colspan = '21' } |
|||
:wikitext('N/A') |
|||
⚫ | |||
: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)) |
||