Difference between revisions of "Animate"
From Sonic Retro
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
|||
(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 | + | | <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: | + | [[Category:Templates]] |
</noinclude> | </noinclude> |