Template:Animate/doc

From Alex's Caves Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua.svg
This template uses Module:Animate, a script written in Lua.

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

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

Example

{{animate|Uranium.png;Cave Table.png|100px}}

Uranium.pngCave Table.png

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