Actions

Template

Difference between revisions of "Animate"

From Sonic Retro

 
(One intermediate revision by one other user not shown)
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:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:19, 1 January 2022

this
is
animated
this
is
animated