Template:Animate

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation
Lua logo.svg
This template uses Module:Animate, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.

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.

Usage[edit]

{{animate
| Semi-colon separated list of images
| The size of the images in px
}}

Example[edit]

{{animate|Dirt.png;Grass Block.png|100px}}

Dirt JE2 BE1.pngGrass Block Revision 6.png

{{animate|Stone.png;Diamond Ore.png|100px}}

Stone JE4 BE2.pngDiamond Ore JE3 BE3.png

See Template:Block for a real world use for this template.

[view | edit | history | purge]The above documentation is transcluded from Template:Animate/doc.