Module:Sprite: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 40: Line 40:
top = tostring((offsetY - cellHeight * row) * ratio) .. 'px',
top = tostring((offsetY - cellHeight * row) * ratio) .. 'px',
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
})
:tag('a')
:attr({
href = "https://example.com"
})
})
:tag('img')
:tag('img')
:attr({
:attr({
class = imageClass,
class = imageClass,
src = imagePath
src = "https://wiki.rhythm.cafe/w/images/c/c7/IanSpriteS.png"
})
})
:allDone()
:allDone()

Navigation menu