Ouvrir le menu principal

Modifications

Modèle:Animate/doc

1 121 octets ajoutés, 28 avril 2019 à 07:39
m
{{Documentation header}}
{{lua}}
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.

== Usage ==
<pre style="max-width: 476px">
{{animate
| Semi-colon separated list of images
| The size of the images in px
}}
</pre>

== Example ==
<pre style="max-width: 446px">{{animate|Dirt.png;Grass Block.png|100px}}</pre>
{{animate|Dirt.png;Grass Block.png|100px}}

<pre style="max-width: 446px">{{animate|Stone.png;Diamond Ore.png|100px}}</pre>
{{animate|Stone.png;Diamond Ore.png|100px}}

See [[Template:Block]] for a real world use for this template.

<includeonly>
<!-- Template categories/interwiki here -->
[[Category:Image templates]]

[[de:Vorlage:Animation]]
[[es:Plantilla:Animación]]
[[ko:틀:Animate]]
[[nl:Sjabloon:Animate]]
[[ru:Шаблон:Анимация]]
</includeonly>
<noinclude>
<!-- Documentation categories/interwiki here -->
[[de:Vorlage:Animation/Dokumentation]]
[[es:Plantilla:Animación/doc]]
[[ko:틀:Animate/doc]]
[[nl:Sjabloon:Animate/doc]]
[[ru:Шаблон:Анимация/док]]
</noinclude>
Utilisateur anonyme