Module:Sprite: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 32: Line 32:
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
})
})
:wikitext(string.format('[[%s|500px]]', image))
:wikitext(string.format('[[%s|%dpx]]', image, sheetWidth * ratio))
:done()
:done()
return tostring(span)
return tostring(span)