<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FAnimate%2Fdoc</id>
	<title>Template:MC/Animate/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FAnimate%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Animate/doc&amp;action=history"/>
	<updated>2026-04-10T10:47:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/Animate/doc&amp;diff=42312&amp;oldid=prev</id>
		<title>imported&gt;RedX at 19:39, 8 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Animate/doc&amp;diff=42312&amp;oldid=prev"/>
		<updated>2025-11-08T19:39:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation header}}&lt;br /&gt;
{{lua}}&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 476px&amp;quot;&amp;gt;&lt;br /&gt;
{{animate&lt;br /&gt;
| 1=Semi-colon separated list of images&lt;br /&gt;
| 2=The size of the images in px&lt;br /&gt;
| link=Custom link when the user clicks the image&lt;br /&gt;
| class=Custom class for styling&lt;br /&gt;
| s=Which Sprite template to use&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{p|s}} is used to specify a sprite template.&lt;br /&gt;
* If it is not specified, actual image links must be used in {{p|1}}.&lt;br /&gt;
* If it is specified, sprite ids must be used instead.&lt;br /&gt;
* For example, {{p|s|Item}} means that the {{t|ItemSprite}} template will be used.&lt;br /&gt;
* Also, you need to make sure {{p|size}} does not end with &amp;quot;px&amp;quot; if you are using a sprite template.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 446px&amp;quot;&amp;gt;{{animate|Dirt.png;Grass Block.png|100px}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{animate|Dirt.png;Grass Block.png|100px}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 446px&amp;quot;&amp;gt;{{animate|Stone.png;Diamond Ore.png|100px}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{animate|Stone.png;Diamond Ore.png|100px}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;max-width: 446px&amp;quot;&amp;gt;{{animate|s=Item|Copper Helmet;Iron Helmet;Gold Helmet|40}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{animate|s=Item|Copper Helmet;Iron Helmet;Golden Helmet|40}}&lt;br /&gt;
&lt;br /&gt;
See {{tl|Infobox block}} for a real world use for this template.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Image templates]]&lt;br /&gt;
[[Category:JavaScript-based templates]]&lt;br /&gt;
&lt;br /&gt;
[[de:Vorlage:Animation]]&lt;br /&gt;
[[es:Plantilla:Animación]]&lt;br /&gt;
[[ja:テンプレート:Animate]]&lt;br /&gt;
[[ko:틀:Animate]]&lt;br /&gt;
[[nl:Sjabloon:Animate]]&lt;br /&gt;
[[pt:Predefinição:Animate]]&lt;br /&gt;
[[ru:Шаблон:Анимация]]&lt;br /&gt;
[[uk:Шаблон:Анімація]]&lt;br /&gt;
[[zh:Template:Animate]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
[[de:Vorlage:Animation/Dokumentation]]&lt;br /&gt;
[[es:Plantilla:Animación/doc]]&lt;br /&gt;
[[ja:テンプレート:Animate/doc]]&lt;br /&gt;
[[ko:틀:Animate/doc]]&lt;br /&gt;
[[nl:Sjabloon:Animate/doc]]&lt;br /&gt;
[[pt:Predefinição:Animate/doc]]&lt;br /&gt;
[[ru:Шаблон:Анимация/док]]&lt;br /&gt;
[[uk:Шаблон:Анімація/док]]&lt;br /&gt;
[[zh:Template:Animate/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;RedX</name></author>
	</entry>
</feed>