Difference between revisions of "Template:Animated"

From Luanti Wiki
Jump to navigation Jump to search
(Replaced parser switch with module invocation)
m (Added Lua notice and added "Example" section title)
Line 1: Line 1:
 
<includeonly>{{#invoke:Animated|images}}</includeonly><noinclude>
 
<includeonly>{{#invoke:Animated|images}}</includeonly><noinclude>
 +
{{Lua|Animated}}
 +
== Example ==
 
<pre>{{Animated|Tree.png, Jungletree.png, Pine Tree.png|64px|background=#888|border=1px solid #333}}</pre>
 
<pre>{{Animated|Tree.png, Jungletree.png, Pine Tree.png|64px|background=#888|border=1px solid #333}}</pre>
 
{{Animated|Tree.png, Jungletree.png, Pine Tree.png|64px|background=#888|border=1px solid #333}}
 
{{Animated|Tree.png, Jungletree.png, Pine Tree.png|64px|background=#888|border=1px solid #333}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 07:49, 6 May 2017

Lua logo.png This template uses Module:Animated, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.

Example

{{Animated|Tree.png, Jungletree.png, Pine Tree.png|64px|background=#888|border=1px solid #333}}
Tree.png
Jungle Tree.png
Pine Tree.png