Module:StonemasonPassiveList: Difference between revisions

No need to hide broken image file links. Should encourage people to upload them.
(remove dependency on Module:Infobox Recipe, as it does not need the recursive recipe finding subroutine)
(No need to hide broken image file links. Should encourage people to upload them.)
 
(4 intermediate revisions by 2 users not shown)
Line 3:
local param = require( 'Module:Paramtest' )
local currency = require('Module:Currency')
local discount = require('Module:MerchantHideDiscount')
local lang = mw.getContentLanguage()
 
Line 190 ⟶ 189:
:tag('td')
:addClass('plinkt-image no-border')
:css{ ['border-left'] = '0', ['padding-left'] = '0' }
:wikitext('[[File:' .. item.name .. '.png|link=' .. item.name .. '|30px]]')
:done()
Line 203 ⟶ 202:
for i, _ in ipairs(item.materials) do
materialCell:wikitext(item.materials[i].quantity .. '&times; [[File:' .. item.materials[i].name .. '.png|30px30x30px|link=' .. item.materials[i].name .. ']]' .. '[[' .. item.materials[i].name .. ']]<br>')
end