![]() |
VOOZH | about |
This template parses a semi-colon (;) separated list of images and places them in the correct format for them to be animated by the JS element animator.
{{animate
| 1=Semi-colon separated list of images
| 2=The size of the images in px
| link=Custom link when the user clicks the image
| class=Custom class for styling
| s=Which Sprite template to use
}}
|s= is used to specify a sprite template.
|1=.|s=Item means that the {{ItemSprite}} template will be used.|size= does not end with "px" if you are using a sprite template.{{animate|Dirt.png;Grass Block.png|100px}}
{{animate|Stone.png;Diamond Ore.png|100px}}
{{animate|s=Item|Copper Helmet;Iron Helmet;Gold Helmet|40}}
👁 ItemSprite copper-helmet.png: Sprite image for copper-helmet in Minecraft
👁 ItemSprite iron-helmet.png: Sprite image for iron-helmet in Minecraft
👁 ItemSprite golden-helmet.png: Sprite image for golden-helmet in Minecraft
See {{Infobox block}} for a real world use for this template.