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 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 .. '× [[File:' .. item.materials[i].name .. '.png|
end
|