Module:AnimateSprite: Revision history

From TibiaCraft
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

4 October 2025

  • curprev 18:5518:55, 4 October 2025 Root talk contribs 734 bytes +734 Created page with "local p = {} function p.animate( f ) local args = f if f == mw.getCurrentFrame() then args = f:getParent().args end local icons = {} local sprite = require( 'Module:SpriteFile' ).sprite local name = args.name or 'InvSprite' local function image( icon ) args.name = name args[1] = icon args.size = args.size or 32 args.align = args.align or 'middle' args.keepcase = true return sprite(args) or '' end for icon in mw.text.gsplit( args[1], '%s*;%s*..."