Jump to: navigation, search

Template:Animate

Revision as of 21:17, 26 December 2013 by MrTJP (talk | contribs) (Created page with "<includeonly><span class="animated" data-imgs="{{{1}}}" {{#if: {{{2|}}} | data-img-size="{{{2}}}" }}><span class="active">File:{{#explode: {{{1}}} | ; }}{{#if: {{{2|}}} | {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation
Lua logo.svg
This template uses Module:Animate, a script written in the Lua programming language. Please see wp:Lua and mw:Extension:Scribunto to learn more about 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|Dirt.png;Grass.png|100px}}

Dirt.png


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



Cookies help us deliver our services. By using our services, you agree to our use of cookies.