Module:Sprite: Difference between revisions

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

Navigation menu