Anonymous user
Module:Sprite: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
Line 17: | Line 17: | ||
} | } | ||
local sprite = mw.html.create( 'span' ):addClass( 'sprite' ) | |||
sprite:addClass( 'pixelated' ) | |||
sprite:cssText( 'transform: scale(' .. default.scale .. '); background-image: url(https://static.miraheze.org/btawiki/1/14/BTA_items.png)' ) | |||
return tostring( sprite ) | |||
end | end | ||
return p | return p |