Module:AnimateSprite: Difference between revisions
m 1 revision imported: Bunch of templates and modules for testing crafting UI |
make it so ALL args from AnimateSprite carry over to SpriteFile; this means text and link work |
||
Line 12: | Line 12: | ||
local function image( icon ) | 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 | end | ||