Template:Animate/doc: Difference between revisions
m (1 revision) |
CraftSpider (talk | contribs) (removed translation links) |
||
Line 19: | Line 19: | ||
See [[Template:Block]] for a real world use for this template. | See [[Template:Block]] for a real world use for this template. | ||
{{doc/end}} | {{doc/end}} | ||
Latest revision as of 03:56, 12 May 2017
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}}
See Template:Block for a real world use for this template.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.