Template:Animate/doc

From Caves of Qud Wiki
< Template:Animate
Revision as of 14:02, 23 May 2019 by imported>Kittymmeow
Jump to navigation Jump to search
Template-info.png Documentation

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.

Uses Module:Animate

Adapted from Minecraft Wiki.

Usage

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

Example

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

Dirt.pngFile:Grass Block.png

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

File:Stone.pngFile:Diamond Ore.png