Editing Module:StonemasonPassiveList
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 param = require( 'Module:Paramtest' ) |
local param = require( 'Module:Paramtest' ) |
||
local currency = require('Module:Currency') |
local currency = require('Module:Currency') |
||
local discount = require('Module:MerchantHideDiscount') |
|||
local lang = mw.getContentLanguage() |
local lang = mw.getContentLanguage() |
||
Line 189: | Line 190: | ||
:tag('td') |
:tag('td') |
||
:addClass('plinkt-image no-border') |
:addClass('plinkt-image no-border') |
||
:css{ ['border-left'] = '0', ['padding-left'] = '0' } |
:css{ ['border-left'] = '0', ['padding-left'] = '0' } |
||
:wikitext('[[File:' .. item.name .. '.png|link=' .. item.name .. '|30px]]') |
:wikitext('[[File:' .. item.name .. '.png|link=' .. item.name .. '|30px]]') |
||
:done() |
:done() |
||
Line 202: | Line 203: | ||
for i, _ in ipairs(item.materials) do |
for i, _ in ipairs(item.materials) do |
||
materialCell:wikitext(item.materials[i].quantity .. '× [[File:' .. item.materials[i].name .. '.png| |
materialCell:wikitext(item.materials[i].quantity .. '× [[File:' .. item.materials[i].name .. '.png|30px|link=' .. item.materials[i].name .. ']]' .. '[[' .. item.materials[i].name .. ']]<br>') |
||
end |
end |
||