This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg
This template uses Module:AnimateSprite, a script written in Lua.

Used for animating sprites.

Usage

Use |name= to specify the sprite name prefix, it defaults to InvSprite.

Example

{{AnimateSprite|name=BlockSprite|size=16|align=text-top|stone; cobblestone; granite; diorite; andesite}} BlockSprite stone.png: Sprite image for stone in MinecraftBlockSprite cobblestone.png: Sprite image for cobblestone in MinecraftBlockSprite granite.png: Sprite image for granite in MinecraftBlockSprite diorite.png: Sprite image for diorite in MinecraftBlockSprite andesite.png: Sprite image for andesite in Minecraft

{{AnimateSprite|name=InvSprite|White Dye; Orange Dye; Magenta Dye; Light Blue Dye; Dandelion Yellow; Lime Dye; Pink Dye; Gray Dye; Light Gray Dye; Cyan Dye; Purple Dye; Blue Dye; Brown Dye; Cactus Green; Rose Red; Black Dye}} Invicon White Dye.png: Sprite image for White Dye in MinecraftInvicon Orange Dye.png: Sprite image for Orange Dye in MinecraftInvicon Magenta Dye.png: Sprite image for Magenta Dye in MinecraftInvicon Light Blue Dye.png: Sprite image for Light Blue Dye in MinecraftFile:Invicon Dandelion Yellow.pngInvicon Lime Dye.png: Sprite image for Lime Dye in MinecraftInvicon Pink Dye.png: Sprite image for Pink Dye in MinecraftInvicon Gray Dye.png: Sprite image for Gray Dye in MinecraftInvicon Light Gray Dye.png: Sprite image for Light Gray Dye in MinecraftInvicon Cyan Dye.png: Sprite image for Cyan Dye in MinecraftInvicon Purple Dye.png: Sprite image for Purple Dye in MinecraftInvicon Blue Dye.png: Sprite image for Blue Dye in MinecraftInvicon Brown Dye.png: Sprite image for Brown Dye in MinecraftFile:Invicon Cactus Green.pngFile:Invicon Rose Red.pngInvicon Black Dye.png: Sprite image for Black Dye in Minecraft


zh:Template:AnimateSprite/doc