Actions

Template

Difference between revisions of "Animate"

From Sonic Retro

Line 8: Line 8:
 
{{#fornumargs: a
 
{{#fornumargs: a
 
| frame
 
| frame
| <div style="animation-name:animate{{#var:framecount}}; animation-duration:{{#var:delay}}s; animation-iteration-count:infinite; animation-delay:{{#expr:({{#var:a}}-1)*{{#var:delay}}*(1/{{#var:framecount}})}}s; display:inline-block; width:0px; over<!-- -->flow:hidden; border:0px solid blue; margin-bottom:-6px;">{{#var:frame}}</div>
+
| <div style="animation-name:animate{{#var:framecount}}; animation-duration:{{#var:delay}}s; animation-iteration-count:infinite; animation-delay:{{#expr:({{#var:a}}-1)*{{#var:delay}}*(1/{{#var:framecount}})}}s; display:inline-block; width:0px; over<!-- -->flow:hidden; border:0px solid blue;">{{#var:frame}}</div>
 
}}</div></includeonly><noinclude>
 
}}</div></includeonly><noinclude>
 
{{animate|this|is|animated|delay=0.5}}
 
{{animate|this|is|animated|delay=0.5}}
 
[[Category:Sonic Retro templates]]
 
[[Category:Sonic Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:23, 22 April 2018

this
is
animated
this
is
animated