Module:Products: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Rewrite to use Property:Recipe JSON and mw.html; show quantity of output)
(Reduce padding before image of product)
Line 91: Line 91:
:tag('td')
:tag('td')
:addClass('plinkt-image no-border')
:addClass('plinkt-image no-border')
:css{ ['border-left'] = '0' }
:css{ ['border-left'] = '0', ['padding-left'] = '0' }
:wikitext('[[File:' .. recipe.output[1].name .. '.png|30px]]')
:wikitext('[[File:' .. recipe.output[1].name .. '.png|30px]]')
:done()
:done()