Difference between revisions of "Template:Animated"

From Minetest Wiki
Jump to navigation Jump to search
(Moved doc to /doc subpage)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#invoke:Animated|images}}</includeonly><noinclude>
<div class="animated" style="{{#if: {{{width|}}} | width: {{{width}};|}} {{#if: {{{height|}}} | height: {{{height}}};|}} {{#if: {{{background|}}} | background-color: {{{background}}};|}} {{#if: {{{border|}}} | border: {{{border}}};|}} {{#if: {{{padding|}}} | padding: {{{padding}}};|}}">
+
{{Documentation}}
{{#if: {{#explode: {{{1|}}} | , | 0 }} | [[File:{{#explode: {{{1|}}} | , | 0 }}]] |}}<!--
+
<!-- Categories go on the /doc subpage -->
-->{{#if: {{#explode: {{{1|}}} | , | 1 }} | [[File:{{#explode: {{{1|}}} | , | 1 }}]] |}}<!--
 
-->{{#if: {{#explode: {{{1|}}} | , | 2 }} | [[File:{{#explode: {{{1|}}} | , | 2 }}]] |}}<!--
 
-->{{#if: {{#explode: {{{1|}}} | , | 3 }} | [[File:{{#explode: {{{1|}}} | , | 3 }}]] |}}<!--
 
-->{{#if: {{#explode: {{{1|}}} | , | 4 }} | [[File:{{#explode: {{{1|}}} | , | 4 }}]] |}}<!--
 
-->{{#if: {{#explode: {{{1|}}} | , | 5 }} | [[File:{{#explode: {{{1|}}} | , | 5 }}]] |}}<!--
 
-->{{#if: {{#explode: {{{1|}}} | , | 6 }} | [[File:{{#explode: {{{1|}}} | , | 6 }}]] |}}<!--
 
-->{{#if: {{#explode: {{{1|}}} | , | 7 }} | [[File:{{#explode: {{{1|}}} | , | 7 }}]] |}}
 
</div>
 
</includeonly>
 
<noinclude>
 
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 06:19, 10 May 2017

Documentation icon.png Documentation[view] [edit] [history] [purge]
Languages Language: English
Lua logo.png This template uses Module:Animated, a script written in Lua.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.

Example

{{Animated|Tree.png, Jungletree.png, Pine Tree.png|64px|background=#888|border=1px solid #333}}
Tree.png
Jungle Tree.png
Pine Tree.png